Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-04-2013, 07:43 AM   #1
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 476

Rep: Reputation: 47
gnucash on Slackware 14.1

Following on from the discussion in this thread -

I have now got -

guile 2.0.9
guile 1.8.8
slib 3b2
gnucash 2.4.11

"happily" running in a Slackware 14.1 environment. Presupposes all the other pre-reqs are already installed

Show path to guile 2.0 series and version
type guile
guile is a tracked alias for /usr/bin/guile

guile -v
guile (GNU Guile) 2.0.9
Copyright (C) 2013 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Now run something to prove it works!
guile -c '(use-modules (srfi srfi-19)) (display (date->string (current-date) "Printed at ~d/~m/~Y ~H:~M:~S\n")) (quit)'
Printed at 04/11/2013 11:57:41
Show version for 1.8 series
/usr/guile/1.8/bin/guile -v
Guile 1.8.8
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
Now run something to prove it works!
/usr/guile/1.8/bin/guile -c '(use-modules (srfi srfi-19)) (display (date->string (current-date) "Printed at ~d/~m/~Y ~H:~M:~S\n")) (quit)'
WARNING: (guile-user): imported module (srfi srfi-19) overrides core binding `current-time'
Printed at 04/11/2013 11:58:45
show gnucash version
root@victoria:/etc/gconf/gconf.xml.defaults/schemas/apps# gnucash -v
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

GnuCash 2.4.11
Built 2013-11-04 from r22264M

for guile I changed guile.SlackBuild to compile to /usr/guile/1.8 instead of /usr. Really I should have renamed the package as well i.e guile1.8 or something like.

./configure \
  --prefix=/usr/guile/1.8 \
  --libdir=/usr/guile/1.8/lib${LIBDIRSUFFIX} \
  --infodir=/usr/guile/1.8/info \
  --mandir=/usr/guile/1.8/man \
  --with-threads \
  --disable-static \
  --disable-rpath \
  --disable-error-on-warning \

for slib I changed the to reflect where guile 1.8.8 is

< chroot . /usr/bin/guile -q -s /usr/doc/@PRGNAM@-@VERSION@/guile-slibcat.script
> chroot . /usr/guile/1.8/bin/guile -q -s /usr/doc/@PRGNAM@-@VERSION@/guile-slibcat.script
and set up some environment variables which I think were

export GUILE=/usr/guile/1.8/bin/guile
export GUILE_CONFIG=/usr/guile/1.8/bin/guile-config
and possibly changed the path to include export GUILE=/usr/guile/1.8/bin

For gnucash I added the following to gnucash.SlackBuild immediately before it runs configure.

export GUILE=/usr/guile/1.8/bin/guile
export GUILE_CONFIG=/usr/guile/1.8/bin/guile-config
export GUILE_INCS=-I/usr/guile/1.8/include/
export GUILE_LIBS=-L/usr/guile/1.8/lib/
export PATH=/usr/guile/1.8/bin:/usr/local/aikbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/share/texmf/bin

cd src/bin
sed -i.bak "/gnucash_LDADD = /a /usr/guile/1.8/lib/ \\\\"
sed -i.bak "/ /usr/guile/1.8/lib/ \\\\"

cd $TMP

The reason why I added the two sed commands to patch the Makefiles is that I couldn't resolve a linking problem for in any other way. Unfortunately I've lost the error message so I can't paste it here.

I'll need to go through this again on a clean install of 14.1 as I'm bound to have left something out.

Old 11-05-2013, 02:47 AM   #2
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 117

Rep: Reputation: 31
Thank you for this information. Since I don't use guile I could simply revert to version 1.8.8 and compile gnucash without patches.
Do you know if there are other packages depending on guile and requiring 2.0.9?
Old 11-05-2013, 04:57 AM   #3
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 356

Rep: Reputation: 145Reputation: 145
for non slackware packages I do not know.
I do know hoever that the new gnucash will support guile2
its still in dev phase tho version 2.5.x
Old 11-05-2013, 06:28 AM   #4
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 476

Original Poster
Rep: Reputation: 47
on current/14.1

I have these packages that have appear to have a guile element -


I've introduced packages gnucash, guile-1.8.8 (standalone) and slib-3b2

guile-2.0.9, gnutls and swig were included in 14.1 and still are on my machine

1 members found this post helpful.
Old 02-13-2014, 07:13 AM   #5
Lenard Spencer
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 225

Rep: Reputation: 49
To anybody still following this thread: Gnucash 2.6.1 is now on for 14.1. It has nowhere near the deps the older 2.4.x needed, so it should be much easier to install.
1 members found this post helpful.
Old 02-13-2014, 10:24 AM   #6
Registered: May 2010
Posts: 611

Rep: Reputation: Disabled
Careful, folks, if you are using it for personal finances: this game is highly addictive, and may elicit sarcasm from your spouse or significant other.
Old 02-13-2014, 09:56 PM   #7
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 473

Rep: Reputation: 210Reputation: 210Reputation: 210
Originally Posted by Lenard Spencer View Post
To anybody still following this thread: Gnucash 2.6.1 is now on for 14.1. It has nowhere near the deps the older 2.4.x needed, so it should be much easier to install.
Last year I thought I'd give GnuCash a quick tryout ... but changed my mind when I saw all of the dependencies, and went onto other activities.

Tonight I was encouraged some when I saw your post. So I went to and counted about 19 dependencies with GnuCash 2.4.11 on (Slackware 14.0) and about 13 dependencies with GnuCash 2.6.1 (Slackware 14.1). Myself, I wouldn't use the phrase "nowhere near" when comparing 13 to 19.

Yes, 2.6.1 is an improvement regarding dependencies, but I'm not yet motivated enough to deal with that many dependencies. Please post again when the number is about a half a dozen dependencies.

From looking at the website it appears that GnuCash version 2.6.1 is a production release, not a beta version. The verbiage on the slackbuild page however has beta version verbiage. I sent a note to the slackbuild maintainer regarding this.

Perhaps later this year I'll stop being lazy and be enticed enough by GnuCash to spend the few minutes it takes to install the dependencies. Thanks for bringing the new release to our attention Lenard.

@qweasd - I liked your humor regarding finances.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNUCash 2.0.1 on Slackware 11 yellowwizard Slackware 6 10-17-2006 04:09 PM
gnucash 2 and slackware 11 pete_bogg Slackware 1 04-10-2006 05:03 PM
Slackware 10.2 and GnuCash donJulio Slackware 6 09-19-2005 04:19 AM
Slackware 9 and GnuCash pasquale Slackware 3 02-12-2004 08:42 PM
gnucash for Slackware rharvey@cox Slackware 2 01-31-2004 07:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration