lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Samba] [ANNOUNCE] Samba 3.2.2 Available for Download



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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba