Subject: AIX 5.1 / pkgsrc
To: None <tech-pkg@netbsd.org>
From: Laurent DAVERIO <daverio@cri.ensmp.fr>
List: tech-pkg
Date: 08/30/2004 18:03:29
Hello,
I'm trying to install an up-to-date Apache on an AIX 5.1 server, and I
thought the best solution would be to install pkgsrc (pkgsrc helped me a
lot on Solaris servers some time ago). After searching the Web and the
tech-pkg archives, I found the following message (pkgsrc-bug #26730,
http://mail-index.netbsd.org/pkgsrc-bugs/2004/08/22/0000.html) which
indicated that the bootstrap script seemed to fail on AIX 5.2.
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 :
===> bootstrap command: ./bootstrap
===> bootstrap started: lun 30 ao˚ 17:35:12 DFT 2004
Working directory is: work
===> Building libnbcompat
===> running: (cd work/libnbcompat; /usr/bin/sh ./configure -C
--prefix=/usr/pkg --sysconfdir=/usr/pkg/etc && make)
configure: loading cache config.cache
checking build system type... (cached) powerpc-ibm-aix5.1.0.0
checking host system type... (cached) powerpc-ibm-aix5.1.0.0
[...]
===> Installing BSD compatible install script
[...]
===> Installing bmake
[...]
===> Installing tnftp
[...]
===> Installing digest
[...]
===> Installing pax
[...]
===> Installing mtree
[...]
===> Installing sed
[...]
===> 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
Hope this helps,
Laurent.
--
Laurent DAVERIO
Centre de Recherche en Informatique
de l'Ecole Nationale Supérieure des Mines de Paris (CRI-ENSMP)
35, Rue Saint-Honoré
77305 FONTAINEBLEAU CEDEX
FRANCE Tel: (+33|0) 1.64.69.48.37
Fax: (+33|0) 1.64.69.48.47
E-mail: laurent@daverio.net
http://daverio.net/
La Page Trad : http://trad.org/