Date: Tue, 13 Nov 2007 14:20:02 GMT From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: openoffice@FreeBSD.org Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error Message-ID: <200711131420.lADEK2ex079503@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/112283; it has been noted by GNATS. From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: bug-followup@FreeBSD.org, zaa@zaa.pp.ru Cc: Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error Date: Tue, 13 Nov 2007 15:16:38 +0100 Well, with the help of makc at issp dot ac dot ru I have managed to compile editors/openoffice.org-2. One should put this in /bin/uname --------------------------------- #!/bin/sh /usr/bin/uname $* | sed 's:8\.0:7\.0:g' --------------------------------- I think the appropriate patch could be applied to python/Python-2.3.4.patch in the OOo source directory. Despite of successful compilation there is at least one runtime problem. By opening of the file saved by itself it hangs with the following messages on the console it was started from: --------------------------------- [wep4017] ~> openoffice.org-2.3.0 test.odt (process:89927): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:89927): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:89927): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed --------------------------------- OOo fails with the same errors while opening *.doc, *.ppt and *.sxw files. This issue is mentioned in openoffice mailing list with GLib-GObject-CRITICAL subject. The author said the problem is gone by downgrading jdk16 to jdk15, but in my case it is not so (I have jdk15). The more detailed build environment: --------------------------------- [wep4017] ~> /usr/bin/uname -a FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Nov 11 19:36:08 CET 2007 lexx@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 --------------------------------- [wep4017] ~> cat /etc/make.conf CPUTYPE ?= nocona SUP_UPDATE = YES SUPFILE = /root/standard-supfile PORTSSUPFILE = /root/ports-supfile DOCSUPFILE = /root/doc-supfile DOC_LANG = en_US.ISO8859-1 .if ${.CURDIR:M*/usr/ports*} .include "/etc/ports.conf" .endif # added by use.perl 2007-11-12 11:31:04 PERL_VER=5.8.8 PERL_VERSION=5.8.8 ---------------------------------- [wep4017] ~> cat /etc/ports.conf WITH_OPTIMIZED_CFLAGS= yes WITH_OPTIMIZED_FLAGS= yes WITH_GHOSTSCRIPT_AFPL= yes WITHOUT_CUPS= yes A4= yes RANDOMIZE_MASTER_SITES= yes .if ${.CURDIR:M*/editors/openoffice.org-2*} WITH_KDE= yes WITH_SYSTEM_FREETYPE= yes WITHOUT_GNOMEVFS= yes WITHOUT_MOZILLA= yes # Not enough space #LOCALIZED_LANG= all .endif .if ${.CURDIR:M*/x11-servers/xorg-server} WITHOUT_HAL= yes .endif ---------------------------------- [wep4017] ~> java -version java version "1.5.0_13-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-lexx_05_nov_2007_16_47) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-lexx_05_nov_2007_16_47, mixed mode) ----------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711131420.lADEK2ex079503>