RE: Compiling Glib 2.16.5 on strawberry perl
- From: RAPPAZ Francois <francois rappaz unifr ch>
- To: "Torsten Schönfeld" <kaffeetisch gmx de>
- Cc: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: RE: Compiling Glib 2.16.5 on strawberry perl
- Date: Thu, 30 Jun 2016 07:50:30 +0000
Finally I succeed to compile this Gtk stuff.
The important thing is to change the prefix line in the pc files in gtk+\lib\pkgconfig with
prefix=${pcfiledir}/../..
The pc file to choose is the one corresponding to the first library being searched in the perl Makefile.pl
step for a given package.
Once this change is done, there is still the need to indicate where all the header files are using
INC="-Ipath/to/file -I..."
but LIBS="..." is not needed.
With that the compiling + linking goes without undefined reference errors.
Two remarks:
- why did nobody ever told me that on this list ? Did no one try to compile this stuff on windows ?
- wxWidget is also based on external libs. It is set up in two steps Alien::wxWidget + Wx and it's much,
much, easier to install.
François
-----Original Message-----
From: gtk-perl-list [mailto:gtk-perl-list-bounces gnome org] On Behalf
Of "Torsten Schönfeld"
Sent: mercredi, 29. juin 2016 11:39
To: gtk-perl-list gnome org
Subject: Re: Compiling Glib 2.16.5 on strawberry perl
"RAPPAZ Francois" <francois rappaz unifr ch>:
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 up your PATH and PKG_CONFIG_PATH
environment variables, and trying again.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]