Could you try "dmake -v" to find out what command dmake had invoked and got the error code 155?
Nguyen Vu Hung wrote:
~/bin/dmake -> version 4.11
I am afraid, but your "dmake" seems not to be the one that we intend. See http://tools.openoffice.org/dmake/dmake_4.11.html -v option is "Verbose" option, not "print Version" option. Now I understand why your log file did not include any "stderr" messages produced by build.pl --checkmodules . So, be careful to set PATH environment variable. Our expecting "dmake" should be $SRC_ROOT/solenv/$OUTPATH/bin/dmake Before you run ./configure , carefully preset PATH environment variable. Normally, it should include system paths and not include any directory in the build environment or such a directory ~/bin. It implies that vh-config.5.sh should not be run twice in the same terminal emulator. In the first time, it is okey, but in the second time the PATH environment variable has already included some directories in the build environment. Check PATH environment variable in the file http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m41/LinuxX86Env.Set.sh Be sure you should not include "." in the PATH environment variable. At least, put it at the end of path list. Do not put it in the top of path list. Inclusion of "." (meaning the current directory) is highly dangerous. If someone put a file "su" in your current directory and your execution of su (switch (to root) user) without absolute path like /bin/su, the bad man would successfully steel a password of the root user, which you would type.
Another point: How to properly install ant? # Is this correct? # cd /usr/local; tar xvjf apache-ant-1.7.1-bin.tar.bz2; # ln -s apache-ant-1.7.1 ant; export ANT_HOME=/usr/local/ant?
Sorry, I don't know well about it.
I also notice that ./configure complain about the missing of jakarta-ant but I thought jakarta-ant is too old and I only need apache-ant-1.7.1.tar.bz2...
See config.log in the same directory of ./configure and look for the word "ant" http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m41/config.log ==== configure:27649: checking for ant ... configure:27767: /usr/local/ant/bin/ant -buildfile conftest.xml 1>&2 ... [javac] Compiling 1 source file BUILD FAILED /var/www/home/ooo.src/DEV300_m41/conftest.xml:3: Error starting modern compiler ==== That should be ==== BUILD SUCCESSFUL ==== Please refer to installation instructions of ant. http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m41/vh-config.5.sh There is one suggestion: Put the following two lines in the top of the shell script #! /bin/bash set -e "set -e" tells bash to quit when any error occur, i.e. a command returns an error code but 0. I have never thought of publishing $SRC_ROOT directory to the public, but I admire that your web site is highly helpful to look into problems. Regards, Tora --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
