Issue 219 - I cannot bootstrap my compile
Summary: I cannot bootstrap my compile
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 609
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-11 12:07 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2000-12-11 12:07:14 UTC
I have been fiddling with this for some time and I have no idea where to look:

$ gcc --version
2.95.2

Redhat 6.2


Error follows:

g++ -w -nostdinc -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxlngi3.pro/inc
-I. -I/data/office//sal/inc -I/data/office//vos/inc  -I.
-I/data/office//solver/609/unxlngi3.pro/inc/stl
-I/data/office//solver/609/unxlngi3.pro/inc
-I/data/office//solver/609/unxlngi3.pro/inc/external
-I/data/office//solenv/unxlngi3/inc -I/data/office//solenv/inc
-I/data/office//res -INO_GXX_INCLUDE -I/data/office//solenv/inc/Xp31
-I/opt/jre/include -I/opt/jre/include/linux
-I/opt/jre/include/native_threads/include -I/usr/X11R6/include
-I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include -I/usr/include     -I.
-I../res -I.
-I/data/office//solenv/unxlngi3/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include
-I/data/office//solenv/unxlngi3/usr/include -O2   -pipe -mpentium -fno-for-scope
-fpermissive -mpreferred-stack-boundary=2 -fguiding-decls -frtti
-fno-exceptions   -fpic -DLINUX -DUNX -DVCL -DGCC -DC295 -DINTEL -DTF_UCB
-DENABLEUNICODE -DTF_SDBAPI -DCVER=C295 -DONE_LINGU -DGLIBC=2 -DX86 -D_PTHREADS
-D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=321 -D__DMAKE
-DUNIX -DSUPD=609 -DBUILD=5717 -DSOLAR_PLUGIN -DVCL -DSO3 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOPTIMIZE -DGUI -DSOLAR_JAVA -DSRC609 -DBOOTSTRAPPER -DTF_ONE51
-DDLL_VERSION=\"609li\" -DCOM_STR=\"GCC\" -DSHAREDLIB -D_DLL_ -DMULTITHREAD  -o
../unxlngi3.pro/slo/fibersrv.o /data/office/vos/source/fibersrv.cxx
cc1plus: Invalid option `preferred-stack-boundary=2'
cc1plus: Invalid option `-fpermissive'
In file included from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_list.h:34,
                 from /data/office/solver/609/unxlngi3.pro/inc/stl/list:30,
                 from ../inc/vos/queue.hxx:78,
                 from ../inc/vos/fibersrv.hxx:82,
                 from /data/office/vos/source/fibersrv.cxx:63:
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:39: cstddef: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:47: cstring: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:51: climits: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:55: cstdlib: No such
file or directory
In file included from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:71,
                 from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_list.h:34,
                 from /data/office/solver/609/unxlngi3.pro/inc/stl/list:30,
                 from ../inc/vos/queue.hxx:78,
                 from ../inc/vos/fibersrv.hxx:82,
                 from /data/office/vos/source/fibersrv.cxx:63:
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_iterator_base.h:34: cstddef: No
such file or directory
In file included from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_list.h:38,
                 from /data/office/solver/609/unxlngi3.pro/inc/stl/list:30,
                 from ../inc/vos/queue.hxx:78,
                 from ../inc/vos/fibersrv.hxx:82,
                 from /data/office/vos/source/fibersrv.cxx:63:
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:39: cstddef: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:47: cstdlib: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:50: cstring: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:56: cstdio: No such
file or directory
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:59: cstdlib: No such
file or directory
In file included from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_alloc.h:72,
                 from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_list.h:38,
                from /data/office/solver/609/unxlngi3.pro/inc/stl/list:30,
                 from ../inc/vos/queue.hxx:78,
                 from ../inc/vos/fibersrv.hxx:82,
                 from /data/office/vos/source/fibersrv.cxx:63:
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_threads.h:38: cstddef: No such
file or directory
In file included from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_algobase.h:71,
                 from
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_list.h:34,
                 from /data/office/solver/609/unxlngi3.pro/inc/stl/list:30,
                 from ../inc/vos/queue.hxx:78,
                 from ../inc/vos/fibersrv.hxx:82,
                 from /data/office/vos/source/fibersrv.cxx:63:
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_iterator_base.h:117: parse
error before `,'
/data/office/solver/609/unxlngi3.pro/inc/stl/stl_iterator_base.h:121: confused
by earlier errors, bailing out
cpp: output pipe has been closed
dmake:  Error code 1, while making '../unxlngi3.pro/slo/fibersrv.obj'
Comment 1 issues@www 2000-12-29 00:19:05 UTC
Problem has been mostly solved.

a)  My Linux Environment set file did NOT have /usr/local/bin in it.  G++ is in
that directory and it was picking up the old /usr/bin version which is the wrong
one.

b) The upgrade to the current version of open office removed the other file
location errors.

Now I am looking for xml2cmp program...
Comment 2 issues@www 2000-12-30 16:09:40 UTC
I have now managed to get a fair way further.  xml2cmp requires -  -lstlport_gcc 

I deleted this library in a hand tuned compile line.  I then reran dmake and
installed correctly.  I cannot easily see where this library request comes from
to delete it from the target libraries.  I have also had to change target.mk to
include the include lines: -I/$$myoffice$$/vos/inc -I/usr/local/include/g++-3

I also had to patch the following file, it is an obvious fix:

RCS file: /cvs/oo/util/tools/source/intntl/isolang.cxx,v
retrieving revision 1.4
diff -r1.4 isolang.cxx
64c64
< #include <tools/intn.hxx>
---
> #include <intn.hxx>   // KMF  @@@

Continuing my tour of discovery in the land of Open Office....
Comment 3 sander_traveling 2001-01-02 11:25:14 UTC
Do you have a consistent set of 613 sources? Did you rerun configure after
updating the sources? The environment changed, so it is needed.

You are also missing the STLport4 library (see www.stlport.org) which is a new
pre-requisite for building OpenOffice in snapshot 613 onwards. 

You can specify where your 'correct' gcc is located by specifying
--with-gcc-home=/path/to/gcc/toplevel/dir
Comment 4 Unknown 2001-02-01 11:37:14 UTC
this issue is long fixed but was never closed so I do it now.
Comment 5 chris 2002-11-07 14:34:22 UTC
Verified.  The config_office system is completely different now
anyway, thanks to, erm, the submitter of this bug :)

Thanks Ken!