I lost some of my previous entries, but below are some notes I made while going about compiling OpenOffice.org for the first time(s). In the following notes, I usually use “==” or “Tiago” or “TJ” as markers to myself. I wish I could highlight those markers, but they are there!
To see these files posted within this entry, click on the cut below:
Configuration Errors
to time stuff for builds, you can just use the time command in front of the command to see how long it took
needed to install:
tcsh
then java-1.6.0-openjdk-devel.x86_64
then gperf.x86_64 0:3.0.3-4.fc9
TCSH installed from yum
JAVA ERROR:
checking for javac... no
configure: error: javac not found set with_jdk_home
GPERF ERROR:
checking for gperf... no
configure: error: gperf not found but needed. Install it.
MINGW ERROR:
checking for external/unowinreg/unowinreg.dll... configure: WARNING: not found, will be cross-built using mingw32
configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
Specify mingw32 g++ executable name with --with-mingwin.
Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
put it into external/unowinreg
to fix this: cd into /DEV300_m39/external/unowinreg
and then wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
ERROR AROUND MOZILLA
checking which LDAP SDK to use... Netscape/Mozilla
checking which mozilla to use... internal
checking for toolkit mozilla should use... gtk2
checking whether to build Mozilla... yes
checking for mozilla-source-1.7.5.tar.gz... not found
checking for mozilla-source-1.7.5.tar.bz2... not found
configure: error: Mozilla source archive not found.
Please copy mozilla-source-1.7.5.tar.bz2 or mozilla-source-1.7.5.tar.gz to moz/download/.
The archives can be found here:
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
TIAGO: this problem could actually be resolved by using pre-built binaries or the --disable-build-mozilla configure command
check out this site: http://wiki.services.openoffice.org/wiki/Build_Software_Requirements
download into directory <$SRC_ROOT/moz/zipped>
http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIinc.zip
http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIlib.zip
http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIruntime.zip
had to rename files:
LINUXGCCIinc.zip
LINUXGCCIlib.zip
LINUXGCCIruntime.zip
**to:
LINUXGCCXinc.zip
LINUXGCCXlib.zip
LINUXGCCXruntime.zip
===CONFIGURE FINALLY PASSED:
when putting configure log into a text file, i received 2 warnings:
configure: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override
Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1079.
** i used command: ./configure --disable-build-mozilla > tiago_configure_log.txt
Fardad's logNtimecmd command script:
#!/bin/bash
echo start time: `date` >> $1time.log
echo $1 $2 $3 $4 $5 $6 $7 $8 $9>> $1time.log
$1 $2 $3 $4 $5 $6 $7 $8 $9 >> $1output.log 2>> $1output.log
echo end time: `date` >> $1time.log
my first build started around 5:14
Dmake Errors
==TJ== ERROR DURING FIRST DMAKE:
Building module rhino
/home/tmoreira/OOo/DEV300_m39/rhino
-------------
mkdir ./unxlngx6.pro/misc/build/rhino1_5R5/
mkdir: cannot create directory `./unxlngx6.pro/misc/build/rhino1_5R5/': File exists
cd ./unxlngx6.pro/misc/build/rhino1_5R5/ && /usr/bin/ant -Dbuild.label="build-300m39(Build:9378)" jar && touch /home/tmoreira/OOo/DEV300_m39/rhino/./unxlngx6.pro/misc/build/so_built_ooo_rhino
Buildfile: build.xml
properties:
init:
compile:
properties:
compile:
properties:
get-swing-ex:
compile:
[javac] Compiling 18 source files to /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/build/classes
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2540: warning: [deprecation] org.mozilla.javascript.ContextListener in org.mozilla.javascript has been deprecated
[javac] public class Main extends JFrame implements Debugger, ContextListener {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:188: warning: [deprecation] org.mozilla.javascript.ClassDefinitionException in org.mozilla.javascript has been deprecated
[javac] InvocationTargetException, ClassDefinitionException,
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:189: warning: [deprecation] org.mozilla.javascript.PropertyException in org.mozilla.javascript has been deprecated
[javac] PropertyException
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2579: warning: [deprecation] contextExited(org.mozilla.javascript.Context) in org.mozilla.javascript.ContextListener has been deprecated
[javac] public void contextExited(Context cx) {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2565: warning: [deprecation] contextEntered(org.mozilla.javascript.Context) in org.mozilla.javascript.ContextListener has been deprecated
[javac] public void contextEntered(Context cx) {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3610: cannot find symbol
[javac] symbol : method getThisObj()
[javac] location: class org.mozilla.javascript.NativeCall
[javac] result = f.call(cx, scope, call.getThisObj(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3923: warning: [deprecation] addContextListener(org.mozilla.javascript.ContextListener) in org.mozilla.javascript.Context has been deprecated
[javac] Context.addContextListener(sdb);
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1607: cannot find symbol
[javac] symbol : method getThisObj()
[javac] location: class org.mozilla.javascript.NativeCall
[javac] obj = call.getThisObj();
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1644: warning: [deprecation] disable() in javax.swing.JComponent has been deprecated
[javac] public void disable() {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1652: warning: [deprecation] enable() in javax.swing.JComponent has been deprecated
[javac] public void enable() {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2144: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg;
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2144: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg;
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2220: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg;
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2220: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg;
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2222: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] int lineNum = err.getLineNumber() ;
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:70: warning: [deprecation] org.mozilla.javascript.PropertyException in org.mozilla.javascript has been deprecated
[javac] } catch (PropertyException e) {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:286: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] if (ee.getSourceName() != null) {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:287: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] Context.reportError(msg, ee.getSourceName(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:288: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getLineNumber(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:289: warning: [deprecation] getLineSource() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getLineSource(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:290: warning: [deprecation] getColumnNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getColumnNumber());
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:404: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] if (ee.getSourceName() != null) {
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:405: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated
[javac] Context.reportError(msg, ee.getSourceName(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:406: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getLineNumber(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:407: warning: [deprecation] getLineSource() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getLineSource(),
[javac] ^
[javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:408: warning: [deprecation] getColumnNumber() in org.mozilla.javascript.EcmaError has been deprecated
[javac] ee.getColumnNumber());
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 24 warnings
BUILD FAILED
/home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/build.xml:51: The following error occurred while executing this line:
/home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/build.xml:34: Compile failed; see the compiler error output for details.
Total time: 1 second
dmake: Error code 1, while making './unxlngx6.pro/misc/build/so_built_ooo_rhino'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m39/rhino
rmdir /tmp/22488
dmake: Error code 1, while making 'build_instsetoo_native'
==TJ==
from Googling, I found this page: http://lists.go-oo.org/pipermail/dev-go-oo.org/2008-October/000903.html
it recommended I remove the symlink of rhino.jar. on our lab machines here, the file was located in: /usr/lib/jvm/java-openjdk/jre/lib
i just renamed the file as BACKUP and it ran until the next error:
==TJ == ERROR
Building module o3tl
/home/tmoreira/OOo/DEV300_m39/o3tl/qa
-------------
----------------------------------------------------------
- start unit test on library ../unxlngx6.pro/lib/libtests.so
----------------------------------------------------------
testshl2 -sf /tmp/mkVtEXrM ../unxlngx6.pro/lib/libtests.so
testshl2: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory
dmake: Error code 127, while making 'unittest'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m39/o3tl/qa
rmdir /tmp/23931
dmake: Error code 1, while making 'build_instsetoo_native'
notes from building on PC-India in CDOT
started Saturday 31 Jan 2009 past midnight
time to checkout svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m41/ was 19.8 mins
source occupies 4.1GB on disk
since this is M41, the ./configure was in the SRC_ROOT, so i ran that
=TJ= didn't find tcsh, so i yum'd it
ran: yum install tcsh.x86_64
=TJ= no CUPS
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
configure: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?
fixed by installing: yum install cups-devel.x86_64
=TJ= missing gperf
checking for gperf... no
configure: error: gperf not found but needed. Install it.
FIX: installed it: yum install gperf
=TJ= missing unowinreg.dll
checking for external/unowinreg/unowinreg.dll... configure: WARNING: not found, will be cross-built using mingw32
configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
Specify mingw32 g++ executable name with --with-mingwin.
Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
put it into external/unowinreg
FIX: download it from wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
into the OOo/DEV300_m41/external/unowinreg folder
=TJ=
checking for mozilla-source-1.7.5.tar.gz... not found
checking for mozilla-source-1.7.5.tar.bz2... not found
configure: error: Mozilla source archive not found.
Please copy mozilla-source-1.7.5.tar.bz2 or mozilla-source-1.7.5.tar.gz to moz/download/.
The archives can be found here:
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/
FIX: download one of the 2 files:
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.bz2 [29 MB]
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz [37 MB]
I chose .tar.bz2 just because it was smaller
** cd into: OOo/DEV300_m41/moz/download
** run: wget http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.bz2
=TJ= after configure completed, I ran LinuxX86-64Env.Set and also LinuxX86-64Env.Set.sh but I received a lot of errors, so i ran an instance of tcsh and re-did the >source LinuxX86-64Env.Set.sh<
=TJ= ran bootstrap and dmake was successfully built
* created screen and then ran dmake into a log file
* CMD: time dmake > KAMOTS_dmake_log.txt
COMPILE ERRORS:
dmake: Error code 127, while making './unxlngx6.pro/misc/build/so_moz_runtime_files'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/moz
dmake: Error code 1, while making 'build_instsetoo_native'
1089.267u 242.073s 22:51.74 97.0% 0+0k 23208+5166784io 89pf+0w
Fix: nothing found yet
UPDATE (2009-Feb-3): re-compiled from scratch and it skipped past this part now
=TJ=
COMPILE ERROR:
/home/tmoreira/OOo/DEV300_m41/setup_native/registry/data/org/openoffice/Office
Nothing to build
/home/tmoreira/OOo/DEV300_m41/setup_native/scripts
Making ../unxlngx6.pro/bin/langpackscript.sh
Making ../unxlngx6.pro/bin/linuxpatchscript.sh
Making ../unxlngx6.pro/bin/javaloader.sh
Making ../unxlngx6.pro/bin/register_extensions
Making ../unxlngx6.pro/bin/deregister_extensions
Making ../unxlngx6.pro/bin/unpack_update.sh
Making ../unxlngx6.pro/bin/update.sh
Making ../unxlngx6.pro/bin/downloadscript.sh
Making ../unxlngx6.pro/bin/stclient_wrapper.sh
-------------
mkdir -p ../unxlngx6.pro/misc/install/fake-db-root
rpmbuild --define "_builddir /home/tmoreira/OOo/DEV300_m41/setup_native/unxlngx6.pro/misc/install/fake-db-root" --define "_rpmdir /home/tmoreira/OOo/DEV300_m41/setup_native/unxlngx6.pro/bin" -bb fake-db.spec
rpmbuild: /home/tmoreira/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/libnss3.so: version `NSS_3.10' not found (required by /usr/lib64/librpmio-4.6.so)
dmake: Error code 1, while making '../unxlngx6.pro/bin/noarch/fake-db-1.0-0.noarch.rpm'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/setup_native/scripts
rmdir /tmp/30068
dmake: Error code 1, while making 'build_instsetoo_native'
Fix: edited the LD_LIBRARY_PATH variabled the .Set.sh shell envars.
=TJ=
COMPILE ERROR:
**************************************************
ERROR: ERROR: Unknown format: ! Expected: "a.b.c", or "a.b", or "a"
in function: determine_rpm_version
**************************************************
**************************************************
ERROR: Saved logfile: /home/tmoreira/OOo/DEV300_m41/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/logging/en-US/log_DEV300_en-US.log
**************************************************
Wed Feb 4 02:08:49 2009 (00:29 min.)
dmake: Error code 255, while making 'openoffice_en-US.rpm'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/instsetoo_native/util
rmdir /tmp/29601
dmake: Error code 1, while making 'build_instsetoo_native'
tried to re-compile but got the error below
=TJ=
/home/tmoreira/OOo/DEV300_m41/sysui/desktop/redhat
-------------
rm -f /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org-redhat-menus-*
rm: No match.
rpmbuild -bb redhat-menus.spec --define "_rpmdir /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration" --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
--buildroot /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/misc/openoffice.org-redhat-menus-3.1-9383.noarch \
--define "_builddir /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/misc/openoffice.org" \
--define "productname OpenOffice.org" \
--define "pkgprefix openoffice.org3.1" \
--define "unixfilename openoffice.org3" \
--define "iconprefix openofficeorg3" \
--define "version 3.1" \
--define "release 9383"
rpmbuild: /home/tmoreira/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/libnss3.so: version `NSS_3.10' not found (required by /usr/lib64/librpmio-4.6.so)
dmake: Error code 1, while making '/home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org-redhat-menus-3.1-9383.noarch.rpm'
ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/sysui/desktop/redhat
rmdir /tmp/14668
dmake: Error code 1, while making 'build_instsetoo_native'
tried to do the same thing with the library to set it to /usr/lib64 but it didn't work, i keep on getting the same error now
Building OpenOffice.org from Source (Notes)
I lost some of my previous entries, but below are some notes I made while going about compiling OpenOffice.org for the first time(s). In the following notes, I usually use “==” or “Tiago” or “TJ” as markers to myself. I wish I could highlight those markers, but they are there!
29-30 January 2009
4 February 2009
To see these files posted within this entry, click on the cut below:
Configuration Errors
to time stuff for builds, you can just use the time command in front of the command to see how long it took needed to install: tcsh then java-1.6.0-openjdk-devel.x86_64 then gperf.x86_64 0:3.0.3-4.fc9 TCSH installed from yum JAVA ERROR: checking for javac... no configure: error: javac not found set with_jdk_home GPERF ERROR: checking for gperf... no configure: error: gperf not found but needed. Install it. MINGW ERROR: checking for external/unowinreg/unowinreg.dll... configure: WARNING: not found, will be cross-built using mingw32 configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler. Specify mingw32 g++ executable name with --with-mingwin. Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and put it into external/unowinreg to fix this: cd into /DEV300_m39/external/unowinreg and then wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ERROR AROUND MOZILLA checking which LDAP SDK to use... Netscape/Mozilla checking which mozilla to use... internal checking for toolkit mozilla should use... gtk2 checking whether to build Mozilla... yes checking for mozilla-source-1.7.5.tar.gz... not found checking for mozilla-source-1.7.5.tar.bz2... not found configure: error: Mozilla source archive not found. Please copy mozilla-source-1.7.5.tar.bz2 or mozilla-source-1.7.5.tar.gz to moz/download/. The archives can be found here: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/ TIAGO: this problem could actually be resolved by using pre-built binaries or the --disable-build-mozilla configure command check out this site: http://wiki.services.openoffice.org/wiki/Build_Software_Requirements download into directory <$SRC_ROOT/moz/zipped> http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIinc.zip http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIlib.zip http://tools.openoffice.org/moz_prebuild/680/LINUXGCCIruntime.zip had to rename files: LINUXGCCIinc.zip LINUXGCCIlib.zip LINUXGCCIruntime.zip **to: LINUXGCCXinc.zip LINUXGCCXlib.zip LINUXGCCXruntime.zip ===CONFIGURE FINALLY PASSED: when putting configure log into a text file, i received 2 warnings: configure: WARNING: prelinked libgcc_s.so.1, enabling --with-system-stdlibs, use --without-system-stdlibs to override Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1079. ** i used command: ./configure --disable-build-mozilla > tiago_configure_log.txt Fardad's logNtimecmd command script: #!/bin/bash echo start time: `date` >> $1time.log echo $1 $2 $3 $4 $5 $6 $7 $8 $9>> $1time.log $1 $2 $3 $4 $5 $6 $7 $8 $9 >> $1output.log 2>> $1output.log echo end time: `date` >> $1time.log my first build started around 5:14Dmake Errors
==TJ== ERROR DURING FIRST DMAKE: Building module rhino /home/tmoreira/OOo/DEV300_m39/rhino ------------- mkdir ./unxlngx6.pro/misc/build/rhino1_5R5/ mkdir: cannot create directory `./unxlngx6.pro/misc/build/rhino1_5R5/': File exists cd ./unxlngx6.pro/misc/build/rhino1_5R5/ && /usr/bin/ant -Dbuild.label="build-300m39(Build:9378)" jar && touch /home/tmoreira/OOo/DEV300_m39/rhino/./unxlngx6.pro/misc/build/so_built_ooo_rhino Buildfile: build.xml properties: init: compile: properties: compile: properties: get-swing-ex: compile: [javac] Compiling 18 source files to /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/build/classes [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2540: warning: [deprecation] org.mozilla.javascript.ContextListener in org.mozilla.javascript has been deprecated [javac] public class Main extends JFrame implements Debugger, ContextListener { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:188: warning: [deprecation] org.mozilla.javascript.ClassDefinitionException in org.mozilla.javascript has been deprecated [javac] InvocationTargetException, ClassDefinitionException, [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:189: warning: [deprecation] org.mozilla.javascript.PropertyException in org.mozilla.javascript has been deprecated [javac] PropertyException [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2579: warning: [deprecation] contextExited(org.mozilla.javascript.Context) in org.mozilla.javascript.ContextListener has been deprecated [javac] public void contextExited(Context cx) { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2565: warning: [deprecation] contextEntered(org.mozilla.javascript.Context) in org.mozilla.javascript.ContextListener has been deprecated [javac] public void contextEntered(Context cx) { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3610: cannot find symbol [javac] symbol : method getThisObj() [javac] location: class org.mozilla.javascript.NativeCall [javac] result = f.call(cx, scope, call.getThisObj(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3923: warning: [deprecation] addContextListener(org.mozilla.javascript.ContextListener) in org.mozilla.javascript.Context has been deprecated [javac] Context.addContextListener(sdb); [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1607: cannot find symbol [javac] symbol : method getThisObj() [javac] location: class org.mozilla.javascript.NativeCall [javac] obj = call.getThisObj(); [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1644: warning: [deprecation] disable() in javax.swing.JComponent has been deprecated [javac] public void disable() { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1652: warning: [deprecation] enable() in javax.swing.JComponent has been deprecated [javac] public void enable() { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2144: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg; [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2144: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg; [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2220: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg; [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2220: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] msg = err.getSourceName() + ", line " + err.getLineNumber() + ": " + msg; [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:2222: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] int lineNum = err.getLineNumber() ; [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Global.java:70: warning: [deprecation] org.mozilla.javascript.PropertyException in org.mozilla.javascript has been deprecated [javac] } catch (PropertyException e) { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:286: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] if (ee.getSourceName() != null) { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:287: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] Context.reportError(msg, ee.getSourceName(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:288: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getLineNumber(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:289: warning: [deprecation] getLineSource() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getLineSource(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:290: warning: [deprecation] getColumnNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getColumnNumber()); [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:404: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] if (ee.getSourceName() != null) { [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:405: warning: [deprecation] getSourceName() in org.mozilla.javascript.EcmaError has been deprecated [javac] Context.reportError(msg, ee.getSourceName(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:406: warning: [deprecation] getLineNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getLineNumber(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:407: warning: [deprecation] getLineSource() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getLineSource(), [javac] ^ [javac] /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/Main.java:408: warning: [deprecation] getColumnNumber() in org.mozilla.javascript.EcmaError has been deprecated [javac] ee.getColumnNumber()); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 24 warnings BUILD FAILED /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/build.xml:51: The following error occurred while executing this line: /home/tmoreira/OOo/DEV300_m39/rhino/unxlngx6.pro/misc/build/rhino1_5R5/toolsrc/build.xml:34: Compile failed; see the compiler error output for details. Total time: 1 second dmake: Error code 1, while making './unxlngx6.pro/misc/build/so_built_ooo_rhino' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m39/rhino rmdir /tmp/22488 dmake: Error code 1, while making 'build_instsetoo_native' ==TJ== from Googling, I found this page: http://lists.go-oo.org/pipermail/dev-go-oo.org/2008-October/000903.html it recommended I remove the symlink of rhino.jar. on our lab machines here, the file was located in: /usr/lib/jvm/java-openjdk/jre/lib i just renamed the file as BACKUP and it ran until the next error: ==TJ == ERROR Building module o3tl /home/tmoreira/OOo/DEV300_m39/o3tl/qa ------------- ---------------------------------------------------------- - start unit test on library ../unxlngx6.pro/lib/libtests.so ---------------------------------------------------------- testshl2 -sf /tmp/mkVtEXrM ../unxlngx6.pro/lib/libtests.so testshl2: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory dmake: Error code 127, while making 'unittest' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m39/o3tl/qa rmdir /tmp/23931 dmake: Error code 1, while making 'build_instsetoo_native'notes from building on PC-India in CDOT
started Saturday 31 Jan 2009 past midnight time to checkout svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m41/ was 19.8 mins source occupies 4.1GB on disk since this is M41, the ./configure was in the SRC_ROOT, so i ran that =TJ= didn't find tcsh, so i yum'd it ran: yum install tcsh.x86_64 =TJ= no CUPS checking cups/cups.h usability... no checking cups/cups.h presence... no checking for cups/cups.h... no configure: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing? fixed by installing: yum install cups-devel.x86_64 =TJ= missing gperf checking for gperf... no configure: error: gperf not found but needed. Install it. FIX: installed it: yum install gperf =TJ= missing unowinreg.dll checking for external/unowinreg/unowinreg.dll... configure: WARNING: not found, will be cross-built using mingw32 configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler. Specify mingw32 g++ executable name with --with-mingwin. Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and put it into external/unowinreg FIX: download it from wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll into the OOo/DEV300_m41/external/unowinreg folder =TJ= checking for mozilla-source-1.7.5.tar.gz... not found checking for mozilla-source-1.7.5.tar.bz2... not found configure: error: Mozilla source archive not found. Please copy mozilla-source-1.7.5.tar.bz2 or mozilla-source-1.7.5.tar.gz to moz/download/. The archives can be found here: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/ FIX: download one of the 2 files: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.bz2 [29 MB] http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.gz [37 MB] I chose .tar.bz2 just because it was smaller ** cd into: OOo/DEV300_m41/moz/download ** run: wget http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/mozilla-source-1.7.5.tar.bz2 =TJ= after configure completed, I ran LinuxX86-64Env.Set and also LinuxX86-64Env.Set.sh but I received a lot of errors, so i ran an instance of tcsh and re-did the >source LinuxX86-64Env.Set.sh< =TJ= ran bootstrap and dmake was successfully built * created screen and then ran dmake into a log file * CMD: time dmake > KAMOTS_dmake_log.txt COMPILE ERRORS: dmake: Error code 127, while making './unxlngx6.pro/misc/build/so_moz_runtime_files' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/moz dmake: Error code 1, while making 'build_instsetoo_native' 1089.267u 242.073s 22:51.74 97.0% 0+0k 23208+5166784io 89pf+0w Fix: nothing found yet UPDATE (2009-Feb-3): re-compiled from scratch and it skipped past this part now =TJ= COMPILE ERROR: /home/tmoreira/OOo/DEV300_m41/setup_native/registry/data/org/openoffice/Office Nothing to build /home/tmoreira/OOo/DEV300_m41/setup_native/scripts Making ../unxlngx6.pro/bin/langpackscript.sh Making ../unxlngx6.pro/bin/linuxpatchscript.sh Making ../unxlngx6.pro/bin/javaloader.sh Making ../unxlngx6.pro/bin/register_extensions Making ../unxlngx6.pro/bin/deregister_extensions Making ../unxlngx6.pro/bin/unpack_update.sh Making ../unxlngx6.pro/bin/update.sh Making ../unxlngx6.pro/bin/downloadscript.sh Making ../unxlngx6.pro/bin/stclient_wrapper.sh ------------- mkdir -p ../unxlngx6.pro/misc/install/fake-db-root rpmbuild --define "_builddir /home/tmoreira/OOo/DEV300_m41/setup_native/unxlngx6.pro/misc/install/fake-db-root" --define "_rpmdir /home/tmoreira/OOo/DEV300_m41/setup_native/unxlngx6.pro/bin" -bb fake-db.spec rpmbuild: /home/tmoreira/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/libnss3.so: version `NSS_3.10' not found (required by /usr/lib64/librpmio-4.6.so) dmake: Error code 1, while making '../unxlngx6.pro/bin/noarch/fake-db-1.0-0.noarch.rpm' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/setup_native/scripts rmdir /tmp/30068 dmake: Error code 1, while making 'build_instsetoo_native' Fix: edited the LD_LIBRARY_PATH variabled the .Set.sh shell envars. =TJ= COMPILE ERROR: ************************************************** ERROR: ERROR: Unknown format: ! Expected: "a.b.c", or "a.b", or "a" in function: determine_rpm_version ************************************************** ************************************************** ERROR: Saved logfile: /home/tmoreira/OOo/DEV300_m41/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/logging/en-US/log_DEV300_en-US.log ************************************************** Wed Feb 4 02:08:49 2009 (00:29 min.) dmake: Error code 255, while making 'openoffice_en-US.rpm' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/instsetoo_native/util rmdir /tmp/29601 dmake: Error code 1, while making 'build_instsetoo_native' tried to re-compile but got the error below =TJ= /home/tmoreira/OOo/DEV300_m41/sysui/desktop/redhat ------------- rm -f /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org-redhat-menus-* rm: No match. rpmbuild -bb redhat-menus.spec --define "_rpmdir /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration" --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \ --buildroot /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/misc/openoffice.org-redhat-menus-3.1-9383.noarch \ --define "_builddir /home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/misc/openoffice.org" \ --define "productname OpenOffice.org" \ --define "pkgprefix openoffice.org3.1" \ --define "unixfilename openoffice.org3" \ --define "iconprefix openofficeorg3" \ --define "version 3.1" \ --define "release 9383" rpmbuild: /home/tmoreira/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/libnss3.so: version `NSS_3.10' not found (required by /usr/lib64/librpmio-4.6.so) dmake: Error code 1, while making '/home/tmoreira/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org-redhat-menus-3.1-9383.noarch.rpm' ERROR: Error 65280 occurred while making /home/tmoreira/OOo/DEV300_m41/sysui/desktop/redhat rmdir /tmp/14668 dmake: Error code 1, while making 'build_instsetoo_native' tried to do the same thing with the library to set it to /usr/lib64 but it didn't work, i keep on getting the same error now