help regarding installation of pkg-config in Mingw on Windows

Dan Nicholson dbn.lists at gmail.com
Mon Apr 29 02:21:16 PDT 2013


On Sun, Apr 28, 2013 at 11:30 PM, Hardik Gohil
<hardikgohil1988 at gmail.com> wrote:
> Hello,
>
>         I am trying to build webkit-clutter using Mingw on windows,it is
> giving error
>
>            ./configure: line 17485: syntax error near unexpected token
> `0.16'
>           ./configure: line 17485: `  PKG_PROG_PKG_CONFIG(0.16)'
>
>           so i am installing pkg-config from source version 0.28,
>
>            with configure
>
>            ./configure --with-internal-glib but it is giving error
>
>             gdir.c:60:3: error: unknown type name '_WDIR'
>
>             gdir.c:224:30: error: dereferencing pointer to incomplete type
>             gdir.c:225:23: error: dereferencing pointer to incomplete type

I think you may have trimmed out some errors here. It might help if
you include the full error here, from the command run by make through
all the errors thrown by gcc. However, I think this suggests an issue
with mingw or trouble getting the appropriate header from mingw. In
your mingw install, I think you should have include/dirent.h. This
contains the definitions of _wdirent and _WDIR, which I think is what
you're choking on here. If you have that file and it has the
definitions of both, then maybe the build is finding some other
dirent.h. Or perhaps it's not finding dirent.h at all. There should be
output from configure stating whether dirent.h was found.

--
Dan


More information about the pkg-config mailing list