Subject: Re: [Fwd: pkgsrc on Red Hat 7.3]
To: grant beattie <grant@NetBSD.org>
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
List: tech-pkg
Date: 02/11/2004 10:34:14
/* Cc: tech-pkg */

grant beattie wrote:
> this problem should now be fixed in pkgsrc/pkgtools/pkg_install. I
> have some other changes to make, and then I'll be updading the
> versions in bootstrap-pkgsrc.
> 
> please let me know if pkg_install builds from pkgsrc for you now.

I see that you have merged pkg_install, so I tried again.  This time, 
the following error occured:

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: `MACHINE_ARCH' undeclared (first use in this function)
perform.c:302: (Each undeclared identifier is reported only once
perform.c:302: for each function it appears in.)
*** Error code 1

Stop.
bmake: stopped in /tmp/bootstrap-pkgsrc/pkg_install/add
*** Error code 1

What is the problem and can I fix it?

Regards,
ogi