Subject: Re: cannot build openoffice under current
To: Thierry Lacoste <th.lacoste@wanadoo.fr>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 01/30/2005 10:19:09
On Sun, Jan 30, 2005 at 12:52:39AM +0100, Thierry Lacoste wrote:
> I have the following error when building misc/oppenoffice
> (I browsed the web but couldn't find something similar).
> 
> # uname -a
> NetBSD sirius 2.99.15 NetBSD 2.99.15 (MYKERNEL) #1: Sat Jan 29 01:37:24 CET 
> 2005  root@sirius.stars.net:/usr/obj/sys/arch/i386/compile/MYKERNEL i386
> 
> (MYKERNEL is essentially GENERIC_LAPTOP with acpi instead of apm) 
> 
> # cd /usr/pkgsrc/misc/openoffice
> # make
> [...]
> =============
> Building project nas
> =============
> /usr/pkgsrc/misc/openoffice/work/nas
> -------------
> cp 
> -f ./unxbsdi2.pro/misc/build/nas-1.6/lib/audio/libaudio.a ./unxbsdi2.pro/lib
> cp: ./unxbsdi2.pro/misc/build/nas-1.6/lib/audio/libaudio.a: No such file or 
> directory
> dmake:  Error code 1, while making 
> './unxbsdi2.pro/misc/build/so_predeliver_nas'
> ---* TG_SLO.MK *---

FWIW I posted a message to tech-pkg about this - I think you will see
further up the errors which caused libaudio to be built, and essentially
it's because Xtheads.h includes threadlib.h if USE_NBSD_THREADLIB is
defined. threadlib.h is deprecated in current, so the question is: where
is USE_NBSD_THREADLIB defined? (you will see it in .work.log, but I still
haven't found where it is set..)

Cheers,

Patrick