> > 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.
> 
> configure --prefix=/usr --sysconfdir=/etc && make && make install

I should have mentioned that this is on my development systems.  I'd like to 
avoid using rmp's or needing to pass in extra configure options.  I'd like it 
to 'just work' in all cases.  :/

> > 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,
> 
> Which means some time it got installed there, either by an rpm or
> something else.

I manually copied the file there to see if the init script would find it.

> make dist
> rpmbuild --rebuild <name_of_tarball>
> rpm -Uvh ~/rpmbuild/RPMS/<arch>/<rpmlist>
> 
> You might need this in your ~/.rpmmacros file:
> 
> %_topdir %(echo $HOME)/rpmbuild

thanks - I'll try to test the rmp installation as well.

- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to