gnucash - A GTK+-based Quicken or M$-Money like financial program ChangeLog

HOWTO


# gnucash
# =======
# The first version of gnucash in this howto is the 'gnucash-gnome2-dev'
# branch of gnucash from CVS.  This is the only version that might work with
# Gnome 2.x  If you use Gnome 1.x, try version 1.8.9 at the bottom.  I no
# longer have access to anything that runs Gnome 1.x, so I'll keep updating
# that one for the latest version, but be aware that I can't actually try
# it.

# If you ever have trouble getting to the Gnucash web site, try these instead:
# http://gnucash.planetmirror.com/
# http://www.au.gnucash.org/

# Do this before installing anything below:
cd
mkdir -p -m 0700 installed/gnucash
mkdir -p /usr/local/src/gnucash


# slib 3a1
# ========
# Prerequisites:
# guile

cd
test -f installed/gnucash/slib3a1.tar.gz &&
mv installed/gnucash/slib3a1.tar.gz .
test ! -f slib3a1.tar.gz &&
wget http://swissnet.ai.mit.edu/ftpdir/scm/slib3a1.tar.gz
cd /usr/share/guile
test -d ./slib && rm -r ./slib
tar xzvf ~/slib3a1.tar.gz
chown -R root:root slib
echo '#!/bin/sh' > /etc/profile.d/slib
echo 'export SCHEME_LIBRARY_PATH=/usr/share/guile/slib' >> /etc/profile.d/slib
chmod +x /etc/profile.d/slib
. /etc/profile.d/slib
cd
rm -f installed/gnucash/slib*.tar.*
mv slib3a1.tar.gz installed/gnucash/


# g-wrap 1.3.4
# ============
# Prerequisites:
# gawk
# sed
# grep
# guile
# glib
# gtk+
# slib (I don't think it needs it directly, but things that g-wrap uses
#  require it; and so does gnucash itself)

cd
test -f installed/g-wrap-1.3.4.tar.gz && mv installed/g-wrap-1.3.4.tar.gz .
test ! -f g-wrap-1.3.4.tar.gz &&
wget http://www.gnucash.org/pub/g-wrap/source/g-wrap-1.3.4.tar.gz
cd /usr/local/src/gnucash
find -type d -maxdepth 1 -name "g-wrap-*" -exec rm -r {} \;
tar xzvf ~/g-wrap-1.3.4.tar.gz
cd g-wrap-1.3.4
chown -R root:root .
./configure --prefix=/usr
make
rm -f /usr/lib/libgw-glib.* /usr/lib/libgw-standard.* /usr/lib/libgw-wct.* \
/usr/lib/libgwrap-wct.* /usr/lib/libgwrap-glib.*
make install
ldconfig
cd
rm -f installed/gnucash/g-wrap-*.tar.*
mv g-wrap-1.3.4.tar.gz installed/gnucash/


# guppi 0.40.3
# ============
# Slackware 8.1 had a 'guppi' package, version 0.40.3, 9.0 and 9.1 don't.
# Guppi is a "dead" (not maintained) package, and is not a part of Gnome 2.x
# If you're going to install gnucash from cvs, skip this one.

# Prerequisites:
# perl
# gettext
# flex
# bison
# gtk >= 1.2.0
# X

cd
test -f installed/gnucash/Guppi-0.40.3.tar.bz2 &&
mv installed/gnucash/Guppi-0.40.3.tar.bz2 .
test ! -f Guppi-0.40.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/Guppi/0.40/Guppi-0.40.3.tar.bz2

# Verify tarball w/ md5sum:
echo "26ec6eb5b6fe7fb4e32ecff64d4f1b16  Guppi-0.40.3.tar.bz2" | md5sum -c

cd /usr/local/src/gnucash
find -type d -maxdepth 1 -name "Guppi-*" -exec rm -r {} \;
tar xjvf ~/Guppi-0.40.3.tar.bz2
cd Guppi-0.40.3
chown -R root:root .
./configure --prefix=/usr --disable-nls
make
make install
cd
rm -f installed/gnucash/Guppi-*.tar.*
mv Guppi-0.40.3.tar.bz2 installed/gnucash/


# gnucash-gnome2-dev (CVS)
# ==================
# This is far from a stable version, so even if you do successfully build it,
# back up your files _every_time_ you run it.  Read the file GNOME2_STATUS in
# the source directory to see what works and what doesn't, keep an eye on the
# Changelog, and you may also want to subscribe to the gnucash-devel mailing
# list.

