Subject: Re: AIX 5.1 / pkgsrc
To: Laurent DAVERIO <daverio@cri.ensmp.fr>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 08/30/2004 17:05:02
On Mon, Aug 30, 2004 at 06:03:29PM +0200, Laurent DAVERIO wrote:
> 
> As requested, here are my results under AIX 5.1 (the script also fails, 
> although completely differently from 5.2). I got the same results with 
> two different compilers (gcc 2.95 RPM from IBM, gcc 3.3m fro the AIXPDS 
> librairy). Here are the messages :

Thanks for testing this on AIX 5.1.

> ===> bootstrap command: ./bootstrap
[snip]
> 
> ===> Installing pkgtools
> 
> [...]
> 
> /usr/pkg/bin/install-sh -c linkfarm.sh /usr/pkg/sbin/linkfarm
> /usr/pkg/bin/install-sh -c pkg_view.sh /usr/pkg/sbin/pkg_view
> /usr/pkg/bin/install-sh -c -m 444 linkfarm.1 /usr/pkg/man/man1/linkfarm.1
> /usr/pkg/bin/install-sh -c -m 444 linkfarm.cat1 /usr/pkg/man/cat1/linkfarm.0
> /usr/pkg/bin/install-sh -c -m 444 pkg_view.1 /usr/pkg/man/man1/pkg_view.1
> /usr/pkg/bin/install-sh -c -m 444 pkg_view.cat1 /usr/pkg/man/cat1/pkg_view.0
>         rm -f exec.o fexec.o file.o ftpio.o global.o lpkg.o path.o 
> pen.o  pkgdb.o plist.o str.o version.o libinstall.a
>         rm -f main.o perform.o futil.o extract.o verify.o pkg_add
>         rm -f main.o pkg_admin
>         rm -f main.o perform.o pl.o pkg_create
>         rm -f main.o perform.o pkg_delete
>         rm -f main.o perform.o show.o pkg_info
>         rm -f config.log config.status configure.lineno
>         rm -f Makefile */Makefile
>         rm -f lib/config.h
>         rm -f view/linkfarm.sh
>         rm -f view/pkg_view.sh
> Target ".PHONY" is up to date.
> make: 1254-002 Cannot find a rule to create target install from 
> dependencies.
> Stop.
> ===> exited with status 2

The good news is that the bootstrap kit almost completely builds and
installs on your machine.  It seems to only be getting hiccups at the
very end when installing pkg_install, which is the final bootstrap
package, and it appears to just be a makefile problem.  Could you
provide the complete log of the bootstrap process? That would help me
to get an idea of how the AIX make program works, and to see that the
rest of the bootstrap is indeed installing correctly.

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>