LinuxSir.cn,穿越时空的Linuxsir!

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

xchm -- chm for linux

[复制链接]
发表于 2004-1-12 04:12:54 | 显示全部楼层 |阅读模式
Sorry for my poor English, I don't know how to type Chinese in English locale.

xchm is chm reader for linux, the official site is:
xchm.sourceforge.net

it requires chmlib and wxWindows

1. chmlib:
http://66.93.236.84/%7Ejedwin/projects/chmlib/

then tar, make all, make install.

For fedora core 1 users, here are something to change due to the upgrade of gcc tool chain.

Platform : Fedora Core 1
Compiler: gcc-3.3.2

Makefile:
CC=gcc-3.2
LD=gcc-3.2

should be updated to
CC=gcc
LD=gcc


INSTALLPREFIX=/usr/local/
should be updated to
INSTALLPREFIX=/usr/local


for latest libtool could find apporiprate gcc to compile.

%.lo: %.c
        ${LIBTOOL} ${CC} -c -o $@ $^ ${CFLAGS}

libchm.la: chm_lib.lo lzx.lo
        ${LIBTOOL} ${LD} -o $@ $^ ${LDFLAGS} -rpath ${INSTALLPREFIX}/lib

according the latest libtool spec, should be updated to
%.lo: %.c
        ${LIBTOOL} ${CC} --mode=compile -c -o $@ $^ ${CFLAGS}

libchm.la: chm_lib.lo lzx.lo
        ${LIBTOOL} ${LD} --mode=link -o $@ $^ ${LDFLAGS} -rpath ${INSTALLPREFIX}/lib


2. wxWindows,  wxGTK is OK,
just ./configure, make ,make install, it would cost a long time, so take a rest and have some coffee.


3. xchm
./configure, make, make install.


Hope good lucks.
发表于 2004-1-12 20:02:59 | 显示全部楼层
有人试过吗?用过的讲一下怎么样?
发表于 2004-1-12 20:31:03 | 显示全部楼层
http://www.linuxsir.cn/forum.php ... hm&pagenumber=2

不清楚现在的情况,据说Magic中的KDE里可以查看CHM文件。
发表于 2004-1-12 21:08:05 | 显示全部楼层
xchm以chmlib为底层可显示CHM文件,许多文件不行。
 楼主| 发表于 2004-1-13 05:02:16 | 显示全部楼层
我用过的,可以看英文的,
我的大多数的文档都是英文的,贴一张图给大家看看.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-1-13 05:41:48 | 显示全部楼层
听说chm viewer 也不错的. 有谁用过?
发表于 2004-1-13 09:08:38 | 显示全部楼层
我的即便安装了据说支持中文的chmlib0.31版,xchm也还是无法读取中文chm……
发表于 2004-1-13 11:15:12 | 显示全部楼层
刚才在FreeBSD下面测试了一下,效果很不错!谢谢!
发表于 2004-1-13 12:14:22 | 显示全部楼层
最初由 hongewuyan 发表

我的即便安装了据说支持中文的chmlib0.31版,xchm也还是无法读取中文chm……


只是我的可以。
发表于 2004-1-13 12:37:30 | 显示全部楼层
我用gentoo里面xchm,中文可以读.
但是有些chm文件会让xchm异常退出.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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