libtool
[Top][All Lists]
Advanced

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

Re: dlopen, DESTDIR, library dependencies and "cannot install" error


From: Peter O'Gorman
Subject: Re: dlopen, DESTDIR, library dependencies and "cannot install" error
Date: Mon, 09 Jan 2012 09:44:03 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

On 01/09/2012 09:31 AM, Diab Jerius wrote:

make DESTDIR=/home/dj/stage prefix=/rbtree-1.0.9 exec_prefix=/rbtree-1.0.9/x86 
install

The resultant file hierarchy is shallower:

/home/dj/stage
/home/dj/stage/rbtree-1.0.9
/home/dj/stage/rbtree-1.0.9/x86
/home/dj/stage/rbtree-1.0.9/x86/lib
/home/dj/stage/rbtree-1.0.9/x86/lib/pkgconfig
/home/dj/stage/rbtree-1.0.9/include
/home/dj/stage/rbtree-1.0.9/include/rbtree

and works well with the graft program.

In the context of my original question vis-a-vis libtool, I've been
using this approach for many years with a large number of distributions
which use libtool and have never had libtool refuse to install a library
into the staging area.

I'm sorry, but what you're doing isn't supported, even though it worked for you previously with libraries that did not require relinking.

I can only suggest make install DESTDIR=... ; and then mv the subdirs you want.

Peter



reply via email to

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