Fwd: help regarding installation of pkg-config in Mingw on Windows

Hardik Gohil hardikgohil1988 at gmail.com
Mon Apr 29 22:53:20 PDT 2013


Hello,

        I am trying to build webkit-clutter using Mingw on windows,it is
giving error

          checking for GLIB - version >= 2.32.0... no
          *** A new enough version of pkg-config was not found.
          *** See http://www.freedesktop.org/software/pkgconfig/
          configure: error: You need the GLib dev tools in your path

          so i am installing pkg-config from source version 0.28,

           with configure

           ./configure --with-internal-glib but it is giving error




#make V=1
make  all-recursive
make[1]: Entering directory `/home/system/webkit/pkg-config-0.28'
Making all in .
make[2]: Entering directory `/home/system/webkit/pkg-config-0.28'
/bin/sh ./libtool  --tag=CC   --mode=link gcc -g -Wall -O2  -mms-bitfields
-IC:/MinGW/msys/1.0/opt/emo2/include/glib-2.0
-IC:/MinGW/msys/1.0/opt/emo2/lib/glib-2.0/include   -g -O2  -L
/opt/emo2/lib -o pkg-config.exe pkg.o parse.o main.o
-LC:/MinGW/msys/1.0/opt/emo2/lib -lglib-2.0 -lintl
libtool: link: gcc -g -Wall -O2 -mms-bitfields
-IC:/MinGW/msys/1.0/opt/emo2/include/glib-2.0
-IC:/MinGW/msys/1.0/opt/emo2/lib/glib-2.0/include -g -O2 -o
.libs/pkg-config.exe pkg.o par
se.o main.o  -L/opt/emo2/lib -LC:/MinGW/msys/1.0/opt/emo2/lib
/opt/emo2/lib/libglib-2.0.dll.a -lws2_32 -lole32 -lwinmm -lshlwapi
/mingw/lib/libintl.dll.a /mingw/lib/libiconv.dll.a -mt
hreads -L/opt/emo2/lib -L/mingw/lib
pkg.o: In function `scan_dir':
C:\MinGW\msys\1.0\home\system\webkit\pkg-config-0.28/pkg.c:160: undefined
reference to `_imp__opendir'
C:\MinGW\msys\1.0\home\system\webkit\pkg-config-0.28/pkg.c:173: undefined
reference to `_imp__readdir'
C:\MinGW\msys\1.0\home\system\webkit\pkg-config-0.28/pkg.c:216: undefined
reference to `_imp__closedir'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [pkg-config.exe] Error 1
make[2]: Leaving directory `/home/system/webkit/pkg-config-0.28'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/system/webkit/pkg-config-0.28'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20130430/ec01fb0d/attachment.html>


More information about the pkg-config mailing list