compiling pango



Hi all
This is my first mail in this mailing list. So if i make any mistake I allow anyone to insult me for a week :)
I downloaded pango (this is the first step). I have the glib-2.0.1 in a cd (the sources), I compiled and installed the glib with perfix=/usr.
I unpacked pango. Launch configure (./configure --prefix=/usr --with-qt=/opt/qt) : prob 1 : can't find glib.h -> modify CPATH to get in it /usr/include/glib-2.0.
Relaunch configure : prob 2 : can't find glibconfig.h -> make a symlink to /usr/lib/glib-2.0/include/glibconfig.h to /usr/include/glib-2.0/glibconfig.h.
Rerelaunch configure : prob 3 : can't link -> not found symbols "glib_major_version ..." -> CFLAGS="$CFLAGS -lglib-2.0" ./configure --prefix=/usr --with-qt=/opt/qt
-> can link but can't run (this is what configure given me)!!!!!!
config.log tells :
gcc -o conftest -O3 -march=k6 -lglib-2.0 -Wall conftest.c
test -s conftest
$? = 0
error !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
By the hell what is wrong (the ld.so.conf is right and I ran ldconfig).
To get more clear I written a sample program :
 
#include <stdio.h>
#include <glib.h>
 
int main() {
    printf("%d.%d.%d",glib_major_version,glib_minor_version,glib_micro_version);
    return(0);
}
 
compile line : gcc -o tests -O3 -march=k6 -lglib-2.0 -Wall tests.c
 
what gives : 2.0.1
 
Any help would be very appreciated.
thanx


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