Subject: Re: cannot build openoffice under current
To: None <,>
From: Patrick Welche <>
List: tech-pkg
Date: 02/03/2005 21:03:26
On Mon, Jan 31, 2005 at 10:20:20PM +0100, Michael Rauch wrote:
> the problem is somewhere in xsrc:
> The definition is brought in by imake, when generating the Makefile out
> of the Imakefile, so there's nothing the openoffice package really can
> do about it.
> The relevant code is part of /usr/X11R6/lib/X11/config/Library.tmpl,
> which is copied into the Makefile, which takes its definitions from
> /usr/X11R6/lib/X11/config/ . 
> The definition of USE_NBSD_THREADLIB was made conditional on the kernel
> version with revision 1.70 of xsrc/xfree/xc/config/cf/ (from
> Jan 9), so I guess your xsrc is older than this date, and you didn't
> update xsrc when you updated the kernel and the src part of the userland.
> The cleanest solution would be to update and recompile xsrc.
> A hack which should also work would be removing 
> -DUSE_NBSD_THREADLIB from /usr/X11R6/lib/X11/config/
> (untested!), but then you might trip over similar errors later.

Thank you for tracking it down! (In the meantime I just commented
USE_NBSD_THREADLIB out of the Makefile, and openoffice compiled
successfully :-) )