On Mon, Feb 23, 2009 at 01:15:16AM +0000, af300...@gmail.com wrote:
> Hi,
> My churches web server is having problems compiling world for FreeBSD  
> 7.0-p10 (I believe I just did the csup last night). It gets to this point  
> and then stops with this error:
> touch gtype-desc.h
> touch: No such file or directory

The file gtype-desc.h doesn't exist on my 7.1 system.
I think that this means that the 'touch' binary is missing. See below.

> A little history for what's going on; the server was not responding at all  
> so I took it home to diagnose (it was at a friends house, where it's  
> hosted). I turned it on and it booted up ok for me, which was a little odd  
> because he told me that it wasn't doing "anything." So, I began looking the  
> system over. Within 10 minutes the system became slow and was rather  
> unresponsive to things. For example, saves while running vim took 20  
> seconds or so. Within a few minutes the kernel panicked and I had to reboot.
> Before the panic I noticed that there were some background file system  
> checks going. So, since it was rebooting anyway I went into single user  
> mode and performed fsck on all of the partitions (except the root, that was  
> marked as clean). There were many problems fixed especially on the /usr  
> partition. I'm betting that this missing file, gtype-desc.h, happens to  
> have been one of the many problems fixed.

Touch should never complain about missing files, because one of its
purposes is to create files that don't exist. So it is probably the
'touch' binary itself is missing. Try 'which touch'. It should report
'/usr/bin/touch'. If it doesn't, touch is MIA.

It might be saved in the lost+found directory of the partition that
holds /usr/bin.
The easiest way to get it back is to just build touch. Or copy it from
the install/live-cd.

If your source tree really is corrupt, use csup(1) to update it.

R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpjdds54zYI9.pgp
Description: PGP signature

Reply via email to