Compile and install chmsee in FC4

Source: Internet
Author: User
Tags cairo gtk
Chmsee is a tool for viewing CHM files in Linux. the latest version is 0.9.6-rc2. when compiling the latest chmsee, libraries such as gtk2.8 and gtkhtml and chmlib are required. after half a day of exploration, the installation is successful. the installation process is described as follows:
1. Download source code
A. http://gro.clinux.org/projects/chmsee/ to download the latest chmsee source code.
B. Download gtk2.8 and related dependent packages at www.gtk.org.
Cairo-1.0.2.tar.gz
Libpng-1.2.8.tar.bz2
Tiff-3.7.4.tar.gz
Jpegsrc.v6b.tar.gz
Pkg-config-0.20.tar.gz (Note: if the current PKG-config version is already 2.0, you don't have to download this package. Verification Method: PKG-config -- Version)
Atk-1.10.3.tar.bz2
Glib-2.8.6.tar.bz2
Pango-1.10.4.tar.bz2
Gtk316-2.8.18.tar.bz2
C. Download gtkhtml, gnome-icon-theme in http://ftp.gnome.org/pub/GNOME/sources/
Gnome-icon-theme-1.3.7.tar.bz2
Gtkhtml-3.8.2.tar.bz2
D. In http: // 66.93.236.84 /~ Jedwin/projects/chmlib/download chmlib
Chmlib-0.37.4.tgz
2. decompress the downloaded package.
3. Compile
A. Compile gtk2.8 first.
Compile and install Cairo-1.0.2 libpng-1.2.8 Tiff-3.7.4 sans SRC. v6b.
Note that if the default configuration is used during compilation ~ /. Bashrc is the value specified by pkg_config_path.
Export pkg_config_path = "/usr/local/lib/pkgconfig"
Export LD_LIBRARY_PATH = "/usr/local/lib"
Then compile and install ATK, pango, glib, GTK +-2.8 in sequence.
B. Compile and install gnome-icon-theme and gkthtml
C. Compile and install chmlib
D. Compile and install chmsee.
The preceding three commands are used to compile and install all the software packages.
./Configure
Make
Make install
The key is to configure pkg_config_path and the value of LD_LIBRARY_PATH. Otherwise, an error will occur during subsequent compilation.



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.