GNOME Bugzilla – Bug 736704
cerbero win32 cross compile: glib configure fails
Last modified: 2016-02-21 10:45:32 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
did you run cerbero-uninstalled -c config/cross-win32.cbc bootstrap first ?
yes I confirm, infact I have pkg-config.exe
That sounds wrong. You should have just the regular pkg-config (i.e. not a windows executable, but a local one).