libtool: link: only absolute run-paths are allowed

Gansser, Martin MGansser at rand.de
Thu Feb 27 18:53:31 CST 2003



> -----Original Message-----
> From: Derek Atkins [mailto:warlord at MIT.EDU]
> Sent: Thursday, February 27, 2003 5:44 PM
> To: Gansser, Martin
> Cc: gnucash-devel at gnucash.org; mevanecek at yahoo.com
> Subject: Re: libtool: link: only absolute run-paths are allowed
> 
> 
> "Gansser, Martin" <MGansser at rand.de> writes:
> 
> > Hi Derek,
> > 
> > I reconfigured now the whole software components
> > g-wrap-1.3.4 and guile-1.6.0
> > 
> > #!/bin/csh -f
> > #
> > setenv LDFLAGS "-L/opt/gnome/lib"
> > setenv LD_LIBRARY_PATH "/opt/gnome/lib"
> > gmake distclean
> > rm config.cache
> > rm libtool
> > ./configure --prefix=/opt/gnucash --with-glib-prefix=/opt/gnome \
> >             --with-gnome-includes=/opt/gnome/include \
> >             --with-gnome-libs=/opt/gnome/lib \
> >             --with-g-wrap-prefix=/usr/local \
> >             --disable-error-on-warning \
> >             --disable-openhbcitest \
> >             --enable-opt-style-install \
> >             --enable-shared \
> >             --disable-static \
> >             --disable-guppi
> > gmake && gmake install
> > 
> > gnucash-1.8.1 compiles and installs now fine with shared 
> library, but fails
> > at startup with the following error messages:
> 
> Excellent!!  I'm glad you were able to work around this problem.
> 
> > prounix_root:/opt/gnucash/bin # ./gnucash
> > <unnamed port>: In procedure scm-error in expression 
> (scm-error (quote misc-error) #f ...):
> > <unnamed port>: Loaded gnucash srfi-2.scm in unknown Guile 
> version:1.6.0.
> > If you're running a Guile newer than 1.4, then this file should
> > not have been installed.  Please report the bug.
> > 
> > any suggestion ?
> 
> Yea, you need to 'rm -rf' the old install of GnuCash and then "gmake
> install" again.  The problem is that you built GnuCash against
> guile-1.4.  When you did so, it determined that it needed to install
> some srfi (scheme) libraries.  Those libraries are not necessary for
> guile-1.6, and indeed (as you have found) cause an error if they are
> installed with guile-1.6.
> 
> So, basically, go remove the 'srfi' files from the gnucash scheme
> library directory in your install tree and it should fix this problem.

Hi,

1. I removed the  old install dir /opt/gnuscash with "rm -rf'
and done 'gmake install' but the same error message


2. I removed the dir /opt/gnucash/share/guile-modules/srfi

./gnucash
<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: no code for module (ice-9 and-let-star)

but the same problem.

thanks Martin


More information about the gnucash-devel mailing list