Hello,
I have been trying to build OOo on Ubuntu from source. I have tried both
Ubuntu 10.04 (Lucid) and Ubuntu 9.10 (Karmic). I have tried both
DEV300_m80 and DEV300_m79 in each of them! I am trying to use system
libraries mostly. I still keep getting a error while building toolkit.
Please help me!
The Ubuntu platforms were both fresh installs (one of them in a VM). I
did a sudo apt-get build-dep openoffice.org and then:
Configure command:
--
./configure --disable-binfilter --disable-crashdump --with-lang=en-US cs
de nl ja --with-use-shell=bash --without-gpc --without-agg --disable-epm
--with-openldap --with-build-version=3.2.0 --without-fonts
--with-system-jpeg --with-system-libxml --with-system-mozilla
--with-system-python --with-system-stdlibs --with-system-zlib
--with-system-poppler --with-unix-wrapper=ooffice3.2 --enable-evolution2
--enable-dbus --with-alloc=system --with-vba-package-format=builtin
--enable-cairo=yes --enable-gtk --without-myspell-dicts
--disable-fontooo --with-system-expat --with-system-odbc-headers
--with-system-curl --with-system-sane-header
--with-system-xrender-headers --enable-gnome-vfs --with-system-db
--enable-crypt-link --enable-pam-link --with-dynamic-xinerama
--enable-xsltproc --disable-access --with-linker-hash-style=both
--with-distro=Debian --with-additional-sections=CalcRowLimit,OOXMLExport
--enable-layout --disable-mediawiki --with-gcc-speedup=ccache --with-git
--with-git-managed --enable-symbols --disable-strip
--with-icecream-bindir=/usr/lib/icecc/bin --disable-mono --without-java
--with-system-agg --with-system-altlinuxhyph
--with-system-apache-commons --with-system-beanshell --with-system-boost
--with-system-cairo --with-system-dicts --with-system-hsqldb
--with-system-hunspell --with-system-libwpd --with-system-libwpg
--with-system-libwps --with-system-libxslt --without-system-lpsolve
--without-system-mythes --with-system-neon --with-system-openssl
--with-system-redland --with-system-sablot --with-system-vigra
--with-system-xmlsec --with-system-mozilla=libxul --disable-kde
--disable-kde4
I am unable to get configure to work with system lpsolve libs or with
system mythes libs (so they are disabled in the configure command). The
above configure command worked with only a warning about restricted
features because java is disabled.
Bootstrap:
-
./bootstrap
This worked though it took some time downloading binaries
(http://hg.services.openoffice.org/binaries/).
Next:
-
source LinuxX86-64Env.Set.sh
cd instsetoo_native/ build --all
The build works for quite sometime until it starts compiling toolkit:
=
Building module toolkit
=
Entering /home/aditya/Code/dev300-base/toolkit/inc
mkout -- version: 1.8
Entering /home/aditya/Code/dev300-base/toolkit/source/layout/vcl
Making:all_layout-vcl.dpslo
Compiling: toolkit/source/layout/vcl/wrapper.cxx
Compiling: toolkit/source/layout/vcl/wbutton.cxx
Compiling: toolkit/source/layout/vcl/wcontainer.cxx
Compiling: toolkit/source/layout/vcl/wfield.cxx
Making:layout-vcl.lib
Making:all_layout-vcl.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/awt
Making:all_awt.dpslo
Making:awt.dpr
Making:awt.awt.dprr
Compiling: toolkit/source/awt/vclxaccessiblecomponent.cxx
Compiling: toolkit/source/awt/vclxbitmap.cxx
Compiling: toolkit/source/awt/vclxcontainer.cxx
Compiling: toolkit/source/awt/vclxdevice.cxx
Compiling: toolkit/source/awt/vclxfont.cxx
Compiling: toolkit/source/awt/vclxgraphics.cxx
Compiling: toolkit/source/awt/vclxmenu.cxx
Compiling: toolkit/source/awt/vclxpointer.cxx
Compiling: toolkit/source/awt/vclxprinter.cxx
Compiling: toolkit/source/awt/vclxregion.cxx
Compiling: toolkit/source/awt/vclxsystemdependentwindow.cxx
Compiling: toolkit/source/awt/vclxtoolkit.cxx
Compiling: toolkit/source/awt/vclxtopwindow.cxx
Compiling: toolkit/source/awt/vclxwindow.cxx
Compiling: toolkit/source/awt/vclxwindow1.cxx
Compiling: toolkit/source/awt/vclxwindows.cxx
Compiling: toolkit/source/awt/vclxspinbutton.cxx
Compiling: toolkit/source/awt/xsimpleanimation.cxx
Compiling: toolkit/source/awt/xthrobber.cxx
Compiling: toolkit/source/awt/asynccallback.cxx
Compiling: toolkit/source/awt/vclxbutton.cxx
Compiling: toolkit/source/awt/vclxdialog.cxx
Compiling: toolkit/source/awt/vclxfixedline.cxx
Compiling: toolkit/source/awt/vclxplugin.cxx
Compiling: toolkit/source/awt/vclxscroller.cxx
Compiling: toolkit/source/awt/vclxsplitter.cxx
Compiling: toolkit/source/awt/vclxtabcontrol.cxx
Compiling: toolkit/source/awt/vclxtabpage.cxx
Making:awt.lib
../../unxlngx6.pro/misc/toolkit/source/awt/localize.sdf
touch ../../unxlngx6.pro/misc/toolkit/source/awt/localize.sdf
Making:xthrobber.src
TransEx 3.1 Copyright 2000, 2010 Oracle and/or its affiliates. All
Rights Reserved.
=
Processing File xthrobber.src ...