LFS 5.0 - pkgconfig-0.15.0 - PKG_CONFIG_PATH

Tushar Teredesai tushar at linuxfromscratch.org
Wed Feb 11 17:24:17 PST 2004


Albert wrote:

>That might explain it then.  Are you saying pkg-config compiles in the
><prefix >/lib/pkgconfig path?  There is more than one way to install
>into <prefix>.   I use a package management tool like stow.  I install
>into another prefix and then link the files to <prefix>.  That seems
>like a bug to me.  pkg-config would be more robust and flexible if it
>didn't do that.
>  
>
If you are using a link based package management system, the proper way 
to install is to use

    ./configure --prefix=/usr &&
    make &&
    make DESTDIR=/usr/stow/pkgconfig

and not

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



More information about the blfs-support mailing list