Difference between revisions of "Talk:Ubuntu Build Instructions"
(17 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | ==Build Problems ([[User:Kostmo|Kostmo]] | + | ==Build Problems ([[User:Kostmo|Kostmo]])== |
− | + | ===Failed Patches=== | |
+ | I disabled them by commenting out their lines in <code>ooo-build/patches/src680/apply</code>. | ||
+ | |||
+ | ====Patching HEAD==== | ||
*disable-helpcontent2.diff | *disable-helpcontent2.diff | ||
*ubuntu-lpi.diff | *ubuntu-lpi.diff | ||
Line 6: | Line 9: | ||
*fontconfig-substitute.diff | *fontconfig-substitute.diff | ||
− | + | ====Patching ooo-build-2-0-2 (02:37, 26 May 2006 (CEST))==== | |
− | + | *ubuntu-dictionary.diff | |
− | ==== | ||
+ | ===Errors compiling ooo-build=== | ||
+ | ====HEAD==== | ||
With the above patches removed, the build process could commence. This error was obtained after about 3 hours into the build: | With the above patches removed, the build process could commence. This error was obtained after about 3 hours into the build: | ||
Line 17: | Line 21: | ||
ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/ooc680-m2/helpcontent2/util/smath | ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/ooc680-m2/helpcontent2/util/smath | ||
make: *** [stamp/build] Error 1 | make: *** [stamp/build] Error 1 | ||
+ | |||
+ | ====ooo-build-2-0-2 (02:35, 26 May 2006 (CEST))==== | ||
+ | <pre> | ||
+ | /home/kostmo/ooo-build/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/makedepend: error: makedepend: Failed to read file "hbox.cpp" | ||
+ | dmake: Error code 1, while making '../unxlngi6.pro/misc/s_hbox.dpcc' | ||
+ | dmake: '../unxlngi6.pro/misc/s_hbox.dpcc' removed. | ||
+ | '---* TG_SLO.MK *---' | ||
+ | |||
+ | ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/hwpfilter/source | ||
+ | make: *** [stamp/build] Error 1 | ||
+ | </pre> | ||
+ | |||
+ | ====Errors with ''gcj'' in ooo-build-2-0-2 (00:10, 26 May 2006 (CEST))==== | ||
+ | <pre> | ||
+ | BUILD FAILED | ||
+ | /home/kostmo/ooo-build/build/OOO_2_0_2/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:133: Error running gcj compiler | ||
+ | |||
+ | Total time: 8 seconds | ||
+ | dmake: Error code 1, while making './unxlngi6.pro/misc/build/so_built_so_hsqldb' | ||
+ | '---* tg_merge.mk *---' | ||
+ | |||
+ | ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/hsqldb | ||
+ | make: *** [stamp/build] Error 1 | ||
+ | </pre> | ||
+ | |||
+ | ====Errors after installing ''j2sdk1.4'' along with ''gjc''==== | ||
+ | With j2sdk1.4 installed (requires enabling '''multiverse''' package sources), the above error is eliminated. However, a few hours into the build I got: | ||
+ | <pre> | ||
+ | Making: ../../unxlngi6.pro/slb/dapp.lib | ||
+ | echo unxlngi6.pro/slo/dinst.o unxlngi6.pro/slo/dbmp.o | xargs -n1 > ../../unxlngi6.pro/slb/dapp.lib | ||
+ | ------------- | ||
+ | /home/kostmo/ooo-build/build/OOO_2_0_2/vcl/unx/gtk/a11y | ||
+ | |||
+ | ERROR: Error 11 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/vcl/unx/gtk/a11y | ||
+ | make: *** [stamp/build] Error 1 | ||
+ | </pre> | ||
+ | I had disabled <code>gtk</code> ([http://wiki.services.openoffice.org/wiki/Ubuntu_Build_Instructions#Necessary_..2Fconfigure_Flags see why]) and <code>kde</code>. Apparently [http://lists.ximian.com/pipermail/openoffice/2006-May/001809.html someone else had this problem]. | ||
+ | 11:09, 26 May 2006 (CEST) | ||
+ | |||
+ | ====dbus-glib-1 library requirement==== | ||
+ | <pre> | ||
+ | checking for dbus-glib-1 >= 0.60... Package dbus-glib-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment variable No package 'dbus-glib-1' foundconfigure: error: Library requirements (dbus-glib-1 >= 0.60) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. | ||
+ | make: *** [stamp/build] Error 1 | ||
+ | </pre> | ||
+ | |||
+ | ====Errors caused by running ''ubdatedb''==== | ||
+ | <pre> | ||
+ | ERROR: cannot open /home/kostmo/ooo-build/build/ooc680-m2/connectivity/unxlngi6.pro/inc/com/sun/star/sdbc/XConnection.hdl for writing | ||
+ | dmake: Error code 99, while making '../../unxlngi6.pro/inc/types_headergen.done' | ||
+ | '---* tg_merge.mk *---' | ||
+ | </pre> | ||
+ | |||
+ | After the compiler aborts, I find that I can't write anything to the hard drive (e.g. save a text file to the desktop). | ||
+ | |||
+ | == Need for Refresh == | ||
+ | |||
+ | This was a useful article a year ago, but it is now hopelessly out of date. It would by nice if it was refreshed with a current Ubuntu version and OOo build. [[User:TerryE|TerryE]] 01:35, 12 August 2007 (CEST) |
Latest revision as of 23:35, 11 August 2007
Build Problems (Kostmo)
Failed Patches
I disabled them by commenting out their lines in ooo-build/patches/src680/apply
.
Patching HEAD
- disable-helpcontent2.diff
- ubuntu-lpi.diff
- ubuntu-dictionary.diff
- fontconfig-substitute.diff
Patching ooo-build-2-0-2 (02:37, 26 May 2006 (CEST))
- ubuntu-dictionary.diff
Errors compiling ooo-build
HEAD
With the above patches removed, the build process could commence. This error was obtained after about 3 hours into the build:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/star/help/HelpLinker dmake: Error code 1, while making '../../unxlngi6.pro/bin/smath_en-US.zip' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/ooc680-m2/helpcontent2/util/smath make: *** [stamp/build] Error 1
ooo-build-2-0-2 (02:35, 26 May 2006 (CEST))
/home/kostmo/ooo-build/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/makedepend: error: makedepend: Failed to read file "hbox.cpp" dmake: Error code 1, while making '../unxlngi6.pro/misc/s_hbox.dpcc' dmake: '../unxlngi6.pro/misc/s_hbox.dpcc' removed. '---* TG_SLO.MK *---' ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/hwpfilter/source make: *** [stamp/build] Error 1
Errors with gcj in ooo-build-2-0-2 (00:10, 26 May 2006 (CEST))
BUILD FAILED /home/kostmo/ooo-build/build/OOO_2_0_2/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:133: Error running gcj compiler Total time: 8 seconds dmake: Error code 1, while making './unxlngi6.pro/misc/build/so_built_so_hsqldb' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/hsqldb make: *** [stamp/build] Error 1
Errors after installing j2sdk1.4 along with gjc
With j2sdk1.4 installed (requires enabling multiverse package sources), the above error is eliminated. However, a few hours into the build I got:
Making: ../../unxlngi6.pro/slb/dapp.lib echo unxlngi6.pro/slo/dinst.o unxlngi6.pro/slo/dbmp.o | xargs -n1 > ../../unxlngi6.pro/slb/dapp.lib ------------- /home/kostmo/ooo-build/build/OOO_2_0_2/vcl/unx/gtk/a11y ERROR: Error 11 occurred while making /home/kostmo/ooo-build/build/OOO_2_0_2/vcl/unx/gtk/a11y make: *** [stamp/build] Error 1
I had disabled gtk
(see why) and kde
. Apparently someone else had this problem.
11:09, 26 May 2006 (CEST)
dbus-glib-1 library requirement
checking for dbus-glib-1 >= 0.60... Package dbus-glib-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment variable No package 'dbus-glib-1' foundconfigure: error: Library requirements (dbus-glib-1 >= 0.60) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make: *** [stamp/build] Error 1
Errors caused by running ubdatedb
ERROR: cannot open /home/kostmo/ooo-build/build/ooc680-m2/connectivity/unxlngi6.pro/inc/com/sun/star/sdbc/XConnection.hdl for writing dmake: Error code 99, while making '../../unxlngi6.pro/inc/types_headergen.done' '---* tg_merge.mk *---'
After the compiler aborts, I find that I can't write anything to the hard drive (e.g. save a text file to the desktop).
Need for Refresh
This was a useful article a year ago, but it is now hopelessly out of date. It would by nice if it was refreshed with a current Ubuntu version and OOo build. TerryE 01:35, 12 August 2007 (CEST)