LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 153Reputation: 153
gnucash on Slackware 14.1


Following on from the discussion in this thread - http://www.linuxquestions.org/questi...nt-4175465882/


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
Code:
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 <http://gnu.org/licenses/lgpl.html>.
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!
Code:
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
Code:
/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!
Code:
/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
Code:
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
root@victoria:/etc/gconf/gconf.xml.defaults/schemas/apps#
How?

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.

Code:
CFLAGS="$SLKCFLAGS" \
./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 \
  --build=$ARCH-slackware-linux

for slib I changed the doinst.sh to reflect where guile 1.8.8 is

Code:
  
1c1
< 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

Code:
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.

Code:
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/libguile.la \\\\" Makefile.am
sed -i.bak "/libgncmod-report-gnome.la/a /usr/guile/1.8/lib/libguile.la \\\\" Makefile.in

cd $TMP
cd $PRGNAM-$VERSION

The reason why I added the two sed commands to patch the Makefiles is that I couldn't resolve a linking problem for libguile.so.17 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.


Alex
 
Old 11-05-2013, 02:47 AM   #2
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 118

Rep: Reputation: 32
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
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
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
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
on current/14.1

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

gnucash-2.4.11-i486-1_SBo
gnutls-3.1.14-i486-1
guile-1.8.8-i486-1
guile-2.0.9-i486-1
slib-3b2-i486-3_SBo
swig-2.0.10-i486-1

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

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

Rep: Reputation: 199Reputation: 199
To anybody still following this thread: Gnucash 2.6.1 is now on Slackbuilds.org 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
qweasd
Member
 
Registered: May 2010
Posts: 621

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
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by Lenard Spencer View Post
To anybody still following this thread: Gnucash 2.6.1 is now on Slackbuilds.org 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 slackbuilds.org and counted about 19 dependencies with GnuCash 2.4.11 on slackbuilds.org (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 gnucash.org 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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:34 PM.

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