LinuxSir.cn,穿越时空的Linuxsir!

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

SUSE下看CHM电子书搞定了

[复制链接]
发表于 2006-6-5 03:04:17 | 显示全部楼层 |阅读模式
1:下载          kchmviewer
http://download.chinaunix.net/download/0006000/5214.shtml
2:
$tar -zxvf kchmviewer-1.3.tar.gz
$cd kchmviewer-1.3
$./configure
若是congratulation.
$make
若是ok的话
$su root
#make install

OK!
发表于 2006-6-5 03:24:28 | 显示全部楼层
源里就有rpm
如果这样先装gcc
回复 支持 反对

使用道具 举报

发表于 2006-6-5 09:17:18 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2006-6-5 09:25:41 | 显示全部楼层
哈哈,我这里又出问题了

./configure 或者 ./configure --with-kde 都说:
Good - your configure finished. Start make now


然后make, 说:
Making all in chmlib
make[1]: Entering directory `/home/Benny/Desktop/kchmviewer-2.5/chmlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Benny/Desktop/kchmviewer-2.5/chmlib'
Making all in src
make[1]: Entering directory `/home/Benny/Desktop/kchmviewer-2.5/src'
make  all-recursive
make[2]: Entering directory `/home/Benny/Desktop/kchmviewer-2.5/src'
Making all in pics
make[3]: Entering directory `/home/Benny/Desktop/kchmviewer-2.5/src/pics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Benny/Desktop/kchmviewer-2.5/src/pics'
make[3]: Entering directory `/home/Benny/Desktop/kchmviewer-2.5/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/qt3/include -I../chmlib/   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT iconstorage.o -MD -MP -MF ".deps/iconstorage.Tpo" -c -o iconstorage.o iconstorage.cpp; \
then mv -f ".deps/iconstorage.Tpo" ".deps/iconstorage.Po"; else rm -f ".deps/iconstorage.Tpo"; exit 1; fi
iconstorage.h:60: error: extra qualification ‘KCHMIconStorage::’ on member ‘getCloseWindowIcon’
make[3]: *** [iconstorage.o] Error 1
make[3]: Leaving directory `/home/Benny/Desktop/kchmviewer-2.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Benny/Desktop/kchmviewer-2.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Benny/Desktop/kchmviewer-2.5/src'
make: *** [all-recursive] Error 1
回复 支持 反对

使用道具 举报

发表于 2006-6-5 10:49:20 | 显示全部楼层
用源安装不就不会有这样的问题了
回复 支持 反对

使用道具 举报

发表于 2006-6-5 11:26:53 | 显示全部楼层
RPM安装一切正常,为什么不用?
回复 支持 反对

使用道具 举报

发表于 2006-6-7 21:15:52 | 显示全部楼层
这个软件很方便啊,我也装了  
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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