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-perl-list-boun...@gnome.org] On Behalf > Of "Torsten Schönfeld" > Sent: mercredi, 29. juin 2016 11:14 > To: gtk-perl-list@gnome.org > Subject: RE: Compiling Glib 2.16.5 on strawberry perl > > "RAPPAZ Francois" <francois.rap...@unifr.ch>: > > 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 automatically if pkg-config is set up correctly. What do > these commands return for you? > > pkg-config --libs gobject-2.0 > pkg-config --cflags gobject-2.0 > pkg-config --libs gthread-2.0 > pkg-config --cflags gthread-2.0 > > (They are used by Makefile.PL.) > > In any case, your LIBS is missing "-lgobject-2.0" and possibly "- > lgthread-2.0" and "-lgmodule-2.0". > _______________________________________________ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-perl-list _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list