Subject: RE: "machine" definition has been lost
To: 'tech-pkg@netbsd.org' <tech-pkg@netbsd.org>
From: Mitch Russell <Mitch.Russell@tvguide.com>
List: tech-pkg
Date: 05/22/2003 09:41:31
At this point, I'm not sure at all. I'm new to NetBSD, but I started =
with
Ultrix ;-). Yes, the system is fast. I'm just looking at what binaries =
are
available for quicker load. PostgreSQL is sure slow to build...
-----Original Message-----
From: Pierre Bourgin [mailto:pierre.bourgin@pcotech.fr]
Sent: Thursday, May 22, 2003 9:26 AM
To: 'tech-pkg@netbsd.org'
Subject: Re: "machine" definition has been lost
Mitch Russell a =E9crit:
> Martin - the logical link was already there.
>=20
> Pierre - reloaded the comp.tgz set. Got another error:
>=20
> In file included from digest.c:51:
> /usr/include/stdio.h:51: warning: empty declaration
> digest.c: In function `MD5File':
> digest.c:85: warning: assignment makes pointer from integer without a =
cast
> cc -DHAVE_CONFIG_H -I. -I. -I/usr/pkg/include -O2 -I/usr/pkg/include =
-c
> exec.c -o exec.o
> ...
Does your box has a coherent state, like binaries, kernel and header=20
files comes from the same version of NetBSD ?
> I think a good interpretation of this is "foobar", and I just need to
> reload. It's just going to take some time...
about 10 minutes (for the system) ;-)
Cheers,
Pierre Bourgin
> Thanks anyway.
>=20
> -----Original Message-----
> From: Pierre Bourgin [mailto:pierre.bourgin@pcotech.fr]
> Sent: Thursday, May 22, 2003 8:38 AM
> To: Mitch Russell
> Cc: 'tech-pkg@netbsd.org'
> Subject: Re: "machine" definition has been lost
>=20
>=20
>=20
> Mitch Russell a =E9crit:
>=20
>=20
>>1. I reloaded the packages on a development system, losing my changes =
in
>>/etc and such.
>>2. Now I cannot build any packages in pkgsrc.
>>3. I have even wiped and reloaded pkgsrc.
>>
>>Error:
>>In file included from /usr/include/stdio.h:44,
>> from digest.c:51:
>>/usr/include/sys/ansi.h:42: machine/int_types.h: No such file or =
directory
>>
>>Can this be fixed or do I need to reload the entire system?
>=20
>=20
> it seems your /usr/include/machine/ has been disapeared. This easier=20
> solution is get this files back from the comp.tgz distribution sets =
and=20
> see what happens:
>=20
> % cd /
> % tar xzpvf /..../NetBSD-<version>/<arch>/binary/sets/comp.tgz \
> ./usr/include
>=20
> ... your box must a in a strange state if even some system .h files =
are=20
> missing :(
>=20
> Regards,
>=20
> Pierre Bourgin
>=20
>=20