After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736704 - cerbero win32 cross compile: glib configure fails
cerbero win32 cross compile: glib configure fails
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: cerbero
1.4.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-15 22:27 UTC by Nicola
Modified: 2016-02-21 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicola 2014-09-15 22:27:51 UTC
while cross compiling for windows (config cross-win32.cbc), glib configure fails with this error:

checking for LIBFFI... no
configure: error: in `/home/nicola/cerbero/sources/windows_x86/glib-2.40.0':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
Running command 'sh autogen.sh --prefix /home/nicola/cerbero/dist/windows_x86 --libdir /home/nicola/cerbero/dist/windows_x86/lib  --disable-gtk-doc --with-libiconv=gnu --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=i686-w64-mingw32 --build=x86_64-pc-linux --target=i686-w64-mingw32'

Recipe 'glib' failed at the build step 'configure'
Select an action to proceed:

the fix is to link linux pkg-config in cerbero/build-tools/bin/

the pkg-config.exe created by cerbero seems not good. 

This happen with both master and 1.4.x branch
Comment 1 Edward Hervey 2014-09-24 09:01:17 UTC
did you run cerbero-uninstalled -c config/cross-win32.cbc bootstrap first ?
Comment 2 Nicola 2014-09-24 09:29:39 UTC
yes I confirm, infact I have pkg-config.exe
Comment 3 Edward Hervey 2014-09-24 09:36:17 UTC
That sounds wrong. You should have just the regular pkg-config (i.e. not a windows executable, but a local one).