[Samba] [ANNOUNCE] Samba 3.2.2 Available for Download
Nicholas Brealey
nick at brealey.org
Sun Aug 31 09:24:43 GMT 2008
Gary Greene wrote:
>> /opt/samba/bin, /opt/samba/lib and RPATH=$ORIGIN/../lib would be OK.
>>
>> /usr/local/bin, /usr/local/lib and RPATH=$ORIGIN/../lib would bad.
>>
>> /usr/bin, /usr/lib and RPATH=$ORIGIN/../lib would be very bad.
>>
>> Nick
>
> This is not true. The reason most distributions cannot use RPATH is that when
> packaging, you build a package into a temp root for the packaging software to
> turn into a package. In this case, you'd get unusable RPATHs since it'd be
> sometime like <PATH TO BUILDROOT>/usr/lib, etc.
>
>
I don't think this is a valid reason.
If you follow the GNU/GNU Make/autoconf guidelines you should be able to do:
configure --prefix=/usr/local
gmake
gmake DESTDIR=/tmp/package install
Then package the files in /tmp/package.
The Samba Makefile uses DESTDIR.
Regards
Nick
More information about the samba
mailing list