RE: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread RAPPAZ Francois
Thanks for the tip, after editing Glib.exports, I still have errors (undefined reference) when running dmake: The last command (not changed by quiet_rule in MakeHelper) is "C:\strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Glib\", 'DLBASE' => 'Glib', 'DL_FU

RE: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread Torsten Schönfeld
"RAPPAZ Francois" : > The makefile is coming from > > perl Makefile.pl INC="-IC:\prog\gtk+\include\glib-2.0 > -IC:\prog\Gtk+\lib\glib-2.0\include -I. -I./build" LIBS="-LC:/prog/gtk+/lib > -lglib-2.0 -lintl " I don't understand why you need to specify INC and LIBS manually, it should work autom

RE: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread RAPPAZ Francois
pkg-config --libs glib-2.0 -Lc:/devel/target/0ca5583385db1135a53cf9e275815b19/lib -lglib-2.0 -lintl pkg-config --static --libs glib-2.0 g object-2.0 -Lc:/devel/target/0ca5583385db1135a53cf9e275815b19/lib -lglib-2.0 -lintl -lgobject-2.0 pkg-config --libs gobject-2.0 -Lc:/devel/target/0ca5583385db

RE: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread RAPPAZ Francois
But perl Makefile.pl INC="-IC:\prog\gtk+\include\glib-2.0 -IC:\prog\Gtk+\lib\glib-2.0\include -I. -I./build" LIBS="-LC:/prog/gtk+/lib -lglib-2.0 -lintl -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0" produced a makefile that compiles. > -Original Message- > From: gtk-perl-list [mailto:gtk-

Re: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread Torsten Schönfeld
"RAPPAZ Francois" : > pkg-config --libs glib-2.0 > -Lc:/devel/target/0ca5583385db1135a53cf9e275815b19/lib -lglib-2.0 -lintl There's your problem. You seem to have multiple conflicting installations: C:/prog/gtk+ vs. C:/devel, and maybe others. I suggest cleaning this up, or at least cleaning u

RE: Compiling Glib 2.16.5 on strawberry perl

2016-06-29 Thread RAPPAZ Francois
C:/devel does not exist on my machine, it comes from the .pc files in the pkgconfig folders. These files are blindly unzipped with the rest of the Gtk+ stack. My C:\prog\gtk+\lib\pkgconfig\glib.pc start with prefix=c:/devel/target/0ca5583385db1135a53cf9e275815b19 see https://sourceforge.net/p/m