libtool: link: only absolute run-paths are allowed
Phillip Shelton
shelton at usq.edu.au
Mon Mar 3 09:21:36 CST 2003
Unfortunately there are some files that hardcode the srfi requirement.
-----Original Message-----
From: Derek Atkins [mailto:warlord at MIT.EDU]
Sent: Friday, 28 February 2003 2:44 AM
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 reconfigred now the whole sofware 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.
> thanks Martin
>
> PS: there is a Problem with the Mailinglist, not reachable !
Yea -- I've contacted Linas about it.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
_______________________________________________
gnucash-devel mailing list
gnucash-devel at lists.gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list