Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 22:32:34 +0200
From:      Riccardo Torrini <riccardo@torrini.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Is there a header conflict?
Message-ID:  <20030422203234.GE2843@trudy.torrini.home>
In-Reply-To: <3EA5A2EA.F334CED8@mindspring.com>
References:  <20030422031429.GA82023@chihiro.leafy.idv.tw> <3EA4C0D3.8F7CF9EE@mindspring.com> <20030423041754.N18663@gamplex.bde.org> <3EA5A2EA.F334CED8@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 22, 2003 at 01:15:38PM -0700, Terry Lambert wrote:

> This is probably an "upgraded" system that failed to delete an
> old header file, and, as a result, the "configure" program for
> the package found it and decided to include it.

# ls -ln /usr/include/machine/*types.h
-r--r--r--  1 0  0  8634 Sep  7  2002 /usr/include/machine/_inttypes.h
-r--r--r--  1 0  0  4671 Apr 19 21:57 /usr/include/machine/_types.h
-r--r--r--  1 0  0  2723 Sep  8  2002 /usr/include/machine/cputypes.h
-r--r--r--  1 0  0  2449 Sep  8  2002 /usr/include/machine/types.h

This machine born some years ago, last world from April, 19, previous
from March, 29 (at least 2/3 at a month).


> If you have /usr/include/machine/_types.h, then:
> 	rm /usr/include/machine/types.h

Ok, now is removed.  But I think would be a "make installworld" job.

Anyway, from time to time, I remove /usr/include and do a make includes
but what happens if I forgot to make "order" ?  Same problem with old
libraries (my system comes from Febrary 20, 1999, always upgraded).
How can I safetly remove unused stuff?


-- 
Riccardo.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422203234.GE2843>