LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [./configure] "libtool does not seem to be installed"... Even though it is. (https://www.linuxquestions.org/questions/linux-software-2/%5B-configure%5D-libtool-does-not-seem-to-be-installed-even-though-it-is-489745/)

ayteebee 10-05-2006 02:25 PM

[./configure] "libtool does not seem to be installed"... Even though it is.
 
I'm trying to install attr-2.4.32. It's apparently needed for kdelibs-3.5.4 .

When I try to configure it I get the following output:

Code:

op3n:/home/andy/downloads/attr-2.4.32 # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gmake... /usr/bin/gmake
checking for glibtool... no
checking for libtool... no

FATAL ERROR: libtool does not seem to be installed.
attr cannot be built without a working GNU libtool installation.

But I have libtool! I was pretty sure I already had it, but I downloaded and installed it again, just to make sure.

I thought that perhaps because I compiled libtool from source, it would have installed it into /usr/local and configure might not look there?

Is there any way I can feed some arguments to configure to tell it where to look for libtool, or can I create a symbolic link somewhere? Or have I installed libtool incorrectly?

All help much appreciated :D .

AviJacobson 10-05-2006 03:07 PM

Wondering if this is a PKG_CONFIG_PATH issue
 
I just posted a solution for a problem I had encountered where ./configure could not find a package I had compiled from source. I don't know if your problem is similar, but you might want to read my posting.

Good luck. Let us know if this works.

ayteebee 10-05-2006 03:12 PM

AHA! I found <a href="http://www.linuxquestions.org/questions/showthread.php?t=321389">this thread</a> and it seemed like a similar problem.

Instead of installing libtool to the default /usr/local, I set the prefix to /usr and it seems to work fine.

Code:

# ./configure --prefix=/usr
Now I just have to do the rest of the installations... Ugh... :S

ayteebee 10-05-2006 03:19 PM

Oh hey, thanks AviJackson. Didn't see your post there... :)

I guess I could have tried that, but I'm not too familiar with environment variables. Would I have to do something like:

Code:

# LIBTOOL_CONFIG_PATH=/usr/local/libtool
# export LIBTOOL_CONFIG_PATH
# ldconfig
# ./configure
# make
# make install

?

Or am I completely lost? Hehe :D

AviJacobson 10-05-2006 03:26 PM

Not LIBTOOL_CONFIG_PATH, but PKG_CONFIG_PATH
 
By the way, it's "Jacobson." :)

The environment variable PKG_CONFIG_PATH tells pkg-config where to look for libraries that are located in a "nonstandard prefix."

Here is a little more information, and you can get tons more by googling PKG_CONFIG_PATH.

ayteebee 10-05-2006 03:56 PM

Oh nice :). Thanks Jacobson!


All times are GMT -5. The time now is 05:49 AM.