Pmt

Forcing PMT to be in /usr/local/lib is a problem. Why shouldn’t I
check in
a “fix”?

Bob

On Wed, Jun 25, 2008 at 11:17:01PM -0400, Bob McGwier wrote:

Forcing PMT to be in /usr/local/lib is a problem. Why shouldn’t I check in
a “fix”?

A: What’s the problem?

B: Where did you get the idea that PMT is forced into /usr/local/lib?
Unless I missed something it follows --prefix just like the rest of
the known universe.

Eric

On Wed, Jun 25, 2008 at 10:19 PM, Eric B. [email protected] wrote:

Unless I missed something it follows --prefix just like the rest of
the known universe.

Just to follow up, if you re-run ‘configure’ with a different prefix,
you need to do a ‘make clean’ first before you attempt to re-install.
Libtool will have encoded the prior prefix into its linked object
files, and will complain when it tries to re-link for installation
with the new prefix.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com/

Libtool is very evil. But like the rest of autotools, very useful.

Philip

Quoting Eric B. [email protected]:

On Wed, Jun 25, 2008 at 11:17:01PM -0400, Bob McGwier wrote:

Forcing PMT to be in /usr/local/lib is a problem. Why shouldn’t I check
in
a “fix”?

A: What’s the problem?

It’s a problem when you don’t have root/sudo privileges.

B: Where did you get the idea that PMT is forced into /usr/local/lib?
Unless I missed something it follows --prefix just like the rest of
the known universe.

From a completely clean system that had never seen GNU Radio before, I
configured with --prefix=/somelocaldir and make install came back with
all
sorts of errors because it couldn’t install stuff to /usr/local/lib.

Tom

Thanks for your quick assistance. It is amazing to me how often I take
these complex tools (such as libtool) for granted and assume they will
always work perfectly.

Bob