Slackware
Contents
Gnucash on Slackware
With Gnucash having evolved into a Gnome 2 application, and Slackware Gnome support being picked up by Dropline Gnome, it has become much easier to install Gnucash on a Slackware system. In fact, we may even hope for the day when Gnucash itself is distributed with Dropline Gnome. In the meantime, here are some success stories.
Prebuilt packages / multi-version
- pre-built GnuCash packages for Slackware, including packages for Slack 7 and 8. Haven't tried these - perhaps someone could comment on them.
Slack 12 or Slamd64 12 + GnuCash 2.2.4
Success! A minimal install of gnome dependencies to get GnuCash installed on slackware!
Install the following packages from GWARE Rev H gnome 2.20.3
- libgsf-gnome
o libORbit2 o libbonobo o libgnomevfs2 + gnome-mime-data-2.0 + libconf2
- libgnomeui
o libbonoboui + libgnomecanvas -libgnome - gail + glib 2.14.4 - replaces stock slackware package to fix an error durring compile and because you will need it anyway o gnome-keyring o gtk 2.12.5 - replaces stock slackware package to fill the gdk-pixbuf version dependency + pango 1.18.4 - replaces stock slackware package.
- libgtkhtml 3
Note, glib gtk and pango updates are only if you are using GWARE 2.20.3 packages. You can probably find older versions that work with the default slackware packages.
Install the following packages from slackbuilds.org
- libgoffice 0.4.0 at least - there is no gware package for this. The package listed slackbuilds.org is current and works after installing the mentioned Gware 2.20.3 packages and leaving all other packages as stock slackware.
- slib - slackbuilds.org is not accepting packages until the release of slackware 12.1 at the time of this writing. However, there is plenty of information already listed to getting slib installed. I used slib3a1.
- swig - whatever is listed and slackbuilds.org works for this install.
Optional dependencies
aqbanking - only if you want to do online banking and you have your bank's server information
OFX - only if you install aqbanking
TO Build your own package!
Slackbuilds will hopefully accept the script I wrote after slackware 12.1 is released. In the mean time here is the core of the packageing
CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="$SLKLDFLAGS$LIBSUFFIX" \ ./configure \ --libdir="$LIBDIR$LIBSUFFIX" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
Slack 11 + GnuCash 2
Outline follows. See this page with more details.
- Start with a fresh Slack 11 installation
- Do a full dropline install. Probably only a few Dropline packages are required - if someone has time it would be a great contribution to figure out what the minimum set of packages is.
- removepkg guile-1.8.0-i486-1
- Install guile 1.6.8 from sources
- Install g-wrap 1.3.4 from sources
- Install slib 2d6
- ./configure && make && make install.
Slack 11 + GWARE Rev H. - Sorry for the length. The following are a guide lines to using GWARE and trying to stick with the original versions of packages that come with slackware. Please read ALL the steps and ALL the notes before begining the install process.
Outline:
- Fresh Slackware 11.0 install
- Full GWARE Rev. H install
- install libgsf-1.14.1 from the slackware sources *I
- Guile Does not need to be reinstalled... I think... if you have problems use the same trick as libgsf *II
- ln -s /usr/share/guile/1.8 /usr/share/guile/site
- install Slib3a1 and set guile up to use it *III
- install guile-lib 0.1.3 with prefix /usr *IV
- install g-wrap 1.9.6 with prefix /usr *V
- install gnucash-2.0.4 *VI
I - the libgsf-1.14.1 that comes with slackware is missing the libgsf-gnome lib files that are required by gnucash. Also, GWARE Rev H. does not include a libgsf package.
To install libgsf automagically as a slackware package:
- download the libgsf files from a slackware mirror
- edit the BUILD variable in libgsf.SlackBuild to be something like '1gca' so that you know it is different than the one installed with slackware.
- upgradepkg /location/of/libgsf-1.14.1-i486-1gca.tgz
II - guile-lib and g-wrap need to be installed with the prefix /usr because they will install files into /prefix/share/guile/site.
III - I didn't try slib 3a2. However, 3a3 and 3a4 were not setting up correctly.
To install slib3a1:
- tar xvzf /path/to/slib3a1.tar.gz -C /usr/local/lib/slib
- cd /usr/local/lib/slib
- make
- make install
NOTE: slib3a1 makefile appears to only install the documentation where as slib3a3 and 3a4 install slib into /usr/local/lib/slib
To set up guile to use slib3a1 (IE: create the slibcat file):
- ln -s /usr/local/lib/slib /usr/share/guile/site/slib
- guile -l /usr/share/guile/site/slib/
- guile> (require 'new-catalog)
- guile> (quit)
NOTE: we can test the guile/slib set up with:
guile -c "(use-modules (ice-9 slib)) (require 'printf)"
the output should be nothing. If it says something, then I can't help you.
IV - g-wrap's testsuite will fail if guile-lib is not installed. I do not know if this is requiered by anything other than to pass g-wraps tests
To install guile-lib:
./configure --prefix=/usr && make && make install
The test suite might have one or two fails arround os.process.scm
V - newer versions can produce an error when gnucash loads.
To install g-wrap:
./configure --prefix=/usr && make && make check && make install
There were no problems.
VI - This takes a while:
./configure && make && make check && make install
I recieved "FAILURE end of quarter test-freq-spec.c" and a few ** CRITICAL ** messages for qof_class_get_parameter, xaccSplitSetAccount, FindCommonExclSCurrency.
Slack 10.2
- Jay the Obscure who offers other Slackware 10.2 Packages as well.
- Rich Shepard privately offers a prebuilt GnuCash 2 package for Slackware 10.2.
Slack 10.1 + GnuCash 1.8
See this writeup by J. Milgram and also this writeup provided by Amigo Linux.
Slack 9.0/9.1 + GnuCash 1.8
See this writeup by RJ Marquette. RJ has also provided directions for installing the help files.
--Milgram 19:28, 7 January 2007 (EST)