Subject: boostrap pkgsrc in Solaris9
To: None <tech-pkg@NetBSD.Org>
From: =?iso-8859-1?b?UmH6bA==?= Alvarez Venegas <rav@ucol.mx>
List: tech-pkg
Date: 02/10/2004 14:06:32
Hello,
We retrieved the source files from CVS to bootstrap pkgsrc in Solaris 9 on a Sun
Ultra10 and got the following error message
# sh bootstrap
[...]
..
Checking for MACHINE & MACHINE_ARCH... defaults: MACHINE=sunos5,
MACHINE_ARCH=sun4
Using: MACHINE=sunos5, MACHINE_ARCH=sun4
updating cache ./config.cache
..
a - str.o
a - version.o
ranlib libinstall.a
gcc -DHAVE_CONFIG_H -DBINDIR=\"/usr/pkg/sbin\"
-DMTREE_CMD=\"/usr/pkg/sbin/mtree\" -DTAR_CMD=\"/usr/
pkg/bin/tar\" -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib -g -O2 -c
main.c
gcc -DHAVE_CONFIG_H -DBINDIR=\"/usr/pkg/sbin\"
-DMTREE_CMD=\"/usr/pkg/sbin/mtree\" -DTAR_CMD=\"/usr/
pkg/bin/tar\" -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib -g -O2 -c
perform.c
perform.c: In function `pkg_do':
perform.c:302: error: `MACHINE_ARCH' undeclared (first use in this function)
perform.c:302: error: (Each undeclared identifier is reported only once
perform.c:302: error: for each function it appears in.)
*** Error code 1
Stop.
bmake: stopped in /tmp/bootstrap-pkgsrc/pkg_install/add
*** Error code 1
Stop.
bmake: stopped in /tmp/bootstrap-pkgsrc/pkg_install
===> exited with status 1
aborted.
We are using gcc-3.3 from the Companion CD. Any help or comment is appreciated.
I thank you,
Raul