Installing CHM File reader chmsee in fc6

Source: Internet
Author: User

On its website, chmsee describes itself as a perfect CHM File Reading Tool Based on gtk2 +.
You can also select the font. Recommended. Its URL is:

Http://chmsee.gro.clinux.org/

Open the source code package and common release Binary Package on the website above. Its
The content is as follows:

Download
Source code package
1.0.0: http://gro.clinux.org/frs/download.php/2040/chmsee-1.0.0.tar.gz MD5:
65fddfe20f4a1537e539998201a0ccfd
0.9.6: http://chmsee.gro.clinux.org/chmsee-0.9.6.tar.bz2 MD5:
4d4583622b0073bf5a6ed2771c226d7f
Debian package (thanks to Li daobing ):
Debian: http://code.google.com/p/pkg-newedit/downloads/list
Mirror: http://debian.ustc.edu.cn/debian-uo/dists/sid/ustc/pool/chmsee/
APT (only for Mainland China)
Deb http://debian.ustc.edu.cn/debian-uo Sid USTC
Deb-Src http://debian.ustc.edu.cn/debian-uo Sid USTC
Fedora RPM (thanks to bbbush and hellwolf ):
Ftp://ftp.fedora.cn/pub/fedora-cn/linux/6/i386
Gentoo (thanks to ZHANG Le and lidaibin ):
Gentoo China overlay: http://cia.vc/stats/project/gentoo-china-overlay.

Existing users can directly use
# Emerge chmsee

For more information about Gentoo China overlay, visit

Http://www.linuxsir.org/bbs/showthread.php? T = 272832

Install through source code package
Software Package dependency:
• Gtk2 +
• Libglade
• Gecko (chmsee 1.0.0)
• Gtkhtml (chmsee 0.9.6)
• Chmlib
• OpenSSL (GNU/Linux)

Compile
$ Tar xzf chmsee-1.0.0.tar.gz
$ Chmsee-1.0.0 CD
$./Configure
$ Make
# Make install
If the chmlib library in the system is not found when configure is executed, use -- withchmlib =/
Path/to/chmlib is specified. (This is different depending on the actual situation. My host is -- withchmlib =/
Usr/local/LIB)

<! --
@ Page {size: 21 cm 29.7; margin: 2 cm}
P {margin-bottom: 0.21}
-->

<! --
@ Page {size: 21 cm 29.7; margin: 2 cm}
P {margin-bottom: 0.21}
-->


TIPS:
• Unlike some CHM reading tools, chmsee uses to decompress the CHM file before reading html
File method. The decompressed file is saved in the $ home/. chmsee/bookshelf directory. If you want
To clear the extracted files, press the "Settings" button and use "clear" in the displayed dialog box.
"Function.
• The chmsee bookmarks function is linked to each CHM File. After opening a CHM File, only the current
File bookmarks.
• If you are familiar with CSS, you can use the gecko feature to modify the appearance of the CHM document. For example
You can set the color to pale yellow in the $ home/. chmsee/Mozilla/Chrome/usercontent.css file.
Add the following line to the file:
Body {
Background-color: # ffffcc! Important;
}
• When you try a new version, if the program cannot run or exit when opening the file, please clear it first ~ /. Chmsee
Directory.
Version Control
Chmsee uses GNU arch for version control, from http://chmsee.gro.clinux.org/archives can
See its source code repository.
Submit bug
If you find a program bug in use or have any suggestions, visit
Http://gro.clinux.org/tracker? Group_id = 941 submit a question. Thank you!


My actual installation instructions:


I downloaded the 1.0.0 source code when installing chmsee (the higher the version, the better) Address: http://gro.clinux.org/frs/download.php/2040/chmsee-1.0.0.tar.gz
You can also install the RPM package in the RPM ora RPM column. You may not be able to open the page (try again). The dependencies listed above
There are a lot of files, which are quite scary at first glance. But with the improvement of the Linux version, some of these files have been
Provided, but not provided. You can search and install it online. I use fc6, and I only install
Chmlib installation package, which is:

Http://download.chinaunix.net/download.php? Id = 2664 & resourceid = 1397

After successful installation, the following prompt will be displayed:
Libraries have been installed in:

/Usr/local/lib

If you ever happen to want to link against installed Libraries
In a given directory, libdir, you must either use libtool, and
Specify the full pathname of the library, or use the '-llibdir'
Flag during linking and do at least one of the following:
-Add libdir to the 'LD _ LIBRARY_PATH 'environment variable

During execution

-Add libdir to the 'LD _ run_path 'environment variable

During linking

-Use the '-wl, -- rpath-wl, libdir' linker flag
-Have your system administrator add libdir to '/etc/lD. So. conf'
Note that you are prompted to modify the environment variable in the yellow shadow section. Otherwise, you will be prompted to modify the environment variable in the chmsee directory./configure.
The MAKEFILE file cannot be generated, so there is no way to compile it. Use # env to view a lot of loops
Environment variables, in fact, the global environment variables are stored on/etc/profile, and a single user is ~ /. Bashrc
You can use the editor to modify the corresponding file, or use the shell internal command export
Set the environment variable as follows:
Export LD_LIBRARY_PATH = "/usr/local/lib" (as to why/usr/local/lib,
Check the prompt after chmlib package is installed)
Echo $ LD_LIBRARY_PATH can be used to check whether the setting is successful!
After chmsee's dependent file chimlib is installed, you can install chmsee.
The following error occurs:
An error occurred during./configure: "Configure: Error: XML: parser Perl Module
Is required for intltool ", according to the prompt, it should be a module that lacks support for Perl compilation.
When Linux installation software cannot be compiled and installed, many reasons are due to the lack of relevant files, as long
It should be easy to solve the problem. If XML-parser is missing, install
This Dongdong found the source code package on the official website. Download XML-Parser-2.34.tar.gz
For more information, see
The readme file contains detailed installation steps. Remember to read the installation steps before installing the software.
For files such as reader and install, the steps are as follows:
Tar zvxf XML-Parser-2.34.tar.gz
CD XML-Parser-2.34
[Marco. Chan @ fedora7 XML-Parser-2.34] $ Perl makefile. pl (compilation process) (Special !!!)

[Marco. Chan @ fedora7 XML-Parser-2.34] $ make
[Marco. Chan @ fedora7 XML-Parser-2.34] $ make test (this step is not required)
[Marco. Chan @ fedora7 XML-Parser-2.34] $ make install
After the installation is complete, it seems that no error is reported, but when you use it to open a file or run it, the following error occurs:
[Root @ violin ~] # Chmsee
/Usr/libexec/chmsee: Error while loading shared libraries:

Libgtkembedmoz. So: cannot open shared object file: no such file or directory

Solution:
Find this library file
[Root @ violin ~] # Locate libgtkembedmoz. So
/Usr/lib/firefox-1.5.0.7/libgtkembedmoz. So
(The version may be different, depending on the actual situation of your machine)
Edit the configuration file of the Library File
[Root @ violin ~] # Vim/etc/lD. So. conf

Add/usr/lib/firefox-1.5.0.7 and save
Make the configuration take effect.
[Root @ violin ~] #/Sbin/ldconfig

In this way, you can use chmsee to pull it! You can create

Set up a starter (similar to the desktop shortcut ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.