Why should Linux systems with dependency management package systems (rpm, deb, etc) have all the GnuCash fun? Why can't Slackware have that kind of fun, too?
Well, it can be done! I've done it several times over the last few years, and I've finally got enough of a hold on it (after installing GnuCash on my three Slackware 9.0 boxes) to write it up.
Roberto and others have contributed various corrections and additions. Thanks to all!
Note: this process requires the installation of several gtk/gnome packages from the Slackware 8.0/8.1 distribution. In my experience, this hasn't affected the gnome install from Slackware 9.0. (I have gnome completely installed although I rely on KDE, and I haven't had any problems running any gnome programs.)
Note 2: Sorry, haven't gotten the Guppi package to install reliably using the 8.0 packages, so I disable that on compile (I think it only affects charts and such). If I get that figured out, I'll update this. (Or, use the 8.1 packages; they work fine.)
Note 3: If I knew how to do it and had the time to maintain it, I'd do a .tgz package for Slack users. However, I don't have that kind of time, and I'd probably stop updating it after a couple versions. What we need is someone who does have the time to do this...(hint hint). Update - Roberto has contributed the following .build files: gnucash-1.8.4.build g-wrap-1.3.4.build. You should be able to use these (make them executable) to build and install g-wrap and gnucash.
Questions? Send them to email@example.com, and hopefully we can help you. Also, if you discover something missing on this page, please let us know and we'll add it.
Sorry for the long delay in doing the update! Several people submitted information about the gdk-pixbuf package in Slackware 9.1 - it turns out you can also use the gdk-pixbuf package from Slackware 8.1. I'm a bit surprised by that, because I'm sure other things are relying on the features available in the newer version supplied with 9.1, but if you don't use many gnome apps you might not have a problem.
I added a comment about imlib from 8.0/8.1 not being required (thanks Roberto!) for 9.1 to the Required Materials section. Also in that section, I added a link to Roberto's "useful_stuff" archive that provides scripts for compiling and installing GnuCash.
There are miscellaneous cleanups to try to make the page more readable. Poll question: should I drop the Slackware 9.0 stuff? It's getting confusing! Please let me know what you think. As always, thanks to everyone for submitting changes to the page and for the kind words about the page.
Craig has submitted instructions for getting GnuCash to import OFX files, used by some (most?) online banking systems. Thanks, Craig!
Jay Scott Raymond reports that these procedures work for installing Gnucash on Slackware 9.1 with one exception: the gdk-pixbuf package (version 0.22.0) is broken in Slackware 9.1, so you need to remove it and install gdk-pixbuf manually.
Jason Childs submitted a solution to the libfreetype.la problem described in the Known Issues section. I've updated the Known Issues and put a note about it in the Directions section.
We have a mailing list set up to help answer questions. You can subscribe to the mailing list by sending a blank message to firstname.lastname@example.org. Messages to the list should be sent to email@example.com. See you there!
A working Slackware 9.0/9.1 box. With X Windows, etc. In particular, you need the following packages installed (ignoring the obvious ones like the X server, of course):
|#||Slackware 9.0 packages||Slackware 9.1 packages|
Some packages from Slackware 8.0 or 8.1. If you don't have a CD, download them using one of the mirrors. Note: the 8.0 list may have extra packages listed here that aren't strictly necessary. You only need 8.0 or 8.1, not both. We recommend using 8.1.
|#||Slackware 8.0 packages||Slackware 8.1 packages|
The letter(s) in front of the 8.1 packages is the series that package is contained in on the Slackware disc. All 8.0 packages are in the gtk1/ series.
The imlib packages from 8.0/8.1 are required if you're building on Slackware 9.0. However, Slackware 9.1 has imlib included in the l directory of the installation disc, so use that instead.
Some packages from the Software Dependencies page:
The GnuCash source, available from the GnuCash site. I did this using version 1.8.7, but we've found that newer versions don't seem to impact the installation steps.
gdk-pixbuf - If you're using Slackware 9.1, you'll have to use a different gdk-pixbuf than is shipped with Slackware 9.1. You can either compile it yourself (the source is available here). Or, you can use the gdk-pixbuf package from Slackware 8.1 (l/gdk-pixbuf-0.17.0-i386-1.tgz); several people reported that this works.
An hour or two if everything goes smoothly.
Before you begin, consider using Roberto's installation scripts, available here. See the README file in the archive for more information.
Install the Slackware 9.0 packages listed above, if you don't already have them (hint: look in /var/log/packages).
Get and install the Slackware 8.0/8.1 packages listed above.
Roberto notes that there are some conflicting files between some of the 8.1 packages and 9.0/9.1 (this isn't a problem for 8.0). They are:
The 8.1 package gnome-libs-18.104.22.168-i386-1 contains files that are also in the libgnomeui package in 9.0/9.1. (In 9.0, the package name is libgnomeui-22.214.171.124-i386-1; in 9.1 it's libgnomeui-126.96.36.199-i486-1):
gnome-print-0.36-i386-1 and the 9.0 package libgnomeprint-188.8.131.52-i386-1 both contain this file (this isn't a problem with the 9.1 libgnomeprint-2.3.1-i486-1 package):
To keep the latest versions of these files, uninstall the Slackware 9.0/9.1 packages (libgnomeui-184.108.40.206-i386-1 or libgnomeui-220.127.116.11-i486-1 and libgnomeprint-18.104.22.168-i386-1). Then, install the 8.1 packages, and finally reinstall the 9.0/9.1 packages.
Edit libgtkhtml.la and libgnomeprint.la. This is only required if you use the 8.1 packages. See the problem for libfreetype.la in the Known Issues section of this page for this step.
If you're using Slackware 9.1 and chose to recompile gdk-pixbuf, do it now. Be sure you use ./configure --prefix=/usr to configure it before doing the make step. Otherwise, gnucash won't find the recompiled library.
If you're installing the gdk-pixbuf package from Slackware 8.1, and haven't already done so, install it now.
g-wrap -- Download the source tarball from the GnuCash site. This is a straightforward ./configure; make; make install. Or, if you prefer, use Roberto's .build script.
Roberto installed slib using the slib-2d6-1.noarch.rpm package by first using rpm2tgz to convert it. If you take this route, you don't need to do any of the steps above for slib.
Unpack the GnuCash tarball:
cd /usr/src; tar xzf gnucash-1.8.7.tar.gz
Your configure command changes depending on whether you used Slack 8.0 or
Slackware 8.0 packages: ./configure --with-gnome=/opt/gnome --disable-guppi
Slackware 8.1 packages: ./configure (Or use Roberto's .build script.)
Hopefully, the ./configure went smoothly with no errors. Usually, any error messages will give you a good idea of what you might need to install. If the configure completed with no errors, do a make.
You're not out of the woods yet. GnuCash can take some time to compile, and sometimes it will fail despite the ./configure finishing correctly. See the known problems section below. Again, you can (hopefully) see what packages it was expecting and install them. If the make finished with no errors, do a make install.
You must start gnucash as root once before it can be used by a regular user. You don't even have to be in X Windows for this, just login as root and type /usr/local/bin/gnucash. Then, it should work for all users.
Now you can install the GnuCash Help Files, if you wish. (Optional, but recommended for obvious reasons.)
Yes, it's difficult. But it's worth it-I'd hate to switch away from Slackware just so I can run GnuCash. So I hacked away at it until I got it. Hopefully, you will find these instructions helpful and don't have to go through the pain I did. (I'm pretty sure I was the one that described installing GnuCash as a "nightmare", as mentioned on their downloads page.)
Good luck! --RJ
Thanks to Craig for these directions.
That should enable OFX import in GnuCash.
Listed below are some issues we've encountered and how we worked around them.
ERROR: In procedure open-file: ERROR: No such file or directory: "/usr/share/guile/slib/mklibcat"
Fix: Run gnucash as root once, then retry as regular user. (Even if the root invocation fails because it doesn't have access to the X Windows system, this will still fix the problem.)
grep: /usr/X11R6/lib/libfreetype.la: No such file or directory sed: can't read /usr/X11R6/lib/libfreetype.la: No such file or directory libtool: link: `/usr/X11R6/lib/libfreetype.la' is not a valid libtool archive make: *** [libgncmod-gnome-utils.la] Error 1 make: Leaving directory `/tmp/gnucash-1.8.4/src/gnome-utils' make: *** [install-recursive] Error 1 make: Leaving directory `/tmp/gnucash-1.8.4/src/gnome-utils' make: *** [install-recursive] Error 1 make: Leaving directory `/tmp/gnucash-1.8.4/src' make: *** [install-recursive] Error 1
Fix: Edit the files /usr/lib/libgnomeprint.la and /usr/lib/libgtkhtml.la. In the "dependency_libs" field in both files, you'll see "/usr/X11R6/lib/libfreetype.la". Change it to "/usr/lib/libfreetype.la" in both files, then re-run "make". (Thanks to Jason Childs for finding and submitting the solution to this problem!)
This problem has been reported but we don't have a fix for it. Anyone have an idea?
Two people have reported this problem. I suggested checking that they'd installed the gnomcore package, and that they specified --with-gnome=/opt/gnome when they ran the ./configure script. I haven't heard yet whether those suggestions helped either person. If you have a solution for this problem, please let me know.
First, are you trying to use the gdk-pixbuf package that came with Slackware 9.1? If so, you'll have to remove it using removepkg and either install an older version or compile it yourself. (We describe both methods in the Required Materials and in Step 4 of the directions above.)
If you've compiled gdk-pixbuf manually and installed it, but it's still not working, did you compile it using ./configure --prefix=/usr? This is necessary to get the library in the correct place.
Written by RJ Marquette. Last updated 11/11/2003.