roadorange
03-11-2004, 12:38 AM
i am using red hat linux 9.0, the glib and gtk are little old, and i downloaded glib-2.2.3 and gtk+-2.2.4
First, i extract glib in my personal direction, not those /lib or something. i install gblic successfully.
then i try to install gtk, here come the problem. when i compile the gtk, the result said glib 2.0 is not found.
here's some error report:
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package glib-2.0 w
as not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >=
1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if y
our libraries are in a nonstandard prefix so pkg-config can find them.
[root@roadorange gtk+-2.2.4]# make
make: *** No targets specified and no makefile found. Stop.
what should i do now???@_@ does it really matter that i install the glib in my personal directory??
do i need to restart the computer after install glib
First, i extract glib in my personal direction, not those /lib or something. i install gblic successfully.
then i try to install gtk, here come the problem. when i compile the gtk, the result said glib 2.0 is not found.
here's some error report:
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Package glib-2.0 w
as not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >=
1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if y
our libraries are in a nonstandard prefix so pkg-config can find them.
[root@roadorange gtk+-2.2.4]# make
make: *** No targets specified and no makefile found. Stop.
what should i do now???@_@ does it really matter that i install the glib in my personal directory??
do i need to restart the computer after install glib