compile fails for ooo 2.3.1

Michael Reifenberger mike at reifenberger.com
Thu Dec 13 04:34:39 PST 2007


Hi,
while compiling ooo 2.3.1 under FreeBSD-current AMD64 I get:
...
e.o /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx 
In file included from ../../inc/pyuno/pyuno.hxx:13,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_impl.hxx:38,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx:36:
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/python/Python.h:8:22: error: pyconfig.h: No such file or directory
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/python/Python.h:21:2: error: #error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?"
In file included from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/python/Python.h:48,
                 from ../../inc/pyuno/pyuno.hxx:13,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_impl.hxx:38,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx:36:
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/python/pyport.h:535:2: error: #error "could not set LONG_MAX in pyport.h"
In file included from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/cppuhelper/implbase2.hxx:42,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_impl.hxx:55,
                 from /usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx:36:
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/rtl/instance.hxx: In static member function 'static Inst*<unnamed>::rtl_Instance<Inst, InstCtor, Guard, GuardCtor, Data, DataCtor>::create(InstCtor, GuardCtor)':
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/rtl/instance.hxx:305: warning: empty body in an else-statement
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/rtl/instance.hxx: In static member function 'static Inst*<unnamed>::rtl_Instance<Inst, InstCtor, Guard, GuardCtor, Data, DataCtor>::create(InstCtor, GuardCtor, DataCtor)':
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/solver/680/unxfbsdx.pro/inc/rtl/instance.hxx:329: warning: empty body in an else-statement
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx: In function 'void initpyuno()':
/usr/ports/editors/openoffice.org-2/work/OOG680_m9/pyuno/source/module/pyuno_module.cxx:722: error: 'PyEval_InitThreads' was not declared in this scope
dmake:  Error code 1, while making '../../unxfbsdx.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.org-2/work/OOG680_m9/pyuno/source/module
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.

Seems that needed python headers are not found...

Any clues?
-- 
Bye/2
---
Michael Reifenberger
Michael at Reifenberger.com
http://www.Reifenberger.com



More information about the freebsd-openoffice mailing list