Xchm is a help file in windows. It is used to view the tool in Linux. The following describes the installation process in rh9.
Download xchm-1.2.tar.gz, decompress it, and carefully check the README file. The installation process below is nothing more than a hand-written file. Of course, you can configure it at the end.
1 download wxWidgets http://www.wxwidgets.org and chmlib http: // 66.93.236.84 /~ Jedwin/Projects
Download xchm-1.2.tar.gz
2. Copy all the files to the/usr/local/directory and decompress them.
# Cp xchm-1.2.tar.gz/usr/local
# Cp wxGTK-2.6.2.tar.gz/usr/local
# Cp chmlib-0.36.tgz/usr/local
# Tar xzvf xchm-1.2.tar.gz
# Tar xzvf wxGTK-2.6.2.tar.gz
# Tar xzvf chmlib-0.36.tgz
3 install wxGTK-2.6.2
# Cd/usr/local/wxGTK-2.6.2
#./Configure
# Make // This process is the most painful thing. read this book and wait.
# Make install
4 install chmlib-0.36
# Cd/usr/local/chmlib-0.36
#./Configure
# Make
# Make install
5 installation main program xchm-1.2
# Cd/usr/local/xchm-1.2
#./Configure
# Make
# Make install
6. Final work.
Copy the following files from/usr/local to the/lib directory.
Libchm. so.0 libchm. so.0.0.0
Libwx_base-2.6.so.0 libwx_base-2.6.so.0.2.0
Libwx_base_net-2.6.so.0 libwx_base_net-2.6.so.0.2.0
Libwx_base_xml-2.6.so.0 libwx_base_xml-2.6.so.0.2.0
Libwx_gtk2_adv-2.6.so.0 libwx_gtk2_adv-2.6.so.0.2.0
Libwx_gtk2_html-2.6.so.0 libwx_gtk2_html-2.6.so.0.2.0
Libwx_gtk2_qa-2.6.so.0 libwx_gtk2_qa-2.6.so.0.2.0
Libwx_gtk2_xrc-2.6.so.0 libwx_gtk2_xrc-2.6.so.0.2.0
7. After installation is complete, you can run xchm.
#/Usr/local/bin/xchm
Of course, if you can also create a starter on the desktop, select/usr/local/bin/xchm for the program.