Installing GNUCash on TurboLinux 8

Brent Scott qubit at mail.com
Sat Feb 7 23:19:33 CST 2004


The following are the steps needed to compile and install GNUCash 1.8.2 on TurboLinux 8 with a Development Workstation installation. These worked for me and are not garunteed to work for everyone. Go through the dependency list and make sure the rpm's listed are installed on the system. REMEMBER: Always test to see if there is another version of the package already installed before recompiling. Follow the installation steps in sequence. These instructions are for gcc versions 3.3 or 2.96 and perl versions 5.8 or 5.6.1.

1.0 Dependency List

1.1 Dependencies from the README
The rpm's for Turbo Linux WS8 can be obtained here:
ftp://ftp.turbolinux.com/pub/TurboLinux/TurboLinux/ia32/Workstation/8/install/turbo/RPMS
List of required packages, installed package names and action needed (make sure
the devel packages for each rpm is also installed):

Gnome 1.4       gnome-core-1.4.0.4-23   ok (from RPM)
guile 1.4       guile-1.6.4.tar.gz      compile (see below)
slib 2c4        slib3a1.tar.gz          compile (see below)
libpng          libpng-1.2.1-1          ok (from RPM)
libjpeg         libjpeg-6b-15           ok (from RPM)
libz            zlib-1.1.4-2            ok (from RPM)
xpm             (XFree86 4.0)           ok (from RPM)
gnome-libs 1.2  gnome-libs-1.4.1.5-3    ok (from RPM)
gnome-print     gnome-print-0.35-1      ok (from RPM)
gdk-pixbuf      gdk-pixbuf-0.11.0-2     ok (from RPM)
libgal          gal-0.24.tar.gz         compile (see below)
Guppie 0.40.2   Guppi-0.40.2.tar.gz     compile (see below)
gtkhtml 1.1     gtkhtml-1.1.10.tar.gz   compile (see below)
libdb 1.85      db-4.2.52.tar.gz        compile (see below)
libofx 0.6.6    libofx-0.6.6.tar.gz     compile (see below)

1.2 Other Dependencis
The following are not listed in the README file for gnucash but may need to be installed if they have not already been. Do an rpm -q to check if the have already been instsalled. Capplet will need to be installed from source as described below.

GConf-devel-1.0.8-5.i586.rpm
gnome-vfs-devel-1.0.4-1.i586.rpm
libcapplet-1.5.11.tar.gz
OpenSP-1.5.tar.gz

2.0 Installation Instructions

2.1 Guile
 - Download guile-1.6.4.tar.gz from ftp://ftp.gnu.org/pub/gnu/guile.
 - Compile and install guile as outlined in the INSTALL file, using the default
values.
 - Run ldconfig to update the ld.so.cache file. You may need to make sure that /usr/local/lib is in /etc/ld.so.conf.

2.2 slib
 - Download slib2d6.tar.gz from http://swissnet.ai.mit.edu/ftpdir/scm. Do NOT use a new version since there are some changes that make GNUCash fail to load. For more information read:
http://www.mail-archive.com/gnucash-devel@lists.gnucash.org/msg04510.html

 - Unpack slib into /usr/local/share/guile. This will create an slib directory.
 - Run the following commands once slib is unpacked:
                user# guile
                guile> (use-modules (ice-9 slib))
                guile> (load "/usr/local/share/guile/slib/mklibcat.scm")
                guile> (quit)

2.3 g-wrap
 - Download g-wrap-1.3.4.tar.gz from http://www.gnucash.org/pub/g-wrap.
 - Compile and install guile as outlined in the INSTALL file, using the default
values.

2.4 GAL
 - Download gal-0.24.tar.gz from ftp://ftp.gnome.org/pub/GNOME/sources/gal.
 - Compile and install gal as outlined in the INSTALL file, using the defualt values.
 - Copy /usr/local/lib/pkgconfig/gal.pc to /usr/lib/pkgconfig.
 - Copy /usr/local/lib/galConf.sh to /usr/lib.

2.5 Guppie
 - Download Guppie-0.40.2.tar.gz from http://www.gnucash.org/pub/guppi/source/Guppi-0.40.2.tar.gz.
 - Configure using --prefix=/usr option.
 - Compile and install Guppie.
 - Be sure to view the README instructions for Guppie in gnucash source dir.

2.6 Capplet
 - Download libcapplet-1.5.11.tar.gz from ftp://ftp.gnome.org/pub/GNOME/sources/libcapplet/1.5
 - Compile and install capplet outlined in the INSTALL file, using the defualt values.
 - Copy /usr/local/lib/pkgconfig/libcapplet.pc /usr/lib/pkgconfig.
 - Copy /usr/local/lib/cappletConf.sh to /usr/lib.

2.7 gktHTML
 - Download gtkhtml-1.1.10.tar.gz from ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml.
 - Compile and install gtkhtml outlined in the INSTALL file, using the defualt values.
 - Copy /usr/local/lib/pkgconfig/gtkhtml-1.1.pc /usr/lib/pkgconfig

2.8
 - Download db-4.2.52.tar.gz from http://www.sleepycat.com.
 - Use the following options for configuring:
        --prefix=/usr/local/install/BerkeleyDB4
        --enable-compat185
 - Compile and install according to the directions in the docs directory.

2.9 OpenSP
 - Download OpenSP-1.5.tar.gz from http://download.sourceforge.net/openjade.
 - Compile and install gtkhtml outlined in the INSTALL file, using the defualt values.
 - You will need to run /sbin/ldconfig in order to have OpenSP listed in the ld
cache.
 - NOTE: OpenSP does NOT compile with gcc version 3.3. Use gcc <= 3.0 instead.

2.10 libOFX
 - Download libofx-0.6.6.tar.gz from http://telia.dl.sourceforge.net/sourceforge/libofx.
 -  Configure with the following options:
        --with-opensp-includes=/usr/local/include/OpenSP
        --with-opensp-libs=/usr/local/lib
 - Compile and install according to the directions in the INSTALL file.

2.11 GnuCash
 - Download gnucash-1.8.8.tar.gz from http://www.gnucash.org.
 - Use the following options:
        --prefix=/opt/GnuCash
        --enable-sql (Optional for PostgreSQL support)
        --enable-ofx
 - Run gnucash as root first! Then run as a normal user thereafter.
 - NOTE: Some permissions for .scm files may need changed.

-Br-

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the gnucash-user mailing list