Unable to build openoffice-2.0-devel on current system

Kevin Oberman oberman at es.net
Wed Aug 10 18:02:39 GMT 2005


I'm trying to build 2.0-devel on my -current system and I'm running into
several problems, although all me be from a common source.

1. gcc-ooo failed because V7 is not listed in config.gcc. I get: 'Please
update *-*-freebsd* in gcc/config.gcc' when I try to configure.

i worked around this be editing:
*-*-freebsd6 | *-*-freebsd[6].*)
to
*-*-freebsd6 | *-*-freebsd[67].*)

This may not have been the right thing, but gcc built and I moved on to
the next step.

2. The build ran fine for some time, but then died in the build for
pyuno. 

One message was about a missing file, pyconfig.h. This has been reported
previously, but I have seen no response. I also get some redefinitions
that look like they may relate to the gcc issue.

Here is th output:
Making: ../../unxfbsd.pro/slo/pyuno_module.obj
g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice-2.0-devel/work/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice-2.0-devel/work/solenv/inc -I/usr/ports/editors/openoffice-2.0-devel/work/res -I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice-2.0-devel/work/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -O0   -I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/python -pipe -mcpu=pentiumpro -Wno-ctor-d
 tor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd7.0/3.4.1/include/c++ -DCVER=C300 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsd.pro/slo/pyuno_module.o /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_vector.h:572,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_hashtable.h:34,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_hash_map.h:34,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/hash_map:27,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_impl.hxx:64,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:74:
/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_bvector.h:37:1: warning: "__WORD_BIT" redefined
In file included from /usr/include/sys/limits.h:36,
                 from /usr/include/limits.h:128,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd7.0/3.4.1/lib/gcc/i386-portbld-freebsd7.0/3.4.1/include/limits.h:122,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd7.0/3.4.1/lib/gcc/i386-portbld-freebsd7.0/3.4.1/include/syslimits.h:7,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd7.0/3.4.1/lib/gcc/i386-portbld-freebsd7.0/3.4.1/include/limits.h:11,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd7.0/3.4.1/include/c++/climits:49,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/climits:27,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_algobase.h:43,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_vector.h:36,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_hashtable.h:34,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/stl/_hash_map.h:34,
                 from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl/hash_map:27,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_impl.hxx:64,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:74:
/usr/include/machine/_limits.h:95:1: warning: this is the location of the previous definition
In file included from ../../inc/pyuno/pyuno.hxx:11,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_impl.hxx:67,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:74:
/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/python/Python.h:8:22: pyconfig.h: No such file or directory
/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/python/Python.h:21:2: #error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?"
In file included from /usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/python/Python.h:48,
                 from ../../inc/pyuno/pyuno.hxx:11,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_impl.hxx:67,
                 from /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:74:
/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/python/pyport.h:554:2: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
/usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx: In function `void initpyuno()':
/usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:692: error: `PyEval_InitThreads' undeclared (first use this function)
/usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module/pyuno_module.cxx:692: error: (Each undeclared identifier is reported only once for each function it appears in.)
dmake:  Error code 1, while making '../../unxfbsd.pro/slo/pyuno_module.obj'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making 'do_it_noopt'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/pyuno/source/module
dmake:  Error code 1, while making 'build_all'
'---* tg_merge.mk *---'
*** Error code 255

Any hope of getting a 2.0-devel build to work during the ports freeze or
should I just try to be patient until after the freeze ends? I am not a
subscriber to this list, so I would appreciate being copied on
responses. (Yes, I know I really should subscribe if I'm going to run
devel.) 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-openoffice mailing list