Subject: Re: Bootstrapping and libnbcompat
To: None <firstname.lastname@example.org>
From: Jonathan Perkin <email@example.com>
Date: 08/12/2004 16:00:55
Content-Type: text/plain; charset=us-ascii
* On 2004-08-12 at 15:57 BST, firstname.lastname@example.org wrote:
> I'm trying to bootstrap a new pkg tree on a Solaris 2.7 machine and
> have run into a problem. archivers/pax is using long options
> (getopt_long) however this functionality is not being supplied by
> libnbcompat. I'm not very good with autoconf but it appears that the
> configure.ac script for libnbcompat looks for getopt.h on the system
> and builds getopt_long if it is available. This is the opposite of
> what I'd expect since the system would need getopt_long in the absence
> of a c library version.
Yes, I noticed this yesterday - `struct option' is missing from Solaris'
getopt.h. I added ifdef(_sun_) or similar to nbcompat/getopt.h but
didn't get time to work out how this is hooked into the build (probably
an ifdef in config.h somewhere).
Grant will probably beat me to fixing it, but in case it gets lost in
the cracks could you submit a PR for solaris-pkg-people?
Jonathan Perkin The NetBSD Project
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----