Build pango-1.4.0 error, --libdir not effect !



Hello,

I've compiled pango 1.4.0 and I this error :

gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o ./.libs/libpangox-1.0.so -L/home/gtksourceview//lib
 -L/usr/X11R6/lib ./.libs/libpangoxft-1.0.so /home/gtksourceview/pango-1.4.0/pango/.libs/libpangoft2-1.0.so
 /usr/lib/libXft.so /usr/lib/libXrender.so -lX11 ./.libs/libpangoft2-1.0.so
 /home/gtksourceview/pango-1.4.0/pango/.libs/libpango-1.0.so -lfontconfig /usr/lib/libfreetype.so -lz
 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so ./.libs/libpango-1.0.so
 /home/gtksourceview//lib/libgobject-2.0.so /home/gtksourceview//lib/libgmodule-2.0.so
 -ldl /home/gtksourceview//lib/libglib-2.0.so -Wl,--rpath -Wl,/home/gtksourceview/lib -Wl,--rpath -Wl,/home/gtksourceview//lib

/home/gtksourceview/pango-1.4.0/pango/.libs/libpangoft2-1.0.so:
undefined reference to `g_type_instance_get_private'
/home/gtksourceview/pango-1.4.0/pango/.libs/libpangoft2-1.0.so:
undefined reference to `g_type_class_add_private'
/home/gtksourceview/pango-1.4.0/pango/.libs/libpango-1.0.so: undefined
reference to `g_unichar_get_mirror_char'
collect2: ld returned 1 exit status

I know than this error is due to directory "/usr/lib/".

meanwhile I've configured --libdir to "/home/gtksourceview/lib"

Why make don't use the good directory ?

thanks
-- 
Stéphane KLEIN
Home page : http://www.harobed.org
Jabber : harobed myjabber net




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