Compiling Open Office under Debian

jim at amarooas.com.au jim at amarooas.com.au
Fri Mar 7 12:26:27 EST 2003


Um, heres a good place to start...it explains how the build thingy works!! Is
anyone interested in porting to debian sparc sun4u?

http://porting.openoffice.org/servlets/ReadMsg?msgId=114339&listName=dev

>G'day,
>
>I got my hands on the source code for Open Office v 1.0.2, and want to
>compile it.  Following all the instructions I can get my hands on, I've
>managed to get what I can consider halfway through the compile before it
>barfs.
>
>The first question I have is, is there a way to clean the source back to
>original, similar to a "make dist-clean" when you are doing a kernel
>compile?  Would this have any bearing on why it is crashing after an initial

>attempt to compile the source?
>
>The second question, has anyone successfully done a CVS update of the source

>code?  CVS seems to freeze after doing two of the "modules".
>
>The third question, why does it barf?  Hopefully, the steps shown below will

>help someone to see where I may be going wrong.
>
>The situation:
>
>I'm running a Woody box, and install things as needed.  In this case, I've

>installed tcsh and a couple of other things that were specifically
>"required" by OO.
>
>1/ change to tcsh shell.
>2/ go to ./open_office_source/config_office and run ./configure
>3/ cd..
>4/ source LinuxIntelEnv.Set (as per instructions.)
>5/ execute ./bootstrap (again, as per instructions.)
>6/ wait for a while while dmake and some other things are built.
>7/ run dmake
>8/ Wait for dmake to compile lots of stuff (should take around 12 hours,
>according to notes on www.openoffice.org)
>9/ get the following error ...
>
>
>=============
>Building project udm
>=============
>/usr/local/src/oo_1.0.2_src/udm/source/xml
>-------------
>/usr/local/src/oo_1.0.2_src/udm/source/html
>-------------
>/usr/local/src/oo_1.0.2_src/udm/source/udm
>------------------------------
>Making: ../../unxlngi3.pro/obj/steps.obj
>c++ -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngi3.pro/inc

>-I.
> -I/usr/local/src/oo_1.0.2_src/solver/641/unxlngi3.pro/inc/stl
>-I/usr/local/src/
>oo_1.0.2_src/solver/641/unxlngi3.pro/inc/external
>-I/usr/local/src/oo_1.0.2_src/
>solver/641/unxlngi3.pro/inc
>-I/usr/local/src/oo_1.0.2_src/solenv/unxlngi3/inc -I
>/usr/local/src/oo_1.0.2_src/solenv/inc -I/usr/local/src/oo_1.0.2_src/res
>-I/usr/
>local/src/oo_1.0.2_src/solver/641/unxlngi3.pro/inc/stl
>-I/usr/local/src/oo_1.0.2
>_src/solenv/inc/Xp31 -I/usr/local/java/jdk1.3.1_07/include
>-I/usr/local/java/jdk
>1.3.1_07/include/linux
>-I/usr/local/java/jdk1.3.1_07/include/native_threads/incl
>ude -I/usr/X11R6/include     -I. -I../../res -I. -O2   -pipe -mpentiumpro
>-fno-f
>or-scope -fpermissive -fexceptions  -frtti    -DLINUX -DUNX -DVCL -DGCC
>-DC295 -
>DINTEL -DCVER=C295 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT

>-DN
>EW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
>-DCPPU_ENV=gc
>c2 -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE
>-DEXCEPT
>IONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DMULTITHREAD  -w -o
>../../unxlngi3.pro/obj
>/steps.o /usr/local/src/oo_1.0.2_src/udm/source/udm/steps.cxx
>In file included from ../../inc/udm/impl_struct.hxx:73,
>                 from ../../inc/udm/entity.hxx:69,
>                 from ../../inc/udm/steps.hxx:69,
>                 from
>/usr/local/src/oo_1.0.2_src/udm/source/udm/steps.cxx:63:
>../../inc/udm/tt_struct.hxx:239: common_type called with uncommon member
>types (
>compiler error)
>dmake:  Error code 1, while making '../../unxlngi3.pro/obj/steps.obj'
>---* TG_SLO.MK *---
>
>ERROR: Error 65280 occurred while making
>/usr/local/src/oo_1.0.2_src/udm/source/
>udm
>dmake:  Error code 1, while making 'build_all'
>---* TG_SLO.MK *---
>
>TIA,
>
>Russell.
>
>--
>
>Russell Weatherburn
>
>mailto:russell at oxyoss.net
>http://www.oxyoss.net
>
>Semper Fidelis
>
>
>
>


More information about the linux mailing list