Subject: Re: pkgsrc on AIX?
To: grant beattie <grant@NetBSD.org>
From: Michael W. Lucas <mwlucas@blackhelicopters.org>
List: tech-pkg
Date: 10/01/2003 13:49:46
On Thu, Sep 25, 2003 at 08:23:45AM +1000, grant beattie wrote:
> On Tue, Sep 23, 2003 at 02:16:28PM -0400, Michael W. Lucas wrote:
>
> > > > lukemftp installation failed.
> > >
> > > Which version of bootstrap-pkgsrc do you use?
> >
> > The tarball.
> >
> > I'll get the CVS version tomorrow and see what I can do.
>
> I've put up a new tarball in the usual place:
>
> ftp://ftp.NetBSD.org/pub/NetBSD/packages/bootstrap-pkgsrc.tar.gz
>
> grant.
Hi,
I got a chance to try this new tarball on my AIX test box today, and
it died in libnbcompat with the following error. Does this look
familiar to anyone?
...
config.status: creating nbcompat/config.h
gcc -o bits bits.c
./bits nbcompat/nbtypes.h
nawk ' BEGIN { process = 1 } /NBCOMPAT template section follows\./ { process = 0 } /^\#[ ]*define[ ]+PACKAGE_.*/ { next } /^\#[ ]*define[ ]+/ { if (process == 1) { guard = $0; sub("^\#[ ]*define[ ]+", "", guard); sub("[ ]+.*", "", guard); print "#ifndef " guard; print $0; print "#endif"; next; } } { print } ' nbcompat/config.h > nbcompat/nbconfig.h
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -c getopt_long.c
In file included from getopt_long.c:43:
nbcompat.h:384: parse error before "int"
getopt_long.c: In function `getopt_long':
getopt_long.c:425: arithmetic on pointer to an incomplete type
getopt_long.c:425: dereferencing pointer to incomplete type
getopt_long.c:427: arithmetic on pointer to an incomplete type
getopt_long.c:427: dereferencing pointer to incomplete type
getopt_long.c:431: arithmetic on pointer to an incomplete type
getopt_long.c:431: dereferencing pointer to incomplete type
getopt_long.c:449: arithmetic on pointer to an incomplete type
getopt_long.c:449: dereferencing pointer to incomplete type
getopt_long.c:450: `no_argument' undeclared (first use in this function)
getopt_long.c:450: (Each undeclared identifier is reported only once
getopt_long.c:450: for each function it appears in.)
getopt_long.c:458: arithmetic on pointer to an incomplete type
getopt_long.c:458: dereferencing pointer to incomplete type
getopt_long.c:459: arithmetic on pointer to an incomplete type
getopt_long.c:459: dereferencing pointer to incomplete type
getopt_long.c:464: arithmetic on pointer to an incomplete type
getopt_long.c:464: dereferencing pointer to incomplete type
getopt_long.c:464: `required_argument' undeclared (first use in this function)
getopt_long.c:465: arithmetic on pointer to an incomplete type
getopt_long.c:465: dereferencing pointer to incomplete type
getopt_long.c:465: `optional_argument' undeclared (first use in this function)
getopt_long.c:468: arithmetic on pointer to an incomplete type
getopt_long.c:468: dereferencing pointer to incomplete type
getopt_long.c:477: arithmetic on pointer to an incomplete type
getopt_long.c:477: dereferencing pointer to incomplete type
getopt_long.c:489: arithmetic on pointer to an incomplete type
getopt_long.c:489: dereferencing pointer to incomplete type
getopt_long.c:490: arithmetic on pointer to an incomplete type
getopt_long.c:490: dereferencing pointer to incomplete type
getopt_long.c:502: arithmetic on pointer to an incomplete type
getopt_long.c:502: dereferencing pointer to incomplete type
getopt_long.c:503: arithmetic on pointer to an incomplete type
getopt_long.c:503: dereferencing pointer to incomplete type
getopt_long.c:503: arithmetic on pointer to an incomplete type
getopt_long.c:503: dereferencing pointer to incomplete type
getopt_long.c:506: arithmetic on pointer to an incomplete type
getopt_long.c:506: dereferencing pointer to incomplete type
make: 1254-004 The error code from the last command is 1.
Stop.
===> exited with status 2
aborted.
--
Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org
Today's chance of throwing it all away to start a goat farm: 41.8%
http://www.BlackHelicopters.org/~mwlucas/
Absolute OpenBSD: http://www.AbsoluteOpenBSD.com/