# Prerequisites:
# cvs
# gawk
# perl
# iconv
# gettext
# grep
# pkg-config
# glib >= 2.0.0
# guile >= 1.3.4
# g-wrap >= 1.3.3
# libxml-2.0 >= 2.5.10
# doxygen
# graphviz's dot
# Berkeley DB (bdb) >= 1.85
# popt
# libgnomeui-2.0 >= 2.2
# gtk+-2.0 >= 2.2
# libgnomeprint-2.2
# libgnomeprintui-2.2
# libglade-2.0
# libgtkhtml-3.x (configure looks for 3.6, 3.2, 3.1, and 3.0)

cd /usr/local/src/gnucash
test -d ./gnucash &&
( cd gnucash ; make distclean ; cvs update )
test ! -d ./gnucash &&
( cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login
   # hit enter for the password
   cvs -z3 -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout \
    -r gnucash-gnome2-dev gnucash )
cd gnucash
chown -R root:root .
./autogen.sh --prefix=/usr --sysconfdir=/etc

## If make fails with an error like this:
# /usr/bin/ld: cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

make
make install
ldconfig
find /usr/share/locale -type f -name "gnucash.mo" -exec rm {} \;
echo "gnucash was installed from CVS" > ~/installed/gnucash/gnucash.README
echo "source in /usr/local/src/gnucash/gnucash" >> ~/installed/gnucash/\
gnucash.README

# /usr/share/gnucash/pixmaps/gnucash-icon.png can be used as a desktop icon

# Make sure you start gnucash once as root before you run it as any non-root
# user.

# Skip down to the bottom to install the documentation


# gnucash 1.8.11
# ==============
# Prerequisites (in addition to the ones required to build Guppi and g-wrap):
# libtool
# perl
# gettext
# libiconv
# bison
# libpng
# libjpeg
# zlib
# xpm (comes with X)
# libgnome >= 1.2.0
# libgnomeprint
# gtkhtml >= 0.8
# gal
# Berkeley DB (bdb) >= 1.85
# libofx (optional; for importing ofx files)
# openhbci (optional; for importing hbci files)
# libxml

cd
test -f installed/gnucash/gnucash-1.8.11.tar.gz &&
mv installed/gnucash/gnucash-1.8.11.tar.gz .
test ! -f gnucash-1.8.11.tar.gz &&
wget http://download.sf.net/gnucash/gnucash-1.8.11.tar.gz

# Verify tarball w/ md5sum:
# Note: this md5sum comes from the author of the howto, I couldn't find one
# from the authors.  If my copy is OK and this matches, then yours is too.  :-)
echo "5ad11fbc5c86316632c5f9ec44dba659  gnucash-1.8.11.tar.gz" | md5sum -c

cd /usr/local/src/gnucash
find -type d -maxdepth 1 -name "gnucash-?.*" -exec rm -r {} \;
tar xzvf ~/gnucash-1.8.11.tar.gz
cd gnucash-1.8.11
chown -R root:root .
./configure --prefix=/usr --disable-nls
make
make install
ldconfig
find /usr/share/locale -type f -name "gnucash.mo" -exec rm {} \;
cd
rm -f installed/gnucash/gnucash-?.*.tar.*
mv gnucash-1.8.11.tar.gz installed/gnucash/


# gnucash-docs 1.8.5
# ==================
# Prerequisites:
# gawk
# sed
# scrollkeeper
# libxslt
# perl
# Berkeley DB (bdb) w/ 185 compatibility
# yelp

cd
test -f installed/gnucash-docs-1.8.5.tar.gz &&
mv installed/gnucash-docs-1.8.5.tar.gz .
test ! -f gnucash-docs-1.8.5.tar.gz &&
wget http://www.gnucash.org/pub/gnucash/sources/stable/\
gnucash-docs-1.8.5.tar.gz
cd /usr/local/src/gnucash
find -type d -maxdepth 1 -name "gnucash-docs-*" -exec rm -r {} \;
tar xzvf ~/gnucash-docs-1.8.5.tar.gz
cd gnucash-docs-1.8.5
chown -R root:root .

## If you have db4 installed and get an error like this:
## "dbadd.c:87: warning: assignment makes pointer from integer without a cast"
## after you run make below, apply this patch, then run make again.  I've
## had to use this patch with version 1.8.3 through 1.8.5
# wget -nc http://englanders.cc/pub/linux/patches/gnucash-docs-1.8.3.patch &&
#  patch -p0 < gnucash-docs-1.8.3.patch

./configure --prefix=/usr --sysconfdir=/etc
make
make install
cd
rm -f installed/gnucash/gnucash-docs-*.tar.gz
mv gnucash-docs-1.8.5.tar.gz installed/gnucash/

# 'make install' calls scrollkeeper-update, so no need to run it here

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-04-27 10:09am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]