分类: LINUX
2005-09-14 20:27:25
下载chmsee,在FC4中./configure
checking for libgtkhtml-3.1 >= 3.1.8... Package libgtkhtml-3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtkhtml-3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtkhtml-3.1' found
configure: error: Library requirements (libgtkhtml-3.1 >= 3.1.18
not met; consider adjusting the PKG_CONFIG_PATH environment variable if
your libraries are in a nonstandard prefix so pkg-config can find them.
于是下载rpm,提示少
libgtkhtml-3.1.so.11
经查,gnome的所有包和开发包全装了,
[root@localhost gtkhtml-3.7.7]# ls -l /usr/lib/libgtkhtml*
lrwxrwxrwx 1 root root 23 8月 2 23:15 /usr/lib/libgtkhtml-1.1.so.3 -> libgtkhtml-1.1.so.3.0.4
-rwxr-xr-x 1 root root 563156 2005-03-08 /usr/lib/libgtkhtml-1.1.so.3.0.4
lrwxrwxrwx 1 root root 21 8月 2 22:57 /usr/lib/libgtkhtml-2.so.0 -> libgtkhtml-2.so.0.0.0
-rwxr-xr-x 1 root root 378300 2005-02-28 /usr/lib/libgtkhtml-2.so.0.0.0
lrwxrwxrwx 1 root root 24 8月 2 23:04 /usr/lib/libgtkhtml-3.6.so.18 -> libgtkhtml-3.6.so.18.0.2
-rwxr-xr-x 1 root root 703976 4月 12 07:54 /usr/lib/libgtkhtml-3.6.so.18.0.2
于是增加一个链接,把3.6的链接成3.1,即提示少的文件。
然而,编译依然错。下载了gtkhtml3.7.7,编译安装,再来运行chmsee,依然一样的问题。
而且在./usr/lib中没看到3.7.7的so
当初在FC3用这个没问题的
后来按网上的,下载gtkhtml-3.6.2,./configure --prefix=/usr, 然后make ,make install。结果还是不行。
最后,这样就对了 ,ln -s /usr/lib/pkgconfig/libgtkhtml-3.6.pc /usr/lib/pkgconfig/libgtkhtml-3.1.pc