[Top][All Lists]

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

Re: --disable-rpath does not work for me

From: Chris Frey
Subject: Re: --disable-rpath does not work for me
Date: Wed, 17 Aug 2011 21:39:44 -0400
User-agent: Mutt/

On Sat, Aug 13, 2011 at 07:34:54PM +0200, Bruno Haible wrote:
> Hi,
> Chris Frey wrote in
> <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00423.html>:
> > I am trying to create a configure / autotools setup for my package
> > in which the --disable-rpath option avoids any hardcoded rpaths in
> > the final program output.
> > 
> > I have a simple testcase that I'd like to get this working in:
> > 
> >     http://pages.netdirect.ca/~cdfrey/disable-rpath-0.1.tar.gz
> > 
> > I'd like to be able to compile it and install it into a directory
> > such as /tmp/libtestcase, such that /tmp/libtestcase/bin/testcase
> > has no RPATH setting.
> > 
> > The --disable-rpath option looks promising.  Unfortunately, in
> > packages that include it, I can't seem to get it working.
> > 
> > Am I on the right track?  Or is --disable-rpath meant for something else?
> > What changes should I make to the above testcase to achieve
> > rpath-less installs?
> --disable-rpath is meant in the way you describe, but affects only some
> specific gnulib macros. Unfortunately your testcase is no longer available
> under that URL. (I'm looking at it only today, because your mail came on a day
> when bug-gnulib was very busy on other topics.)

Hi Bruno,

I've since gone with my own autoconf hack to accomplish this, which is based
on other similar hacks I've found on the net. :-)  So I'm ok now.

What I didn't realize when I wrote my test case is that --disable-rpath
has a narrower scope than what I needed.

Thanks for getting back to me, though.

- Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]