Talk:Ubuntu Build Instructions

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)

Personal tools