免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1187 | 回复: 0
打印 上一主题 下一主题

Suse9.2下安装chmsee [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-16 18:54 |只看该作者 |倒序浏览
下载了一些chm文档,但是无法看,找到了chmsee,可到http://211.92.88.40/~zhong/下载
步骤
1.将下载下来的包解压
2.运行./configure --prefix=/usr
这时会报一些错误,比如没有安装gcc,gtk版本过低,libgtkhtml太低等等
此时要用YaST2,根据错误信息,缺一个装一个,中间换盘n次
3.configure终于通过了,make文件生成,继续运行make
这时link会报错,libgailutil.la,libgnome-keyring.la等共5个文件无法找到,这两个文件应
放在/opt/gnome/lib下,还有libjpeg.la,libesd.la,libpopt.la,这三个文件应放在/usr/lib下面
4.我现在还不会该如何生成这些文件,只好手工编写了,具体格式如下,以libjpeg.la为示例,用vi或其他工具编写
#libjpeg.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4b (1.971 2001/07/09 22:02:09)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libjpeg.so.62'
# Names of this library.
library_names='libjpeg.so.62.0.0 libjpeg.so.62'
# The name of the static archive.
old_library=''
# Libraries that this one depends upon.
dependency_libs=''
# Version information for libjpeg.
current=62
age=0
revision=0
# Is this an already installed library?
installed=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/lib'
其他的几个都照样修改,要注意的是版本号和libdir的设置要按实际文件的版本及所在的路径来,
先ls看一下对应的文件名,例如libgailutil在我的机器上对应的dlname是libgailutil.so.17
5.终于make通过了,这样在chmsee-0.9.5/src下会生成make过后的文件,执行下面的./chmsee,就可以
进入chmsee界面了,然后可以打开chm文件阅读
6.感觉中文支持很好,但有时报wrong link错误,不过不影响看

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/5115/showart_15945.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP