Re: building glib on win32 MSVC6



  I haven't had the time yet to check things further, I'll give it a
shot with mingw and msvc7 asap, and return here my findings, if they
prove relevant.

Mingw compiles flawlessly that strtoll part, but there's a (separate)
linking problem.

C:\perl\cpan\build\Glib-1.120>perl Makefile.PL
Including ApiDoc pod...
Deleting Glib::Object::_LazyLoader from doc.pl's $data
Deleting Glib from doc.pl's $data
***
*** configuring Glib to build without thread safety
***
Writing build/IFiles.pm
Note (probably harmless): No library found for -lgobject-2.0
Note (probably harmless): No library found for -lglib-2.0
Writing Makefile for Glib

which is far from harmless. :)

The libs are there:
C:\perl\cpan\build\Glib-1.120>find2perl C:\torgtk -type f -name
g*-2.0.lib | perl
C:\torgtk/lib/gdk-win32-2.0.lib
C:\torgtk/lib/gdk_pixbuf-2.0.lib
C:\torgtk/lib/glib-2.0.lib
C:\torgtk/lib/gmodule-2.0.lib
C:\torgtk/lib/gobject-2.0.lib
C:\torgtk/lib/gthread-2.0.lib
C:\torgtk/lib/gtk-win32-2.0.lib

and specified in the %LIB% env:
C:\perl\cpan\build\Glib-1.120>echo %LIB%
C:\torgtk\lib;C:\mingw\lib;C:\Program Files\Postgresql\8.1\lib

I suspect this is related to ExtUtils::PkgConfig, but i don't know yet
what it expects, could please provide some hints here ?

Thanks.

--
perl -MLWP::Simple -e'print$_[rand(split(q|%%\n|,
get(q=http://cpan.org/misc/japh=)))]'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]