On 04/05/12 19:10, Hefty, Sean wrote:
> I create a .tar.gz package using 'make dist', copy it to another
> system, then> install it using 'configure && make install'. When I
> do that, sysconfdir defaults to /usr/local/etc, sbindir /usr/local
> /sbin, and bindir to /usr/local/bin. I added /usr/local to PATH, so
> that the init script would work. Otherwise I get a 'command not
> found' error when running the script. On a side note, my ibacm
> configuration files end up in /usr/local/etc/rdma.
>
> To say that I'm not sure what autotools and the init scripts are doing
> is an understatement... The init script finds ibacm in /usr/sbin,
> but not /usr/local/sbin where it ended up being installed. I'm not
> sure how to fix that.
On an RPM-based system invoking configure as follows helps a lot:
rpm --eval '%configure' |
sed "s|\(\./configure \)|\1 --disable-static $@|" |
sh
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]