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

Oliver König oliver at windfinder.com
Mit Dez 13 12:39:30 EST 2006


On Wednesday 13 December 2006 16:47, you wrote:
> (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?
Many thanks for your help!
>
> 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:
../src/gnucash # guile
guile>                           
>
> % guile -c "(use-modules (ice-9 slib)) (require 'printf)"
> % echo $?
# guile -c "(use-modules (ice-9 slib)) (require 'printf)"
# echo $?
127
>
> * 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.
# rpm -ql slib
/usr/share/slib/
[..]
# whereis slib
slib: /usr/share/slib

I ran /configure --eanbale-aqbanking again:
  Options detected/selected
  -------------------------
  gnucash version ...... : 2.0.99
  Build for host ....... : i686-suse-linux-gnu
  Optional components....: ofx
  Extra 
Warnings ....... :  -Werror -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
  CPPFLAGS ............. :
  
CFLAGS ............... :  -Werror -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused
  LDFLAGS .............. :  -no-undefined
  prefix.................: /usr/local
  Native libgsf..........: yes
  Native goffice.........: no
  QOF support ...........: internal
  QOF location ..........: internal
  QOF library dir .......: /usr/local/lib
  QOF backend config ....: /usr/local/gnucash/xml/qsf

>
> * Try this additional env variable
>   export SCHEME_LIBRARY_PATH=/usr/share/my/prefix/of/slib
> Do the above commands work now?
I don't know what I did but Gnucash is running now after a configuartion war. 
however I cannot get any transactions through aqbanking:
3:2006/12/13 18-36-31:gwen(18176):fslock.c:  114: 
open(/media/usbdisk/kgq659.txt.lck): Permission denied
3:2006/12/13 18-36-31:gwen(18176):ct_file.c:  364: Could not lock file
3:2006/12/13 18-36-31:aqhbci(18176):medium.c:  396: Could not open crypt token 
(-70)
3:2006/12/13 18-36-31:aqhbci(18176):hbci.c:  515: Could not mount medium (-21)
3:2006/12/13 18-36-31:aqhbci(18176):jobqueue.c:  426: Could not encode message 
(-21)
3:2006/12/13 18-36-31:aqhbci(18176):outbox.c: 1368: Error performing queue 
(-1)
any ideas?

>
> * 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

-- 
Oliver König

Windfinder.com
Knorrstr. 24 Hinterhaus
24106 Kiel
Germany
phone +49 431-8008643
VoIP +49 431-5569222
fax +49 431-8008644
Mobile +49 177-4933362
oliver at windfinder.com
www.windfinder.com