--variable=prefix returns nothing

Dan Nicholson dbn.lists at gmail.com
Sat Jun 26 00:40:54 PDT 2010


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"?
>
> see below. Btw, it would be nice if you can comment a bit the output. Or
> maybe there are some doc about that.

I don't think there's really any documentation besides reading the code.

>
>>
>> Also, how have you built pkg-config? Are you using either of
>> --with-installed-glib or --with-installed-popt?
>
>  Actually, it's not me who compiled it. I'll ask the user
>
> thank you
>
> Vincent Torri
>
>
>> pkg-config --variable=prefix edje
> PKG_CONFIG_DEBUG_SPEW variable enabling debug spew
> Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
> Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
> Adding directory '/usr/local/share/pkgconfig' from PKG_CONFIG_PATH
> Global variable definition 'pc_sysrootdir' = '/'
> Global variable definition 'pc_top_builddir' = '$(top_builddir)'
> Option --variable seen
> Error printing disabled by default, value of --print-errors: 1
> Error printing enabled
> Adding virtual 'pkg-config' package to list of known packages
> Scanning directory '/usr/local/lib/pkgconfig'
> Ignoring file '.' in search directory; not a .pc file
> Ignoring file '..' in search directory; not a .pc file
> File 'audiofile.pc' appears to be a .pc file
> Will find package 'audiofile' in file '/usr/local/lib/pkgconfig/
> audiofile.pc'
> File 'dbus-1.pc' appears to be a .pc file
> Will find package 'dbus-1' in file '/usr/local/lib/pkgconfig/dbus-1.pc'
> File 'ebluez.pc' appears to be a .pc file
> Will find package 'ebluez' in file '/usr/local/lib/pkgconfig/ebluez.pc'
> File 'econnman.pc' appears to be a .pc file
> Will find package 'econnman' in file '/usr/local/lib/pkgconfig/econnman.pc'
> File 'ecore-cocoa.pc' appears to be a .pc file
> Will find package 'ecore-cocoa' in file '/usr/local/lib/pkgconfig/
> ecore-cocoa.pc'
> File 'ecore-con.pc' appears to be a .pc file
> Will find package 'ecore-con' in file '/usr/local/lib/pkgconfig/ecore-
> con.pc'
> File 'ecore-evas.pc' appears to be a .pc file
> Will find package 'ecore-evas' in file '/usr/local/lib/pkgconfig/ecore-
> evas.pc'
> File 'ecore-file.pc' appears to be a .pc file
> Will find package 'ecore-file' in file '/usr/local/lib/pkgconfig/ecore-
> file.pc'
> File 'ecore-imf-evas.pc' appears to be a .pc file
> Will find package 'ecore-imf-evas' in file '/usr/local/lib/pkgconfig/
> ecore-imf-evas.pc'
> File 'ecore-imf.pc' appears to be a .pc file
> Will find package 'ecore-imf' in file '/usr/local/lib/pkgconfig/ecore-
> imf.pc'
> File 'ecore-input-evas.pc' appears to be a .pc file
> Will find package 'ecore-input-evas' in file '/usr/local/lib/pkgconfig/
> ecore-input-evas.pc'
> File 'ecore-input.pc' appears to be a .pc file
> Will find package 'ecore-input' in file '/usr/local/lib/pkgconfig/
> ecore-input.pc'
> File 'ecore-ipc.pc' appears to be a .pc file
> Will find package 'ecore-ipc' in file '/usr/local/lib/pkgconfig/ecore-
> ipc.pc'
> File 'ecore-x.pc' appears to be a .pc file
> Will find package 'ecore-x' in file '/usr/local/lib/pkgconfig/ecore-x.pc'
> File 'ecore.pc' appears to be a .pc file
> Will find package 'ecore' in file '/usr/local/lib/pkgconfig/ecore.pc'
> File 'edbus.pc' appears to be a .pc file
> Will find package 'edbus' in file '/usr/local/lib/pkgconfig/edbus.pc'
> File 'edje.pc' appears to be a .pc file
> Will find package 'edje' in file '/usr/local/lib/pkgconfig/edje.pc'
> File 'eet.pc' appears to be a .pc file
> Will find package 'eet' in file '/usr/local/lib/pkgconfig/eet.pc'
> File 'efreet-mime.pc' appears to be a .pc file
> Will find package 'efreet-mime' in file '/usr/local/lib/pkgconfig/
> efreet-mime.pc'
> File 'efreet-trash.pc' appears to be a .pc file
> Will find package 'efreet-trash' in file '/usr/local/lib/pkgconfig/
> efreet-trash.pc'
> File 'efreet.pc' appears to be a .pc file
> Will find package 'efreet' in file '/usr/local/lib/pkgconfig/efreet.pc'
> File 'ehal.pc' appears to be a .pc file
> Will find package 'ehal' in file '/usr/local/lib/pkgconfig/ehal.pc'
> File 'eina-0.pc' appears to be a .pc file
> Will find package 'eina-0' in file '/usr/local/lib/pkgconfig/eina-0.pc'
> File 'embryo.pc' appears to be a .pc file
> Will find package 'embryo' in file '/usr/local/lib/pkgconfig/embryo.pc'
> File 'enlightenment.pc' appears to be a .pc file
> Will find package 'enlightenment' in file '/usr/local/lib/pkgconfig/
> enlightenment.pc'
> File 'enotify.pc' appears to be a .pc file
> Will find package 'enotify' in file '/usr/local/lib/pkgconfig/enotify.pc'
> File 'eofono.pc' appears to be a .pc file
> Will find package 'eofono' in file '/usr/local/lib/pkgconfig/eofono.pc'
> File 'esound.pc' appears to be a .pc file
> Will find package 'esound' in file '/usr/local/lib/pkgconfig/esound.pc'
> File 'eukit.pc' appears to be a .pc file
> Will find package 'eukit' in file '/usr/local/lib/pkgconfig/eukit.pc'
> File 'evas-quartz.pc' appears to be a .pc file
> Will find package 'evas-quartz' in file '/usr/local/lib/pkgconfig/evas-
> quartz.pc'
> File 'evas-software-buffer.pc' appears to be a .pc file
> Will find package 'evas-software-buffer' in file '/usr/local/lib/
> pkgconfig/evas-software-buffer.pc'
> File 'evas-software-x11.pc' appears to be a .pc file
> Will find package 'evas-software-x11' in file '/usr/local/lib/
> pkgconfig/evas-software-x11.pc'
> File 'evas.pc' appears to be a .pc file
> Will find package 'evas' in file '/usr/local/lib/pkgconfig/evas.pc'
> File 'everything.pc' appears to be a .pc file
> Will find package 'everything' in file '/usr/local/lib/pkgconfig/
> everything.pc'
> File 'fontconfig.pc' appears to be a .pc file
> Will find package 'fontconfig' in file '/usr/local/lib/pkgconfig/
> fontconfig.pc'
> File 'freetype2.pc' appears to be a .pc file
> Will find package 'freetype2' in file '/usr/local/lib/pkgconfig/
> freetype2.pc'
> File 'imlib2.pc' appears to be a .pc file
> Will find package 'imlib2' in file '/usr/local/lib/pkgconfig/imlib2.pc'
> File 'libpng.pc' appears to be a .pc file
> Will find package 'libpng' in file '/usr/local/lib/pkgconfig/libpng.pc'
> File 'libpng12.pc' appears to be a .pc file
> Will find package 'libpng12' in file '/usr/local/lib/pkgconfig/libpng12.pc'
> File 'libpng14.pc' appears to be a .pc file
> Will find package 'libpng14' in file '/usr/local/lib/pkgconfig/libpng14.pc'
> Scanning directory '/usr/local/lib/pkgconfig'
> Ignoring file '.' in search directory; not a .pc file
> Ignoring file '..' in search directory; not a .pc file
> File 'audiofile.pc' appears to be a .pc file
> File 'audiofile.pc' ignored, we already know about package 'audiofile'
> File 'dbus-1.pc' appears to be a .pc file
> File 'dbus-1.pc' ignored, we already know about package 'dbus-1'
> File 'ebluez.pc' appears to be a .pc file
> File 'ebluez.pc' ignored, we already know about package 'ebluez'
> File 'econnman.pc' appears to be a .pc file
> File 'econnman.pc' ignored, we already know about package 'econnman'
> File 'ecore-cocoa.pc' appears to be a .pc file
> File 'ecore-cocoa.pc' ignored, we already know about package 'ecore-cocoa'
> File 'ecore-con.pc' appears to be a .pc file
> File 'ecore-con.pc' ignored, we already know about package 'ecore-con'
> File 'ecore-evas.pc' appears to be a .pc file
> File 'ecore-evas.pc' ignored, we already know about package 'ecore-evas'
> File 'ecore-file.pc' appears to be a .pc file
> File 'ecore-file.pc' ignored, we already know about package 'ecore-file'
> File 'ecore-imf-evas.pc' appears to be a .pc file
> File 'ecore-imf-evas.pc' ignored, we already know about package 'ecore-
> imf-evas'
> File 'ecore-imf.pc' appears to be a .pc file
> File 'ecore-imf.pc' ignored, we already know about package 'ecore-imf'
> File 'ecore-input-evas.pc' appears to be a .pc file
> File 'ecore-input-evas.pc' ignored, we already know about package
> 'ecore-input-evas'
> File 'ecore-input.pc' appears to be a .pc file
> File 'ecore-input.pc' ignored, we already know about package 'ecore-input'
> File 'ecore-ipc.pc' appears to be a .pc file
> File 'ecore-ipc.pc' ignored, we already know about package 'ecore-ipc'
> File 'ecore-x.pc' appears to be a .pc file
> File 'ecore-x.pc' ignored, we already know about package 'ecore-x'
> File 'ecore.pc' appears to be a .pc file
> File 'ecore.pc' ignored, we already know about package 'ecore'
> File 'edbus.pc' appears to be a .pc file
> File 'edbus.pc' ignored, we already know about package 'edbus'
> File 'edje.pc' appears to be a .pc file
> File 'edje.pc' ignored, we already know about package 'edje'
> File 'eet.pc' appears to be a .pc file
> File 'eet.pc' ignored, we already know about package 'eet'
> File 'efreet-mime.pc' appears to be a .pc file
> File 'efreet-mime.pc' ignored, we already know about package 'efreet-mime'
> File 'efreet-trash.pc' appears to be a .pc file
> File 'efreet-trash.pc' ignored, we already know about package 'efreet-trash'
> File 'efreet.pc' appears to be a .pc file
> File 'efreet.pc' ignored, we already know about package 'efreet'
> File 'ehal.pc' appears to be a .pc file
> File 'ehal.pc' ignored, we already know about package 'ehal'
> File 'eina-0.pc' appears to be a .pc file
> File 'eina-0.pc' ignored, we already know about package 'eina-0'
> File 'embryo.pc' appears to be a .pc file
> File 'embryo.pc' ignored, we already know about package 'embryo'
> File 'enlightenment.pc' appears to be a .pc file
> File 'enlightenment.pc' ignored, we already know about package
> 'enlightenment'
> File 'enotify.pc' appears to be a .pc file
> File 'enotify.pc' ignored, we already know about package 'enotify'
> File 'eofono.pc' appears to be a .pc file
> File 'eofono.pc' ignored, we already know about package 'eofono'
> File 'esound.pc' appears to be a .pc file
> File 'esound.pc' ignored, we already know about package 'esound'
> File 'eukit.pc' appears to be a .pc file
> File 'eukit.pc' ignored, we already know about package 'eukit'
> File 'evas-quartz.pc' appears to be a .pc file
> File 'evas-quartz.pc' ignored, we already know about package 'evas-quartz'
> File 'evas-software-buffer.pc' appears to be a .pc file
> File 'evas-software-buffer.pc' ignored, we already know about package
> 'evas-software-buffer'
> File 'evas-software-x11.pc' appears to be a .pc file
> File 'evas-software-x11.pc' ignored, we already know about package
> 'evas-software-x11'
> File 'evas.pc' appears to be a .pc file
> File 'evas.pc' ignored, we already know about package 'evas'
> File 'everything.pc' appears to be a .pc file
> File 'everything.pc' ignored, we already know about package 'everything'
> File 'fontconfig.pc' appears to be a .pc file
> File 'fontconfig.pc' ignored, we already know about package 'fontconfig'
> File 'freetype2.pc' appears to be a .pc file
> File 'freetype2.pc' ignored, we already know about package 'freetype2'
> File 'imlib2.pc' appears to be a .pc file
> File 'imlib2.pc' ignored, we already know about package 'imlib2'
> File 'libpng.pc' appears to be a .pc file
> File 'libpng.pc' ignored, we already know about package 'libpng'
> File 'libpng12.pc' appears to be a .pc file
> File 'libpng12.pc' ignored, we already know about package 'libpng12'
> File 'libpng14.pc' appears to be a .pc file
> File 'libpng14.pc' ignored, we already know about package 'libpng14'
> Cannot open directory '/usr/local/share/pkgconfig' in package search path:
> No such file or directory
> Looking for package 'edje'
> Looking for package 'edje-uninstalled'
> Reading 'edje' from file '/usr/local/lib/pkgconfig/edje.pc'
> Parsing package file '/usr/local/lib/pkgconfig/edje.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>datarootdir=${prefix}/share
>  Variable declaration, 'datarootdir' has value '/usr/local/share'
>   line>datadir=${datarootdir}/edje
>  Variable declaration, 'datadir' has value '/usr/local/share/edje'
>   line>
>   line>Name: edje
>   line>Description: Enlightened graphical design and layout engine.
>   line>Requires.private: ecore-imf-evas ecore-imf lua embryo ecore evas eet
> eina-0
> Looking for package 'ecore-imf-evas'
> Looking for package 'ecore-imf-evas-uninstalled'
> Reading 'ecore-imf-evas' from file '/usr/local/lib/pkgconfig/ecore-imf-
> evas.pc'
> Parsing package file '/usr/local/lib/pkgconfig/ecore-imf-evas.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: ecore-imf-evas
>   line>Description: E core library, IMF Evas module
>   line>Requires.private: ecore-imf evas ecore eina-0
> Looking for package 'ecore-imf'
> Looking for package 'ecore-imf-uninstalled'
> Reading 'ecore-imf' from file '/usr/local/lib/pkgconfig/ecore-imf.pc'
> Parsing package file '/usr/local/lib/pkgconfig/ecore-imf.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: ecore-imf
>   line>Description: E core library, IMF module
>   line>Requires.private: ecore eina-0
> Looking for package 'ecore'
> Looking for package 'ecore-uninstalled'
> Reading 'ecore' from file '/usr/local/lib/pkgconfig/ecore.pc'
> Parsing package file '/usr/local/lib/pkgconfig/ecore.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: ecore
>   line>Description: Ecore event abstraction library
>   line>Requires.private: eina-0
> Looking for package 'eina-0'
> Looking for package 'eina-0-uninstalled'
> Reading 'eina-0' from file '/usr/local/lib/pkgconfig/eina-0.pc'
> Parsing package file '/usr/local/lib/pkgconfig/eina-0.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: Eina
>   line>Description: A Library that implements fast data types and
> miscellaneous tools
>   line>Requires.private:
>   line>Version: 0.9.9.49791
>   line>Libs: -L${libdir} -leina
>   line>Libs.private:  -ldl
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/eina-0.pc'
>   line>Cflags: -I${includedir}/eina-0 -I${includedir}/eina-0/eina
> Path position of 'Eina' is 1
> Adding 'eina-0' to list of known packages, returning as package 'eina-0'
>   line>Version: 0.9.9.49791
>   line>Libs: -L${libdir} -lecore
>   line>Libs.private: -lm
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/ecore.pc'
>   line>Cflags: -I${includedir}
> Path position of 'ecore' is 1
> Adding 'ecore' to list of known packages, returning as package 'ecore'
>   line>Version: 0.9.9.49791
>   line>Libs: -L${libdir} -lecore_imf
>   line>Cflags: -I${includedir}
> Path position of 'ecore-imf' is 1
> Adding 'ecore-imf' to list of known packages, returning as package
> 'ecore-imf'
> Looking for package 'evas'
> Looking for package 'evas-uninstalled'
> Reading 'evas' from file '/usr/local/lib/pkgconfig/evas.pc'
> Parsing package file '/usr/local/lib/pkgconfig/evas.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: evas
>   line>Description: Evas canvas display library
>   line>Requires.private: eet fontconfig freetype2 eina-0
> Looking for package 'eet'
> Looking for package 'eet-uninstalled'
> Reading 'eet' from file '/usr/local/lib/pkgconfig/eet.pc'
> Parsing package file '/usr/local/lib/pkgconfig/eet.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: eet
>   line>Description: Library for speedy data storage, retrieval, and
> compression
>   line>Requires.private: eina-0
>   line>Version: 1.3.1.49791
>   line>Libs: -L${libdir} -leet
>   line>Libs.private:    -ljpeg -lz -lm
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/eet.pc'
>   line>Cflags: -I${includedir}
>   line>Cflags.private:
> Unknown keyword 'Cflags.private' in '/usr/local/lib/pkgconfig/eet.pc'
> Path position of 'eet' is 1
> Adding 'eet' to list of known packages, returning as package 'eet'
> Looking for package 'fontconfig'
> Looking for package 'fontconfig-uninstalled'
> Reading 'fontconfig' from file '/usr/local/lib/pkgconfig/fontconfig.pc'
> Parsing package file '/usr/local/lib/pkgconfig/fontconfig.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: Fontconfig
>   line>Description: Font configuration and customization library
>   line>Version: 2.8.0
>   line>Libs: -L${libdir} -lfontconfig
>   line>Libs.private:  -lexpat -L/usr/X11/lib -lfreetype -lz -liconv
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/fontconfig.pc'
>   line>Cflags: -I${includedir}
> Path position of 'Fontconfig' is 1
> Adding 'fontconfig' to list of known packages, returning as package
> 'fontconfig'
> Looking for package 'freetype2'
> Looking for package 'freetype2-uninstalled'
> Reading 'freetype2' from file '/usr/local/lib/pkgconfig/freetype2.pc'
> Parsing package file '/usr/local/lib/pkgconfig/freetype2.pc'
>   line>prefix=/usr/local
>  Variable declaration, 'prefix' has value '/usr/local'
>   line>exec_prefix=${prefix}
>  Variable declaration, 'exec_prefix' has value '/usr/local'
>   line>libdir=${exec_prefix}/lib
>  Variable declaration, 'libdir' has value '/usr/local/lib'
>   line>includedir=${prefix}/include
>  Variable declaration, 'includedir' has value '/usr/local/include'
>   line>
>   line>Name: FreeType 2
>   line>Description: A free, high-quality, and portable font engine.
>   line>Version: 10.0.4
>   line>Requires:
>   line>Libs: -L${libdir} -lfreetype
>   line>Libs.private: -lz
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/freetype2.pc'
>   line>Cflags: -I${includedir}/freetype2 -I${includedir}
> Path position of 'FreeType 2' is 1
> Adding 'freetype2' to list of known packages, returning as package
> 'freetype2'
>   line>Version: 0.9.9.49791
>   line>Libs: -L${libdir} -levas
>   line>Libs.private:  -lpthread
> Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/evas.pc'
>   line>Cflags: -I${includedir}
> Path position of 'evas' is 1
> Adding 'evas' to list of known packages, returning as package 'evas'
>   line>Version: 0.9.9.49791
>   line>Libs: -L${libdir} -lecore_imf_evas
>   line>Cflags: -I${includedir}
> Path position of 'ecore-imf-evas' is 1
> Adding 'ecore-imf-evas' to list of known packages, returning as package
> 'ecore-imf-evas'
> Looking for package 'lua'
> Looking for package 'lua-uninstalled'
> Looking for 'lua' using legacy -config scripts
> Calling gnome-config
> Package lua was not found in the pkg-config search path.
> Perhaps you should add the directory containing `lua.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'lua', required by 'edje', not found

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. 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.

--
Dan


More information about the pkg-config mailing list