LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing GnuCash (https://www.linuxquestions.org/questions/slackware-14/installing-gnucash-469982/)

cccc828 08-02-2006 02:45 AM

Installing GnuCash
 
Hello,

when I try to ./configure GnuCash I get the following Error:
checking for SLIB support... configure: error:

Cannot find SLIB. Are you sure you have it installed?
See http://bugzilla.gnome.org/show_bug.cgi?id=347922

However, issuing the command "slib" puts me in a shell titled "guile", which I assume it should do.

UPDATE:
By reading the ./configure script, I found out that this line checks for slib:
${GUILE} -c "(use-modules (ice-9 slib)) (require 'printf)" > /dev/null

Here is what happens if I try to run it:
# guile -c "(use-modules (ice-9 slib)) (require 'printf)"
ERROR: Unbound variable: user-vicinity

Does anyone have an idea what the problem might be?

Thank you for you time and best regards,

cccc828

TSquaredF 08-02-2006 07:10 AM

Hi cccc828,
I have finally succeeded in getting gnucash to run on my box, thanks to the version 2.0.0 release of a few weeks ago. It was a struggle, & my efforts may not entirely apply in your case, because I am running Slackware-current, but maybe you can get some pointers.
I used gnucash several years ago, when I ran RedHat or Mandrake. When I switched to Slack, nothing I did could get gnucash to work, but then nothing would make me go back to RedHat or Mandrake, either. So I used a few lesser apps, waiting & hoping.
Back when Slackware stopped supporting Gnome, I wanted to keep Gnome on my box to run a few programs. I am not interested in the Gnome desktop. I replaced the Slackware Gnome pacakges with Freerock-current. How I did that is another story, but I finally got it to work. Then I could run the few Gnome apps I wanted, but still no gnucash. Freerock had a gnucahs-1 package, but I couldn't get it to run. Then gnucash released v 2.0.0 & very quickly a package appeared on linuxpackages.net. This package is listed for Slack-10.2, but has a very complete slack-requires file embedded in it. Looking at the Gnome versions listed in the -requires file, I realized that I had them, although some of my Slack versions were newer. I installed the linuxpackages.net gnucash package, but when I tried to run it, it errored on some guile stuff. I had guile-1.8.0 from Slackware-current & the files gnucash wanted were not in it. I d/led guile-1.6.7 from Slackware-10.2, found the required files in it, & downgraded to it. This time gnucash ran about 14 nanoseconds longer than it had the first time, before it errored, looking fo slib. I had not installed slib, probably because I did a minimal install of freerock, as slib was not mentioned in the -requires file. After installing slib, gnucash ran perfectly. Then I saw the Freerock had upgraded their package to 2.0.0, & I d/led & installed it, not because I had any problems with the other package, but just not to have two packages on my HD.
All of this is not without its pitfalls. It is harder to upgrade both Slackware & Freerock Gnome now. I have to be careful not to clobber files on my drive that are installed from one system when I upgrade the other. I'm working on that problem now, along with trying to cut down as much as I can on the freerock packages, without crippling the programs I want to run. There is another member here that is working on the same project, but I think he is aiming at Slack-10.2. See this post.
Regards,
Bill

TSquaredF 08-03-2006 08:04 PM

cccc828,
See my post in this thread to get a list of packages I used to install gnucash in Slack-current.
Regards,
Bill

cccc828 08-05-2006 03:50 AM

Thank you two for your help. However I decided that I do not want to install GnuCash.
I already spend too much time trying to install it and also I do not want to clutter my system with so many library that are only used by one program.

I wonder, is there no statically linked version available?

TSquaredF 08-05-2006 10:50 AM

cccc828,
Quote:

also I do not want to clutter my system with so many library that are only used by one program. I wonder, is there no statically linked version available?
I can understand that, particularly if that is the only program that needs the libraries. gnashley started with a staticly linked version, but I think he had to add so much to it that he changed it over to his gnome-compatibilety project instead. I tried his initial version, but it was very cumbersone & huge. Good luck,
Bill


All times are GMT -5. The time now is 08:49 PM.