On 8/2/15, linuxcbon linuxcbon <[email protected]> wrote: >> On Jul 28, 2015, at 20:31, René Rebe <[email protected]> wrote: >> >> Hi, >> >> the pkgconfig should be in the associated $prefix/$libdir >> >> So packages installed into /opt/$pkg /usr/local/ /usr/X11/ etc. have have >> their associated pkgconfig in that place. >> >> René > > > Hi René, > > is it possible that you change your scripts so that only > /usr/lib/pkgconfig/ will be used ? > Or at least, as most of possible. > What programs and libraries are not in the standard place ? Can you > please give the list ? > (I don't have the hand on it right now). Is it possible you correct them ? > > Cheers > linuxcbon > >
The "standard" does not have to be only /usr/lib/pkgconfig, as Rene has said. The 'pkgconfig' folder is allowed to be in multiple places. As long as variable PKG_CONFIG_PATH is set correctly, all should be well. Ubuntu 15.10 Wily Werewolf for example, has this: PKG_CONFIG_PATH='/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig' ...yep, even in /usr/share! However, a wrongly designed configure script in a source package may not respect the PKG_CONFIG_PATH variable, unfortunate but it happens.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
