--variable=prefix returns nothing

Dan Nicholson dbn.lists at gmail.com
Thu Jun 24 23:11:18 PDT 2010

On Wed, Jun 23, 2010 at 2:01 PM, Vincent Torri <vincent.torri at gmail.com> wrote:
> hey,
> we have a perfectly valid .pc file of a library, which works well on linux
> and Windows. We use "pkg-config --variable=prefix mylib" to get the prefix.
> On linux and windows, no problem. One of our user tried on mac os x, and the
> command returns nothing. He compiled himself pkg-config.
> What is strange is that it occurs only for that precise .pc file. Other .pc
> files have no problem at all. We are completely lost.
> does someone have an idea about the problem ?

Can you run "PKG_CONFIG_DEBUG_SPEW=1 pkg-config --variable=prefix
mylib"? Also, how have you built pkg-config? Are you using either of
--with-installed-glib or --with-installed-popt?


More information about the pkg-config mailing list