Hung Nguyen Vu wrote:
> ERROR: The following files could not be found:
> ERROR: File not found: ScriptFramework.jar
> cd DEV300_m29; find . -name ScriptFramework.jar gives me nothing.
To find the module from which a missing file should come,
1. Build OpenOffice.org completely.
2. Look for a name of the missing file from log files.
e.g.
grep ScriptFramework.jar $SOLARVER/$INPATH/inc/*/deliver.log
In my case, the commend above prints:
/xxxxx/solver/300/unxsoli4.pro/inc/scripting/deliver.log:COPY
scripting/unxsoli4.pro/class/ScriptFramework.jar
unxsoli4.pro/bin/ScriptFramework.jar
So, in your case, building a module 'scripting' failed and/or
'deliver' command has not been executed in the module yet,
or the module has not been built at all.
I hope that helps...
Here is what I did
[EMAIL PROTECTED] DEV300_m29]$ uname -a
Linux aoclife.ddo.jp 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:01:45 EST 2008
i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] DEV300_m29]$ LANG=en_US g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
I don't know whether gcc 4.1.2 works fine for building current OOo.
export JAVA_HOME=/usr/local/jdk1.6.0_07/
export PATH=$PATH:/usr/local/jdk1.6.0_07/bin
export CLASSPATH=$CLASSPATH:/usr/local/junit4.5/junit-4.5.jar
export ANT_HOME=/usr/local/ant
export PATH=$PATH:$ANT_HOME/bin
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/
export CCACHE_DIR="/tmp/DEV300_m29.ccache"
ccache -M 2G -F 100000
export CC="ccache gcc"
export CXX="ccache g++"
I don't know whether ccache works fine for building current OOo.
The command 'dmake' works depending on its own dependency files.
export CXXFLAGS="-Werror"
export CFLAGS="-Werror -fvisibility=hidden"
./configure --prefix=$HOME \
--disable-cups \
--disable-pam \
--with-jdk-home=/usr/local/jdk1.6.0_07/ \
--disable-mozilla \
--disable-qadevooo \
--without-system-stdlibs \
--disable-odk \
--with-use-shell=bash \
--with-vendor="Vietnamese Localization Build" \
--disable-vba \
--with-use-shell=bash \
--with-ant-home=/usr/local/ant/ \
--without-java \
Looks too complicated. I cannot make any comments on that...
source LinuxX86Env.Set.sh <http://linuxx86env.set.sh/>
export SOLENV=`pwd`/solenv/
./solenv/unxlngi6/bin/dmake
Why do you need to explicitly specify the path to dmake instead of
simply type dmake? A PATH environment variable should be set properly
by LinuxX86Env.Set.sh and should help your command shell find dmake.
Try type the following to check your environment:
which dmake
If your command shell answers another dmake, something goes wrongly.
Additionally, in the next time, try to log everything:
e.g.
dmake 2>&1 | tee dmake_`date +%Y%m%d_%H%M`.log
And then look for outputs beginning with a line "Building project scripting"
in the log file.
caio,
Tora
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]