Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2005 00:18:39 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Diane Bruce <db@db.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Just a note about include files in ports
Message-ID:  <p06230908bfb6d95fcb6d@[128.113.24.47]>
In-Reply-To: <20051203001127.GA3532@night.dbn>
References:  <20051129192509.GA54936@night.dbn> <20051129204003.GA56311@xor.obsecurity.org> <20051203001127.GA3532@night.dbn>

next in thread | previous in thread | raw e-mail | index | archive | help
At 7:11 PM -0500 12/2/05, Diane Bruce wrote:
>On Tue, Nov 29, 2005 at 03:40:03PM -0500, Kris Kennaway wrote:
>>  On Tue, Nov 29, 2005 at 02:25:09PM -0500, Diane Bruce wrote:
>>  > Hi,
>>  >
>  > > Be careful with includes in a port build. I have caught two
>  > > ports using the include files installed by a previous version
>...
>  > > can break or at least compile incorrectly if the port include
>  > > files change between releases. If you are lucky, it will fail.
>
>
>Seeing as Pav and others have refuted the KDE and GNOME include
>theory, I guess it is not a huge problem after all, since no one
>else has commented. ;-)

Actually, the bash port has tripped over this a few times, when it
is using a different version of readline than the one in the base
system.  In that case it was not tripping over the previous install
of the port, but tripping over a conflict between the base system
and the version the port wanted to use.

And as it happens, I tripped over something similar in a program
of my own (not a port), which I've been building for years.  In
some situations it would build with one version of an include
file (one it had), and then link with the library from the base
system (instead of the one the program builds for itself).  And
I tripped over that on the Sunday before Diane sent the message
that started this thread!  I'm sure this had caused errors for
me with my own program in the past, but this is the first time
that I noticed what the problem really was.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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