Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-08-26 10:17:08


[2003-08-26] Rene Rivera wrote:

>[2003-08-26] John Maddock wrote:
>
>>> OK, I have some more feedback on the install mechanism - this time I've
>>> tried it out under linux:
>>>
>>> I'm a little surprised by the destination of the copied files: libraries
>>> under /usr/local/lib/some-platform-name/ for example, I had expected
them
>>to
>>> just go in /usr/local/lib. Is there some kind of GNU recomended
practice
>>> for this? Likewise for headers files.
>>
>>You may already have seen this but:
>>http://www.gnu.org/prep/standards_54.html#SEC54 looks relevant here.
>
>Nope, haven't had a chance to investigate your questions. I've been busy at
>work :-( I'm looking now though ;-)

That GNU link doesn't help much :-( -- as in it's stuff I already knew. I
looked at the LSB also, but it fails to mention anything about subdirs in
lib. Some browsing around does reveal that it's not an uncommon practice to
install libs to ../lib/<package>, for example emacs, X11, pth, python, and
more. Also one particular example, one which is very apropos for us, is
installing to ../lib/<package>/<architecture>/.. -- GCC does this. Of course
GCC does it so it can select platform and versions from a single front end
:-) I'll go search the Boost.Install list to see if there was any conclusion
on this issue.

As for includes it is very common to install to
../include/<package-version>/.. -- examples include: glib, gtk, libintl,
mysql, orb, php, postgresql, pth, python, and many others. For us it's
essential as headers are not compatible from version to version.

-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk