pkgconfig-0.15.0 install problem

Priit Voolaid priitv at ut.ee
Sun Feb 1 06:07:22 PST 2004


Hello!

I've followed the instructions for pkgconfig-0.15.0 installation in
BLFS5.0-book.

./configure --prefix=/usr &&
make &&
make install

"./configure" and "make" run without errors.
But after execution of "make install", the installation procedure is
interrupted with following errormsg.:

make[1]: Entering directory `/usr/src/xfce/pkgconfig-0.15.0'
make[2]: Entering directory `/usr/src/xfce/pkgconfig-0.15.0'
/bin/sh ./mkinstalldirs --prefix/usr/bin
mkdir ./--prefix
mkdir ./--prefix/usr
mkdir ./--prefix/usr/bin
 /bin/sh ./libtool  --mode=install /bin/install -c  pkg-config
--prefix/usr/bin/pkg-config
libtool: install: `--prefix/usr/bin' must be an absolute directory name
Try `libtool --help --mode=install' for more information.
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/usr/src/xfce/pkgconfig-0.15.0'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/xfce/pkgconfig-0.15.0'
make: *** [install-recursive] Error 1

It seems, it is due wierd behaviour of ./configure script. It generates a
Makefile with unusable prefix variable. Here's the top of "./configure
--prefix=/usr" generated Makefile:

SHELL = /bin/sh

srcdir = .
top_srcdir = .
prefix = --prefix/usr
exec_prefix = ${prefix}

As you can see prefix is marked as --prefix/usr insted of /usr. After
manually correcting this to /usr, "make install" runs flawlessly.

Is it a bug of some program? I've seen this kind of error-messages while
trying to install fontconfig-2.2.1 (libtool complaining about absolute
path). Can someone help me?

I apologize for my bad english.
Priit




More information about the blfs-support mailing list