Subject: Re: pkgsrc on AIX?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Michael W. Lucas <mwlucas@blackhelicopters.org>
List: tech-pkg
Date: 09/23/2003 13:54:29
On Tue, Sep 23, 2003 at 10:13:04AM -0700, Jeremy C. Reed wrote:
> On Tue, 23 Sep 2003, Michael W. Lucas wrote:
> 
> > While I see lots of commit messages involving AIX in pkgsrc, I don't
> > see a notice anywhere that pkgsrc officially supports AIX, and I don't
> > see a bootstrap kit for it either.  Is pkgsrc on AIX just a work in
> > progress?  If not, is a bootstrap kit available somewhere?
> 
> Have a look at
> http://www.netbsd.org/Documentation/software/packages.html#bootstrap
> 
> Give the tarball or the CVS version of othersrc/bootstrap-pkgsrc a try. (I
> don't remember how often the tar ball is recreated.)
> 
> And please share your feedback to the list. Thanks.
> 
>    Jeremy C. Reed
>    http://bsd.reedmedia.net/

Thanks!  Here's some feedback.  :-)

Gave this a try, and it failed with:

fetch.c: In function `auth_url':
fetch.c:101: warning: assignment makes pointer from integer without a cast
fetch.c: In function `fetch_url':
fetch.c:555: warning: assignment makes pointer from integer without a cast
        gcc -I. -I./.. -I. -I.. -I./../libedit  -I./../libukem -g -O2 -c ftp.c
ftp.c: In function `hookup':
ftp.c:240: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
ftp.c: In function `initconn':
ftp.c:1574: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
ftp.c:1601: structure has no member named `sin6_scope_id'
ftp.c: In function `dataconn':
ftp.c:1691: warning: passing arg 3 of `naccept' from incompatible pointer type
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
lukemftp installation failed.
# 

My first thought is to blame gcc, which is version 3.0.1.  Does pkgsrc
require a particular version of gcc?  The page doesn't say.

Thanks!

==ml

-- 
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/