editors/openoffice-2 fails to build with "pyconfig.h: No such file
or directory" error
Alexander Zhuravlev
zaa at zaa.pp.ru
Tue May 1 06:30:14 UTC 2007
>Submitter-Id: current-users
>Originator: Alexander Zhuravlev
>Organization:
>Confidential: no
>Synopsis: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error
>Severity: serious
>Priority: high
>Category: ports
>Class: sw-bug
>Release: FreeBSD 6.2-RELEASE i386
>Environment:
System: FreeBSD orion.ulstu.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Apr 21 19:35:01 MSD 2007 root at orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386
>Description:
I have ports tree updated several hours ago, but can not build editors/openoffice-2.
It stopts with the following error message:
=============
Building project pyuno
=============
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module
dmake: Executing shell macro: $(FIND) . -name "{$(subst,$($(WINVERSIONNAMES)_MAJOR),* $(subst,$(UPD)$(DLLPOSTFIX), $(SHL1TARGET)))}.xml"
--- NOOPTFILES ---
dmake: Executing shell macro: $(FIND) . -name "{$(subst,$($(WINVERSIONNAMES)_MAJOR),* $(subst,$(UPD)$(DLLPOSTFIX), $(SHL1TARGET)))}.xml"
------------------------------
Making: ../../unxfbsdi.pro/slo/pyuno_module.obj
g++-ooo -fmessage-length=0 -c -O0 -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/python -I. -I../../unxfbsdi.pro/inc/pyuno -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxfbsdi.pro/inc -I. -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/external -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solenv/unxfbsdi/inc -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solenv/inc -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/res -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solenv/inc/Xp31 -I/usr/local/diablo-jdk1.5.0/include -I/usr/local/diablo-jdk1.5
.0/include/freebsd -I/usr/local/diablo-jdk1.5.0/include/bsd -I/usr/local/diablo-jdk1.5.0/include/linux -I/usr/local/diablo-jdk1.5.0/include/native_threads/include -I/usr/X11R6/include -I/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/offuh -I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -g1 -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.2/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DCUI -DSOLAR_JAVA -DOOF680=OOF680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxfbsdi.pro/slo/pyuno_module.o /usr/obj/usr/ports/ed
itors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/p!
yuno_mod
ule.cxx
In file included from ../../inc/pyuno/pyuno.hxx:13,
from /usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_impl.hxx:38,
from /usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_module.cxx:36:
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/python/Python.h:8:22: pyconfig.h: No such file or directory
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.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/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/python/Python.h:48,
from ../../inc/pyuno/pyuno.hxx:13,
from /usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_impl.hxx:38,
from /usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_module.cxx:36:
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/solver/680/unxfbsdi.pro/inc/python/pyport.h:531:2: #error "could not set LONG_MAX in pyport.h"
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_module.cxx: In function `void initpyuno()':
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_module.cxx:722: error: `PyEval_InitThreads' undeclared (first use this function)
/usr/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module/pyuno_module.cxx:722: error: (Each undeclared identifier is reported only once for each function it appears in.)
dmake: Error code 1, while making '../../unxfbsdi.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/obj/usr/ports/editors/openoffice.org-2/work/OOF680_m14/pyuno/source/module
dmake: Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255
>How-To-Repeat:
cvsup <ports.cvsup.file>
cd /usr/ports/editors/openoffice-2/
make package
>Fix:
More information about the freebsd-openoffice
mailing list