|
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. |
|