Problems installing Freetype-1.3.1
Hello, i am trying to install freetype so I can get to work PANGO, as well as GTK... the ./configure works fine, but then the make file throws:
/../../../lib/extend -g -O2 -Wall -pedantic -ansi -DX11 -DLOCALEDIR=\"/usr/local/share/locale\" -o .libs/ftview ftview.o common.o gmain.o display.o gwin_x11.o blitter.o ../lib/.libs/libttf.so -lm -lm -lX11 -Wl,--rpath -Wl,/opt/gtk/lib
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [ftview] Error 1
make[1]: Leaving directory `/usr/local/freetype-1.3.1/test'
make: *** [tttest] Error 2
I also tried: ./configure --prefix=/usr/local --sysconfdir=/etc
with the same result.
I am using RH9, and I think all this libraries were installed already, but every app I want to install asks for GTK, GLIB, etc.. and I cant seem to get anything running...I always get this error:
hecking for gtk+-2.0 >= 2.0.0 pango >= 1.0 atk >= 1.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0 pango >= 1.0 atk >= 1.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
So now I am stuck with Freetype
PLEASE CAN SOMEONE HELP!!!!!!!!!!!!!!
|