Pango compile



I have downloaded Gtk2 from here
http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.24/ and unzipped the  
gtk+-bundle_2.24.10-20120208_win32.zip

I have succeeded in compiling cairo with the makefile issued from
perl Makefile.pl INC="-IC:/strawberry/c/include/freetype2 -IC:/prog/Gtk+/include/cairo 
-IC:/prog/Gtk+/include/ -I. -I./build" LIBS=":nosearch -LC:/prog/Gtk+/lib -lcairo" 

and glib:
perl Makefile.pl INC="-IC:/prog/Gtk+/lib/glib-2.0/include -IC:/prog/Gtk+/include 
-IC:\prog\gtk+\include\glib-2.0 -I. -I./build" LIBS=":nosearch -LC:/prog/Gtk+/lib -lgthread-2.0 -lgobject-2.0 
-lglib-2.0 -lintl" 


Not all tested passed with glib (t/a.t failed) but I installed it anyway.

I'm stuck with pango having undefined reference
xs/Pango.o:Pango.c:(.text+0x335): undefined reference to `pango_alignment_get_type'
xs/Pango.o:Pango.c:(.text+0x345): undefined reference to `gperl_register_fundamental'
....

My makefile is obtained with
perl Makefile.pl INC="-I.\build -IC:\prog\Gtk+\include\glib-2.0 -IC:\prog\Gtk+\lib\glib-2.0\include 
-IC:/prog/Gtk+/include/pango-1.0 
-IC:/prog/gtk+/include/freetype2 -IC:/prog/Gtk+/include/cairo -IC:/prog/Gtk+/include 
-IC:/strawberry/perl/site/lib/Cairo/Install 
-IC:/strawberry/perl/site/lib/Glib/Install -I." 
LIBS=":nosearch -LC:/prog/Gtk+/lib -lpango-1.0 -lglib-2.0 -lintl -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 
-lpangocairo-1.0"

The gtk stack installed from msys2 did not work with my strawberry perl 5.24: the test for cairo gives 
errors: missing function pthread_setname_np needed by cairo but missing from my libwinprthread-1.dll

Thanks 
 
François


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