close
Install xchm in fedora core 3
This has been tested on FC3 final, but should work for other distros
The wxWidgets install is same as for the comical-0.4 how-to (http://www.fedoraforum.org/forum/showthread.php?t=26664)
You'll need wxWidgets for GTK+, get wxGTK-2.4.2.tar.gz from here:
http://www.wxwindows.org/dl_gtk.htm
and also these two rpm packages from your Fedora Core 3 discs or the usual dowmload sites
(eg http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/Fedora/)
glib-devel-1.2.10-15.i386.rpm, gtk+-devel-1.2.10-33.i386.rpm
chmlib-0.35.tgz from here http://66.93.236.84/%7Ejedwin/projects/chmlib/
xchm-0.9.5.tar.gz from here http://sourceforge.net/project/showfiles.php?group_id=87007
copy all files to /tmp and login as root
su -
cd /usr/local/src
rpm -ihv glib-devel-1.2.10-15.i386.rpm
rpm -ihv gtk+-devel-1.2.10-33.i386.rpm
tar zxvf wxGTK-2.4.2.tar.gz
tar zxvf chmlib-0.35.tgz
tar zxvf xchm-0.9.5.tar.gz
cd wxGTK-2.4.2
./configure --with-gtk
make
make install
Now you need to add the line '/usr/local/lib' to /etc/ld.so.conf using your favourite editor.
Then continue:
ldconfig
cd /usr/local/src/chmlib-0.35
./configure
make
make install
ldconfig
cd /usr/local/src/xchm-0.9.5
./configure
make
make install
Now just type 'xchm' to open the viewer
The wxWidgets install is same as for the comical-0.4 how-to (http://www.fedoraforum.org/forum/showthread.php?t=26664)
You'll need wxWidgets for GTK+, get wxGTK-2.4.2.tar.gz from here:
http://www.wxwindows.org/dl_gtk.htm
and also these two rpm packages from your Fedora Core 3 discs or the usual dowmload sites
(eg http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/Fedora/)
glib-devel-1.2.10-15.i386.rpm, gtk+-devel-1.2.10-33.i386.rpm
chmlib-0.35.tgz from here http://66.93.236.84/%7Ejedwin/projects/chmlib/
xchm-0.9.5.tar.gz from here http://sourceforge.net/project/showfiles.php?group_id=87007
copy all files to /tmp and login as root
su -
cd /usr/local/src
rpm -ihv glib-devel-1.2.10-15.i386.rpm
rpm -ihv gtk+-devel-1.2.10-33.i386.rpm
tar zxvf wxGTK-2.4.2.tar.gz
tar zxvf chmlib-0.35.tgz
tar zxvf xchm-0.9.5.tar.gz
cd wxGTK-2.4.2
./configure --with-gtk
make
make install
Now you need to add the line '/usr/local/lib' to /etc/ld.so.conf using your favourite editor.
Then continue:
ldconfig
cd /usr/local/src/chmlib-0.35
./configure
make
make install
ldconfig
cd /usr/local/src/xchm-0.9.5
./configure
make
make install
Now just type 'xchm' to open the viewer
全站熱搜
留言列表