Pango compile

I have downloaded Gtk2 from here and unzipped the

I have succeeded in compiling cairo with the makefile issued from
perl 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 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 INC="-I.\build -IC:\prog\Gtk+\include\glib-2.0 -IC:\prog\Gtk+\lib\glib-2.0\include 
-IC:/prog/gtk+/include/freetype2 -IC:/prog/Gtk+/include/cairo -IC:/prog/Gtk+/include 
-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 

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


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