- 论坛徽章:
- 0
|
1.首先下载软件
http://software.lupaworld.com/show.php?id=98
2.安装
[root@linuxedu.net]#tar xjf chmsee-gtkhtml-0.9.0.tar.bz2
[root@linuxedu.net]#cd chmsee-gtkhtml-0.9.0
[root@linuxedu.net]#./configure --prefix=/usr/local/chmsee
[root@linuxedu.net]#make
[root@linuxedu.net]#make check
[root@linuxedu.net]#make install
3.应用
[root@linuxedu.net]#cd /usr/local/chmsee
[root@linuxedu.net]#./bin/chmsee-gtkhtml &
现在就可以打开你的chm文件进行查看了.
![]()
还有一种方法就是安装开源软件xchm,不过对中文支持不是很好.
1.下载软件
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.6.3.tar.gz
http://prdownloads.sourceforge.net/xchm/xchm-1.9.tar.gz?download
http://66.93.236.84/%7Ejedwin/projects/chmlib/chmlib-0.38.tar.gz
分别下载:wxWidgets-2.6.3.tar.gz,xchm-1.9.tar.gz,chmlib-0.38.tar.gz
2.安装软件
[root@linuxedu.net]#tar xzf wxWidgets-2.6.3.tar.gz
[root@linuxedu.net]#cd wxWidgets-2.6.3
[root@linuxedu.net]#./configure --with-x11
[root@linuxedu.net]#make
[root@linuxedu.net]#make install
[root@linuxedu.net]#ldconfig /usr/lib/
[root@linuxedu.net]#ldconfig /usr/local/lib
[root@linuxedu.net]#tar xzf chmlib-0.38.tar.gz
[root@linuxedu.net]#cd chmlib-0.38
[root@linuxedu.net]#/configure
[root@linuxedu.net]#make
[root@linuxedu.net]#make install
[root@linuxedu.net]#tar xzf xchm-1.9.tar.gz
[root@linuxedu.net]#cd xchm-1.9
[root@linuxedu.net]#./configure --prefix=/usr/local/xchm
[root@linuxedu.net]#make
[root@linuxedu.net]#make install
[root@linuxedu.net]#cd /usr/local/xchm/bin
[root@linuxedu.net]#./xchm &
注意:不安装wxWidgets会有以下错误信息
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.
./xchm: error while loading shared libraries:
libwx_x11univ_xrc-2.6.so.0: cannot open shared object file: No such
file or directory
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/44757/showart_484865.html |
|