--variable=prefix returns nothing
Vincent Torri
vincent.torri at gmail.com
Sat Jun 26 01:25:26 PDT 2010
On Sat, Jun 26, 2010 at 9:40 AM, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On Fri, Jun 25, 2010 at 11:18 PM, Vincent Torri <vincent.torri at gmail.com>
> wrote:
> >
> >
> > On Fri, Jun 25, 2010 at 8:11 AM, Dan Nicholson <dbn.lists at gmail.com>
> wrote:
> >>
> >> 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"?
>
>
> It appears to be bailing out because edje requires lua and it's not
> being found. Probably $? != 0 and possibly you would see this
> executing pkg-config with --print-errors.
>
> Arguably pkg-config should not be trying to resolve dependencies when
> you're just doing --variable and not --libs or something.
ok, it makes sense.
> I don't know
> if there's any history behind that decision. I'm traveling right now,
> so I don't have a chance to look at the code right this second. Maybe
> Tollef can chime in, though.
>
Anyway it's strange that the configure script didn't stops, because lua is a
needed dependency. A bug in out
r configure.ac, i think.
thank you very much !
Vincent Torri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20100626/9bfa9185/attachment.html>
More information about the pkg-config
mailing list