Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 12:18:54 -0600 (CST)
From:      "Paul Seniura" <pdseniura@techie.com>
To:        "Martin Blapp" <mb@imp.ch>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Openoffice and thread libs
Message-ID:  <20040210181854.C11355C22@techpc04.okladot.state.ok.us>
In-Reply-To: <20040210091505.U99091@cvs.imp.ch>
References:  <40288D25.6050001@FreeBSD.org> <20040210080141.GT3365@toxic.magnesium.net> <20040210091505.U99091@cvs.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210181854.C11355C22>