LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1363|回复: 6

新版本的CHMLib库

[复制链接]
发表于 2004-7-7 23:45:06 | 显示全部楼层 |阅读模式
近日无聊去看了看 Chmlib 的主页发现有新版本
下载测试了一下,新版本能正确解开中文的chm了

所以把chmsee改成用chmlib解压,那位兄弟有兴趣测试,请下载
http://linuxfire.dhis.org/~zhong ... khtml-0.7.14.tar.gz

记得先编译安装chmlib这个库,很多查看chm的软件都需要这个库的.(http://66.93.236.84/~jedwin/projects/chmlib/)
步骤大致是
./configure --prefix=/usr (最好将它安装到/usr目录)
make
make install


gtkhtml3升级到3.1.16了,这个版本可以自动断行,建议使用
http://people.redhat.com/dmalcolm/SRPMS/
应该下载libsoup和gtkhtml3
先编译libsoup然后才gtkhtml3
(如果你安装有gnome,编译可能会简单点,否则还要安装很多依赖软件包)


最后编译 chmsee (这次纯粹是为了测试 chmlib 解压中文chm的能力,程序有可能不稳定和存在危险性)
发表于 2004-7-8 09:50:40 | 显示全部楼层
怪不得gnochm 0.9版的已经可以看中文了。
chmsee,加油阿。
发表于 2004-7-8 10:45:33 | 显示全部楼层
下载chmsee-gtkhtml-0.7.14.tar.gz减压出错,文件有问题吧
 楼主| 发表于 2004-7-9 03:58:35 | 显示全部楼层
thanks,我已经重新上传
发表于 2004-7-13 23:28:39 | 显示全部楼层
checking for gtk+-2.0 >= 2.2.2... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
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.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@nkwz chmsee-gtkhtml-0.7.14]#

编译安装chmlib后 编译chmsee时出现上面的提示 ,是因为那两个包没有装么?
发表于 2004-7-14 00:11:05 | 显示全部楼层
 楼主| 发表于 2004-7-14 19:29:18 | 显示全部楼层
最初由 nkwz 发表
checking for gtk+-2.0 >= 2.2.2... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
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.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@nkwz chmsee-gtkhtml-0.7.14]#

编译安装chmlib后 编译chmsee时出现上面的提示 ,是因为那两个包没有装么?



麻烦大哥,,看清楚我的贴
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表