Doing A fresh merge of GnuCash installed Guile, slib2d2, swig with no errors. When Running GNUCash it generates this error: ------------ bash-2.04$ gnucash It appears you do not have the 'slib' scheme library installed. You need slib2c4 or later to run GnuCash. Obtain slib at: http://swissnet.ai.mit.edu/~jaffer/SLIB.html If you have slib installed, you may need to create a symbolic link named 'slib' from the guile directory (usually /usr/share/guile) to the directory where slib is installed. You may also need to run GnuCash once as root. Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. bash-2.04$ ----------- As root it gives the same result. Slib IS Installed: bash-2.04$ ls /var/db/pkg/dev-libs/ expat-1.95.1-r1 libole2-0.2.4 libxml-1.8.16 pilot-link-0.9.6-r3 g-wrap-1.3.1 libpcre-3.7 libxml2-2.4.12 popt-1.5 glib-1.2.10-r1 librep-0.14 libxslt-1.0.9 rep-gtk-0.15-r2 gmp-3.1.1-r1 libunicode-0.4-r1 openssl-0.9.6b-r1 !!slib-2.4.2!! bash-2.04$ --------------------------- This appears to be a merge issue, or at worst a version conflict between gnucash and something else. After merge/unmerge of all gnucash dependencies - this error still persists.
these kind of errors should go to the component which the program fits into. The ebuild-component is for submitting ebuilds.
I had different error msgs with gnucash: after emerging gnucash-1.6.5-r1.ebuild successfully, I had the following on star tup of gnucash: ERROR: In procedure dynamic-link: ERROR: file: "libgw-runtime", message: "file not found" Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. After setting the above variable, I got: `scm_sysintern' is deprecated. Use `scm_define' instead. ERROR: In procedure dynamic-link: ERROR: file: "libgw-runtime", message: "file not found" Hope that helps, Joseph H. Yao
I got both problems above. After merging gnuchash it complained about the missing libgw. I remergerd g-wrap and got the missing slib message. Tried to remerge slib but to no avail.
the slib ebuild is not installing "guile.init" - which is needed to complete the slib installation. I installed this manually, and ran the supplied command in slib's README - same error starting gnucash. I think the guile.init should be added to the ebuild script. It doesn't _seem_ to fix anything, but the fact that is not there could be a problem.
This issue has been resolved lately, as far as I can tell (and I have gnucash running now fine). This is a (common) case of "too new" dependency: g-wrap requires guile-1.4, NOT 1.5.x to build correctly. Another small thing not reported so widely is that guppy ebuild contains dependency on guile-1.5, while it will build fine with guile-1.4. Therefore the followinf changes to 2 ebuild files will provide the most clean fix of this problem for now (until gnucash people update g-wrap modules to use recent guile) in dev-libs/g-wrap/g-wrap-1.3.1.ebuild: ">=dev-util/guile-1.4" -> "=dev-util/guile-1.4" in gnome-extra/guppi/guppi-0.40.3.ebuild: ">=dev-util/guile-1.5" -> ">=dev-util/guile-1.4" should take care of the problem. Another suggestion was to emerge both versions of guile, however here you must be very careful about the order in which you emerge things. Therefore, unless you need guile-1.5 for something else, the former seems to be cleaner solution for now.
Even with those changes, emerge still tries to merge guile-1.5, and complains that guild-1.4 is not found. I had to make the following changes: in dev-libs/g-wrap/g-wrap-1.3.1.ebuild: "=dev-util/guile-1.4-r3" in gnome-extra/guppi/guppi-0.40.3.ebuild: "=dev-util/guile-1.4-r3" The dependancies were then satisfied. However, starting gnucash now states: ERROR: In procedure dynamic-link: ERROR: file not found All dynamic libs (found via ldd) were found.
I resolved this issue tonight and thought I would add some comments. (Finally) 1. g-wrap follows linux kernel numbering scheme so that if 2nd digit is odd=unstable, even=stable. Therefore I reverted back to g-wrap-1.2.1 (simply by renaming the 1.3.1 ebuild!) 2. Followed Carl's instructions to modify the g-wrap(1.2.1) and guppi ebuild to use guile-1.4-r3 3. After merging gnucash I remerged g-wrap(1.2.1) and that fixed my problems.
It may have worked for David, but it didn't work for me :( I'm back to the "It appears you do not have the 'slib' scheme library installed." error.
Scratch that, it just needed to be run once as root. Like it says. Duh. I also discovered that you cannot unmerge g-wrap 1.3.1 first, as you get an error. This could be due to some other library depending on g-wrap 1.3.1, but I'm unsure. Is there some easy way to "rebuild everything that gnucash depends on"? Also, I have a patch available if someone wants it for CVS.
Hi Carl, Its been a while since you posted your comment, but this issue has not come up again until now. If you still have the patch I think you should attach it to this bug, so that people can just grab it from here even if it does not get incorporated into the portage tree.
Well, I built it successfully tonight. The only change I have that is different from "stock", is that I built guile 1.4something and installed that. guppi complains about wanting guile 1.5, but the guppi docs say that guile 1.3 or better is needed, not 1.5 Anyway, *all I did* was emerge guile 1.4, and then rebuild gnucash. After that, all was good. (Oh, I masked guile >= 1.5 in my /etc/make.profile/packages file) I know, guppi complains. SO what.
Unmerge guile,g-wrap,slib,guppi,gnucash and maybe swig, and remerge gnucash, then it should work now .. at least, it did here.
I am getting similar errors. Mine is this: ERROR: no such module (g-wrapped gw-runtime) I've rsynced and remerged and nothing seems to get it to work. It would help if I know which program was giving the error. I'm pretty sure it's not Gnucash.
I also just merged gnucash, and had the problem: ERROR: no such module (g-wrapped gw-runtime) When invoking gnucash, but it went away after I remerged g-wrap. Paul set_48035@yahoo.com
Same here (with 1.0 as of 31 March 2002). Emerged gnucash. No happy. rm /usr/portage/packages/All/g-wrap* emerge --buildpkg g-wrap gnucash works.
Anybody with problems please remerge g-wrap. It had the libtool "relink" bug, which should be fixed in g-wrap-1.2.1-r1.
This is still working for me (new build, fresh merge). Any comments ?
This seems to be still working, resolving.
*** Bug 4053 has been marked as a duplicate of this bug. ***