Hi,

What i can propose here is not to disable any options of ./configure
since there would be possibilities of unexpected behaviors.

 ./configure --disable-something
   will set or unset some environment variables defined in LinuxX86Env.Set.sh

 'dmake' or 'build' will work depending on the values of the environment
 variables.

 'solenv/bin/make_installer.pl' would work depending on the value of
 the same environment variables as expected or would ignore the values.


I mean that there is possibility that the following situation might happen:

 One or more options you specified by --disable-something suppressed
 creation of ScriptFramework.jar, but make_installer.pl does not take
 care of the options and expected the existence of ScriptFramework.jar
 but it was not created. Consequently, build process resulted in failure.


Hung Nguyen Vu wrote:
> What should I do now?

If you want to make all options work as expected, you can investigate
your results more deeply and propose some patches for the Tools project.

If you want to just build OOo, try not to disable any options of
./configure, including Java and install somewhat old versions of tools
and use them. Those would be the simplest way to successfully go through
the build process, I think.

For example, some modules will be built with a tool Ant. Ant requires Java.
Hence, a process of building OOo definitely requires Java.

 --with-jdk-home=/usr/local/jdk1.6.0_07 and  --without-java seems to be
abnormal but I hope it is fine(?).

That seems not to make sense. But I am not sure about that since I have
no experience in disabling Java.

Some old versions of Ant does not work with the latest version of Java, 1.6.
For instance, /usr/bin/ant "Apache Ant version 1.6.2" embedded in Fedora
Core 4 does not work with /usr/java/jdk1.6.0_03 from java.com.
It unfortunately stops with the following error message:

 Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/ant/launch/Launcher

It, however, works fine with both /usr/java/j2sdk1.4.1_03 from java.com
and /usr/bin/java embedded in Fedora Core 4.

$ /usr/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.0 20050519 (Red Hat 4.0.0-8)

Therefore, using the latest tools might brings you some difficulties.


One more question:

My configure output contains a warning:

checking for xrandr >= 1.2... checking X11/extensions/Xrandr.h usability...
no
checking X11/extensions/Xrandr.h presence... yes
configure: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xrandr.h:     check for missing
prerequisite headers?
configure: WARNING: X11/extensions/Xrandr.h: see the Autoconf documentation
configure: WARNING: X11/extensions/Xrandr.h:     section "Present But Cannot
Be Compiled"
configure: WARNING: X11/extensions/Xrandr.h: proceeding with the
preprocessor's result
configure: WARNING: X11/extensions/Xrandr.h: in the future, the compiler
will take precedence

Is that safe to ignore?

I am sorry, i have no information on that.

caio,
Tora


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to