Subject: Re: [Fwd: pkgsrc on Red Hat 7.3]
To: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/11/2004 19:43:16
--Z1Z8UV8BNhgCynIS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 11, 2004 at 10:34:14AM +0200, Ognyan Kulev wrote:

> >please let me know if pkg_install builds from pkgsrc for you now.
>=20
> I see that you have merged pkg_install, so I tried again.  This time,=20
> the following error occured:
>=20
> gcc -DHAVE_CONFIG_H -DBINDIR=3D\"/usr/pkg/sbin\"=20
> -DMTREE_CMD=3D\"/usr/pkg/sbin/mtree\" -DTAR_CMD=3D\"/usr/pkg/bin/tar\"=20
> -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

yes, that is my fault.

until bootstrap-pkgsrc is merged with pkgsrc, I need to emulate the
code in the pkgsrc .mk files which defines MACHINE_ARCH :(

grant.


--Z1Z8UV8BNhgCynIS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAKeskluYOb9yiFXoRAjSPAKCtd2Y6jUbSjCtMp9wrlPqqcc8wNQCfcvvS
AwFuRjQOGwYBnA3qQ3I6VXY=
=bqMl
-----END PGP SIGNATURE-----

--Z1Z8UV8BNhgCynIS--