From owner-freebsd-openoffice@FreeBSD.ORG Tue Nov 13 14:20:03 2007 Return-Path: Delivered-To: openoffice@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19F2D16A419 for ; Tue, 13 Nov 2007 14:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0816D13C4A8 for ; Tue, 13 Nov 2007 14:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lADEK2aU079504 for ; Tue, 13 Nov 2007 14:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lADEK2ex079503; Tue, 13 Nov 2007 14:20:02 GMT (envelope-from gnats) Date: Tue, 13 Nov 2007 14:20:02 GMT Message-Id: <200711131420.lADEK2ex079503@freefall.freebsd.org> To: openoffice@FreeBSD.org From: "Alexey Shuvaev" Cc: Subject: Re: ports/112283: editors/openoffice-2 fails to build with "pyconfig.h: No such file or directory" error X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey Shuvaev List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 14:20:03 -0000 The following reply was made to PR ports/112283; it has been noted by GNATS. From: "Alexey Shuvaev" 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) ----------------------------------