Ken Moffat wrote:
> On Sat, Jan 04, 2014 at 12:46:56PM +0100, Thomas Trepl wrote:
>>
>> Note that some BLFS instructions in the book needs some tweaks in order to
>> work proper when installing via DESTDIR. Some packages do not take care about
>> DESTDIR but uses INSTALL_ROOT or even do not care about DESTDIR at all. I
>> needed only for 5 of over 400 packages a patch (rcs, unzip, zip, xinetd and
>> cdparanoia). For some other packages its a valid approach to specify the
>> destdir in the prefix-argument. That occurse mostly on packages without a
>> configure script where the install command looks like "make prefix=/usr
>> install".
>>
>   For INSTALL_ROOT, or no available DESTDIR-style install, I've noted
> that in the wiki for some packages.
>
>   In particular, anything using QT will probably need I_R instead of
> DESTDIR.  NB - I only use the DESTDIR approach when looking at a new
> package, or when editing the book.  There are also several packages
> which appear to respect DESTDIR but which do things requiring root
> privileges - only noticeable because if DESTDIR install fails, there
> are probably others where a DESTDIR install doesn't do everything
> but nevertheless ends successfully.

I don't know what I_R is, but my approach is similar to Ken's,  I only 
use DESTDIR when checking things for the book.  I almost always script 
packages and do note issues.  In some cases I find I need to create some 
directories, e.g. $DESTDIR/lib, when the instructions call for moving 
files around.  Generally, the reason that packages need to be installed 
in DESTDIR as root is because the Makefile wants to chown files during 
install.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to