RE: Compiling Glib 2.16.5 on strawberry perl
- From: "Torsten Schönfeld" <kaffeetisch gmx de>
- To: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: RE: Compiling Glib 2.16.5 on strawberry perl
- Date: Wed, 29 Jun 2016 11:14:12 +0200
"RAPPAZ Francois" <francois rappaz 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".
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]