找回密码
 注册
查看: 2212|回复: 8

FC4下成功安装chmsee的方法!

[复制链接]
发表于 2005-8-23 20:17:42 | 显示全部楼层 |阅读模式
Windows下面有一些电子图书是chm格式的,在Linux下面如何看呢?我推荐一个不错的软件ChmSee,今天安装成功,特分享一下安装经验,因为看到好多人都没有安装成功.

环境: Fedora Core 4 (Linux kernel: 2.6.12-1.1398_FC4)
前提:你的系统已经有Gtk+, FC4带有Gtk 2.6.7!
1 下载软件包
(1)gtkhtml-3.6.2.tar.gz
下载地址:http://www.icewalkers.com/Linux/Software/59910/GtkHTML.html

(2)chmsee-0.9.5.tar.bz2
下载地址:http://211.92.88.40/~zhong/

2 安装
(1)安装gtkhtml
$ tar zvxf gtkhtml-3.6.2.tar.gz
$cd gtkhtml-3.6.2
$ ./configure --prefix=/usr
$ make
$ su
password
# make install

(2)安装chmsee
$ tar jvxf chmsee-0.9.5.tar.bz2
$cd chmsee-0.9.5
$ ./configure  
$ make
$ su
password
# make install
默认安装到/usr/local下面

到此就安装好了!
Enjoy!
发表于 2005-8-30 08:46:27 | 显示全部楼层
gtkhtml yum一下就行,呵呵
回复

使用道具 举报

发表于 2005-8-31 15:59:53 | 显示全部楼层
听说买Fedora Core 4,有永中Office送,不知道真的假的
回复

使用道具 举报

发表于 2005-8-31 16:43:00 | 显示全部楼层
Fecora Core 4 本来不用买的吧。
回复

使用道具 举报

发表于 2005-8-31 16:52:48 | 显示全部楼层
下载的小说CHM有好多无法用chmsee看,郁闷得很。
回复

使用道具 举报

发表于 2005-8-31 16:58:13 | 显示全部楼层
[quote:5484d71cb0="hellohi"]听说买Fedora Core 4,有永中Office送,不知道真的假的[/quote]

真的!
回复

使用道具 举报

发表于 2005-9-8 21:20:39 | 显示全部楼层
我的是这样 怎么回事啊。
litianwe@LITIANWE gtkhtml-3.6.2]$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
回复

使用道具 举报

发表于 2005-10-6 13:04:08 | 显示全部楼层
gtkhtml和libgtkhtml一样吗
回复

使用道具 举报

发表于 2005-10-12 15:05:01 | 显示全部楼层
我在Fc4下失败哦
[root@localhost Desktop]# cd chmsee-0.9.5
[root@localhost chmsee-0.9.5]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.6.6)
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gtk+-2.0 >= 2.2.2... yes
checking GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libgtkhtml-3.1 >= 3.1.8... Package libgtkhtml-3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtkhtml-3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtkhtml-3.1' found

configure: error: Library requirements (libgtkhtml-3.1 >= 3.1. not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

我已经按你的方法装了Gtkhtml了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-6 13:47 , Processed in 0.063434 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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