[gnucash-de] GnuCash SVN-trunk on Opensuse 10.2: Cannot find SLIB

Christian Stimming stimming at tuhh.de
Mit Dez 13 10:47:04 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(I'm translating this and CC'ing gnucash-devel because this issue with
opensuse-10.2 is likely to appear more than once.)

Oliver König wrote:
> I just tried to install GnuCash SVN-trunk (r15211) under Opensuse 10.2.
> This is from a fresh checkout.
> /usr/local/src/gnucash # ./autogen.sh
> /usr/local/src/gnucash # ./configure
> [..]
> 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
> 
> I've got SLIB installed:
> /usr/local/src/gnucash # rpm -q slib
> slib-3a1-79
> 
> What should I do?

Opensuse10.2 has guile-1.8.1 (opensuse10.1 still had guile-1.6.7). I
suppose your problem is similar to the last comments in the mentioned
bugreport http://bugzilla.gnome.org/show_bug.cgi?id=347922 .

- From the bugreport it seems to me you should try any of the following:

* When you run guile by hand, what's the return value?  I.e., do you get
any error messages from:

% guile -c "(use-modules (ice-9 slib)) (require 'printf)"
% echo $?

* Find out the prefix where slib is installed: "rpm -ql slib" and you
will see the common prefix for most of the files. This can be e.g.
/usr/share/my/prefix/of/slib.

* Try this additional env variable
  export SCHEME_LIBRARY_PATH=/usr/share/my/prefix/of/slib
Do the above commands work now?

* If this doesn't help, how about
  export GUILE_LOAD_PATH=/usr/share/my/prefix/of/slib

Does this work? If not, gnucash-devel might have some additional ideas.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRYAgeGXAi+BfhivFAQLLfAP+JAmhnqAl88qQbc7k5OuTqvKr4yAIT0Dv
kN79pAAaky3RJPmOeEuVebvQA1jyXpo5It3bOtWktkY24XhW9l+npCf9F1gFk7p4
MWTeNOYhTd4RVbPg/pREOZxUS7Y3++2WfKLqhKtIJ1Inud5xV5H/3XrksjfttyfB
aUdiLnO03g4=
=LCG1
-----END PGP SIGNATURE-----