From owner-freebsd-ports@FreeBSD.ORG Tue Feb 10 10:18:40 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D8816A4CE; Tue, 10 Feb 2004 10:18:40 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB0643D1D; Tue, 10 Feb 2004 10:18:40 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])MAA14236; Tue, 10 Feb 2004 12:18:39 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004021012191857:12360 ; Tue, 10 Feb 2004 12:19:18 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id C11355C22; Tue, 10 Feb 2004 12:18:54 -0600 (CST) To: "Martin Blapp" From: "Paul Seniura" In-Reply-To: <20040210091505.U99091@cvs.imp.ch> References: <40288D25.6050001@FreeBSD.org> <20040210080141.GT3365@toxic.magnesium.net> <20040210091505.U99091@cvs.imp.ch> Message-Id: <20040210181854.C11355C22@techpc04.okladot.state.ok.us> Date: Tue, 10 Feb 2004 12:18:54 -0600 (CST) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 02/10/2004 12:19:18 PM,2003) at 02/10/2004 12:19:19 PM, Serialize complete at 02/10/2004 12:19:19 PM cc: Paul Seniura cc: freebsd-openoffice@freebsd.org cc: Alex Dupre cc: freebsd-ports@freebsd.org Subject: Re: Openoffice and thread libs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 18:18:40 -0000 Hi y'all, Pardon me barging in here. ;) I'm seeing the same JVM Heap problem when portupgrading OOo as mentioned earlier. The 'files/patch-config_office' looks like where we need to change PTHREAD_LIBS once & for all. That patch is changing the original OOo 'configure' script under its FreeBSD section, starting at line 26 of that patch file itself. It will set PTHREAD_LIBS to '-lc_r' if OSVERSION is 500016 or greater. It will override your environment at this point. We probably want '-lpthread' there, don't we? (Note: with OSVERSIONs less than 5.x, that parm is missing the 'l' on purpose.) -- Paul Seniura System Specialist State of Okla. D.O.T. --- Original Message --- hi, > make configure, and then edit wor/oo_1.1_src/FreeBSDEnv.Set and > FreeBSDEnv.Set.sh. In there, you'll find PTHREAD_LIBS= -lc_r. Change > that to -lpthread and it should build correctly. > > I'm still waiting for a response from the openoffice folks as to how > this file is generated. This file is created by configure. I'll try this out myself and fix the port. Martin