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 ...
===================================
Making: awt.srs
Making: all_awt.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/controls
Making: all_controls.dpslo
Compiling: toolkit/source/controls/accessiblecontrolcontext.cxx
Compiling: toolkit/source/controls/geometrycontrolmodel.cxx
Compiling: toolkit/source/controls/eventcontainer.cxx
Compiling: toolkit/source/controls/stdtabcontroller.cxx
Compiling: toolkit/source/controls/stdtabcontrollermodel.cxx
Compiling: toolkit/source/controls/unocontrol.cxx
Compiling: toolkit/source/controls/unocontrolbase.cxx
Compiling: toolkit/source/controls/unocontrolcontainer.cxx
Compiling: toolkit/source/controls/unocontrolcontainermodel.cxx
Compiling: toolkit/source/controls/unocontrolmodel.cxx
Compiling: toolkit/source/controls/unocontrols.cxx
Compiling: toolkit/source/controls/formattedcontrol.cxx
Compiling: toolkit/source/controls/roadmapcontrol.cxx
Compiling: toolkit/source/controls/roadmapentry.cxx
Compiling: toolkit/source/controls/dialogcontrol.cxx
Compiling: toolkit/source/controls/tkscrollbar.cxx
Compiling: toolkit/source/controls/tkspinbutton.cxx
Compiling: toolkit/source/controls/tksimpleanimation.cxx
Compiling: toolkit/source/controls/tkthrobber.cxx
Making: controls.lib
Making: all_controls.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/layout/core
Making: all_layout-core.dpslo
Compiling: toolkit/source/layout/core/bin.cxx
Compiling: toolkit/source/layout/core/box-base.cxx
Compiling: toolkit/source/layout/core/box.cxx
Compiling: toolkit/source/layout/core/byteseq.cxx
Compiling: toolkit/source/layout/core/container.cxx
Compiling: toolkit/source/layout/core/dialogbuttonhbox.cxx
Compiling: toolkit/source/layout/core/factory.cxx
Compiling: toolkit/source/layout/core/flow.cxx
Compiling: toolkit/source/layout/core/helper.cxx
Compiling: toolkit/source/layout/core/import.cxx
Compiling: toolkit/source/layout/core/localized-string.cxx
Compiling: toolkit/source/layout/core/proplist.cxx
Compiling: toolkit/source/layout/core/root.cxx
Compiling: toolkit/source/layout/core/table.cxx
Compiling: toolkit/source/layout/core/timer.cxx
Compiling: toolkit/source/layout/core/translate.cxx
Compiling: toolkit/source/layout/core/vcl.cxx
Making: layout-core.lib
Making: all_layout-core.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/controls/tree
Making: all_tree.dpslo
Compiling: toolkit/source/controls/tree/treecontrol.cxx
Compiling: toolkit/source/controls/tree/treedatamodel.cxx
Making: tree.lib
Making: all_tree.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/helper
Making: all_helper.dpslo
Compiling: toolkit/source/helper/listenermultiplexer.cxx
Compiling: toolkit/source/helper/property.cxx
Compiling: toolkit/source/helper/registerservices.cxx
Compiling: toolkit/source/helper/servicenames.cxx
Compiling: toolkit/source/helper/tkresmgr.cxx
Compiling: toolkit/source/helper/unomemorystream.cxx
Compiling: toolkit/source/helper/unopropertyarrayhelper.cxx
Compiling: toolkit/source/helper/unowrapper.cxx
Compiling: toolkit/source/helper/vclunohelper.cxx
Compiling: toolkit/source/helper/externallock.cxx
Compiling: toolkit/source/helper/imagealign.cxx
Compiling: toolkit/source/helper/throbberimpl.cxx
Compiling: toolkit/source/helper/formpdfexport.cxx
Compiling: toolkit/source/helper/accessibilityclient.cxx
Compiling: toolkit/source/helper/fixedhyperbase.cxx
Making: helper.lib
Making: all_helper.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/source/controls/grid
Making: all_grid.dpslo
Compiling: toolkit/source/controls/grid/gridcontrol.cxx
Compiling: toolkit/source/controls/grid/defaultgriddatamodel.cxx
Compiling: toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
Compiling: toolkit/source/controls/grid/gridcolumn.cxx
Making: grid.lib
Making: all_grid.dpslo
Entering /home/aditya/Code/dev300-base/toolkit/uiconfig/layout
Making: layout.dpz
zipdep -- version: 1.12
Multi Platform Enabled Edition
echo '#empty' | cat - > localize.sdf
rm -f *-localize.sdf
dmake: Warning: -- Found file corresponding to virtual target
[message-box.xml].
mkdir: cannot create directory `../../unxlngx6.pro/lib/': File exists
dmake: Warning: -- Found file corresponding to virtual target
[tab-dialog.xml].
mkdir: cannot create directory `../../unxlngx6.pro/lib/': File exists
../../unxlngx6.pro/lib/en-US/%.xml: %.xml
: &&
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/aditya/Code/dev300-base/solver/300/unxlngx6.pro/lib
tralay -m localize.sdf -o "../../unxlngx6.pro/lib" -l en-US
"message-box.xml"
/bin/bash: tralay: command not found
dmake: Error code 127, while making
'../../unxlngx6.pro/lib/en-US/message-box.xml'
1 module(s):
toolkit
need(s) to be rebuilt
Reason(s):
Attention: if you fix the errors in above module(s) you may prolongue
your the build issuing command:
build --all:toolkit
===================================================================================
Any help is appreciated!
Thanks,
Aditya.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org