On 12/9/2011 1:02 AM, linyi li wrote:
When all prerequisites are fullfilled then these commands are necessary to
build OpenOffice:

cd<dir>/main
autoconf
./configure<options of your choice>
./bootstrap
source Linux<platform-id>.set.sh
cd instsetoo_native
build --all
typically if bootstrap or the env script does not exist, it is because it was not properly generated - check for errors.

In case it might help, here are the commands currently used to run the nightly build:

   svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
   cd ooo/main
wget -O external/unowinreg/unowinreg.dll http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
   autoconf
./configure --with-jdk-home=/usr/lib/jvm/java-6-sun --with-system-python --enable-verbose
   ./bootstrap
   . ./LinuxX86Env.Set.sh
   cd instsetoo_native && build --all --html

(also - if someone thinks that these are not the right commands for a 'default build', please speak up, as that is the intent of the nightly build)


Andrew



Here<dir>  is the directory where the SVN source code was checked out to.

Call ./configure --help to see what options are available for inclusion
into<options of your choice>.  --with-dmake-url= is a good candidate.

<platform-id>  depends, well, on your platform.  There should be only two
files starting with Linux.  Use the one that ends in .sh when you use bash,
use the other one for csh.


Thank you, Andre.
It is very detailed and helpful. I will check the configure result to see
the reason of failur.

Thanks to Eric too:-)


--

Andrew Rist | Interoperability Architect
OracleCorporate Architecture Group
Redwood Shores, CA | 650.506.9847

Reply via email to