public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	"linux-rdma
	(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] ibacm: Fixes to ACM package to support distros
Date: Thu, 05 Apr 2012 19:15:47 +0000	[thread overview]
Message-ID: <4F7DEF63.70909@acm.org> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A823734519B048-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-04-05 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 19:10 [PATCH] ibacm: Fixes to ACM package to support distros Hefty, Sean
     [not found] ` <1828884A29C6694DAF28B7E6B8A823734519A805-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-04-05 16:10   ` Doug Ledford
     [not found]     ` <4F7DC3F8.2030406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-05 19:10       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A823734519B048-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-04-05 19:15           ` Bart Van Assche [this message]
2012-04-05 19:21           ` Doug Ledford
     [not found]             ` <4F7DF0D4.5040101-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-06  4:43               ` Hefty, Sean
2012-04-05 20:40           ` Jason Gunthorpe
     [not found]             ` <20120405204038.GA6575-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2012-04-06  4:35               ` Hefty, Sean
2012-04-17 16:33               ` Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7DEF63.70909@acm.org \
    --to=bvanassche-hinycgiudog@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox