RPM Community Forums

Mailing List Message of <popt-devel>

popt-1.16 configure bug - wrong pkgconfig path

From: Michael Builov <mbuilov@gmail.com>
Date: Fri 18 Mar 2011 - 02:11:36 CET
Message-ID: <AANLkTimYk4qP+Mx+NijUeS1CgUXds4FQfOSO3dg5GTtY@mail.gmail.com>
Hello.

I have multilib linux system,
32-bit libraries are installed into /usr/lib and
64-bit libraries - into /usr/lib64

After configuring popt-1.16 via
CC="gcc -m64" CXX="g++ -m64" ./configure --prefix=/usr --libdir=/usr/lib64

produced Makefile contains instructions to install popt.pc into
pkgconfigdir = /lib/pkgconfig

which will be "/usr/lib" in my case, but not "/usr/lib64" - as I want
by specifying "--libdir=/usr/lib64".

Libraries (libpopt.a, libpopt.so) and libtool lbrary file (libpopt.la)
installed correctly into /usr/lib64.


This behavior differs from other projects, for example
http://ftp.gnu.org/pub/gnu/libidn/libidn-1.18.tar.gz

which installs libidn.pc into
pkgconfigdir = /pkgconfig
being configured in the same way.


So I suppose popt.pc should be also installed into
pkgconfigdir = /pkgconfig
but not into
pkgconfigdir = /lib/pkgconfig
otherwise 64-bit popt installation breaks my previous 32-bit popt installation.


Regads,
Michael.
Received on Fri Mar 18 02:41:37 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.