Re: Bug#615476: general: many binaries are linked with non-existent libtiff.so.3 library
- To: debian-devel@lists.debian.org
- Subject: Re: Bug#615476: general: many binaries are linked with non-existent libtiff.so.3 library
- From: Vincent Danjean <vdanjean@debian.org>
- Date: Tue, 01 Mar 2011 10:16:39 +0100
- Message-id: <[🔎] 4D6CB977.1030005@debian.org>
- In-reply-to: <87lj119dma.fsf@gmx.at>
- References: <20110226182553.12534.41167.reportbug@fc3.ru> <1298745818.535.6033.camel@hathi.jungle.funky-badger.org> <20110227142541.adcca5e7.sergey_ifeo@rambler.ru> <20110227143330.0bdf3a98.sergey_ifeo@rambler.ru> <20110227182752.0611bb4f.sergey_ifeo@rambler.ru> <20110227183331.GU21278@debian.org> <20110227225227.1ef9d276.sergey_ifeo@rambler.ru> <20110227230431.GE10272@p12n.org> <AANLkTiky94dbkX3icgMqT40Th00uK3By+s7a2tCXX-p7@mail.gmail.com> <20110228002530.GB6656@khazad-dum.debian.net> <AANLkTi=mf=qHHVkQeaZu7fUZipTeiB_6+p8giXwPbqyN@mail.gmail.com> <87lj119dma.fsf@gmx.at>
Hi,
On 28/02/2011 02:01, Andreas Rottmann wrote:
> Most software allows this without issues -- just run "./configure
> --prefix=$HOME". You need to adjust $PATH and $LD_LIBRARY_PATH inside
> your shell startup scripts, and you're done.
>
> I'd however strongly suggest not adding any additional directories in
> $HOME by default (e.g. via /etc/skel.d) -- how to organize this should
> be the users' choice. I for example use
> --prefix="$HOME/.system/stow/<PACKAGE>" for each individual software
> package, so I can quickly remove and reinstate them using GNU
> Stow. Having ~/lib and ~/share, ~/bin, etc. unconditionally created in
> my home directory would just be useless clutter.
I also use stow but in a slightly different way : with your setup,
the software has the knowledge of the stow directory structure.
For examples, it would search its plugins in
$HOME/.system/stow/<PACKAGE>/share/<PACKAGE>
If I try to install other plugins with stow in
$HOME/.system/stow/<PLUGIN_PACKAGE>/share/<PACKAGE>
they won't be found (nor in $HOME/.system/share/<PACKAGE>
where symlinks are created by stow).
So, I configure my software with :
./configure --prefix="$HOME/.system" ...
But I install them with :
make install DESTDIR=$HOME/.system/stow/<PACKAGE>
mv $HOME/.system/stow/<PACKAGE>/$HOME/.system/* $HOME/.system/stow/<PACKAGE>
rmdir --parents $HOME/.system/stow/<PACKAGE>/$HOME/.system
cd $HOME/.system/stow/
stow <PACKAGE>
Regards,
Vincent
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
Reply to: