Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: missing i686-pc-mingw32-pkg-config https://bugzilla.redhat.com/show_bug.cgi?id=513825 Summary: missing i686-pc-mingw32-pkg-config Product: Fedora Version: 11 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: mingw32-glib2 AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] CC: [email protected], [email protected], [email protected], [email protected], [email protected] Blocks: 513824 Classification: Fedora Target Release: --- (Reported here for lack of a better place). Description of problem: When compiling a program that uses glib, the host pkg-config program is used, and this might cause the version numbers in the library to have a mismatch with the mingw version of glib. Luckily, pkg-config is a *tool*, so it is first searched prefixed with $host. It is enough to put this script in /usr/bin/i686-pc-mingw32-pkg-config then: #! /bin/sh prefix=`i686-pc-mingw32-gcc --print-sysroot`/mingw PKG_CONFIG_PATH=$PKG_CONFIG_PATH${PKG_CONFIG_PATH:+:}$prefix/lib/pkgconfig PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$prefix/share/pkgconfig export PKG_CONFIG_PATH exec pkg-config "$@" How reproducible: You must have the latest F11 glib (2.20.4) installed, since mingw-glib2 is still at 2.20.1. Steps to reproduce: 1. Add c:\mingw links as explained in bug 513819 2. Install a touch program as explained in bug 513824 3. Try configure script in bug 513819 (./configure --host=i686-pc-mingw32) Actual result: The script diagnoses a version mismatch Expected result: The script should work. Additional info: This bug and bug 513824, if fixed, would allow to compile glib programs without --disable-glibtest. Fixing bug 513819 however is enough to actually *run* crosscompiled glib/gtk programs. A similar bug applies to other packages with an independent -config script, such as sdl. That is more problematic because sdl-config is searched as a program, not as a tool. Still, installing i686-pc-mingw32-sdl-config would at least allow the user to specify it manually with the SDL_CONFIG environment variable. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
