[gnucash-de] gnucash-de] ERROR: no code for module (gnucash business-utils)

Christian Stimming christian at cstimming.de
Sa Jan 18 15:40:42 EST 2014


Hallo Ralf,

und wie vermutet enhalten diese Zeilen noch einen Verweis auf /usr/local/lib , 
d.h. zu dem Zeitpunkt, als der Sourcecode in ~ralf/Desktop/gnucash-2.6.0 
compiliert wurde, existierte eine libgnc-qof.so in /usr/local/lib, selbst wenn 
du die später aufgrund der ausgetauschten Mails gelöscht hast.

Abhilfe: 
1. In /usr/local/lib  wirklich alle Dateien libgnc* wegräumen
2. den sourcecode in ~ralf/Desktop/gnucash-2.6.0 neu compilieren mit "make 
clean; make"

Dann sollte das gehen.

Gruß

Christian


Am Donnerstag, 16. Januar 2014, 19:11:01 schrieb Ralf:
> Hallo Guido,
> 
> nachfolgend die Zeilen vor der Fehlermeldung:
> 
> make[5]: Betrete Verzeichnis
> '/home/ralf/Desktop/gnucash-2.6.0/src/core-utils'
 if [ ! -f gnc-scm-info.h
> ]; then cp _gnc-scm-info.h gnc-scm-info.h; fi cmp -s _gnc-scm-info.h
> gnc-scm-info.h || cp _gnc-scm-info.h gnc-scm-info.h rm -f _gnc-scm-info.h
> if [ ! -f gnc-version.h ]; then cp _gnc-version.h gnc-version.h; fi
> cmp -s _gnc-version.h gnc-version.h || cp _gnc-version.h gnc-version.h
> rm -f _gnc-version.h
>  /bin/mkdir -p '/opt/gnucash-2.6/lib'
>  /bin/bash ../../libtool   --mode=install /usr/bin/install -c  
> libgnc-core-utils.la '/opt/gnucash-2.6/lib'
 libtool: install: warning:
> relinking `libgnc-core-utils.la'
> libtool: install: (cd /home/ralf/Desktop/gnucash-2.6.0/src/core-utils;
> /bin/bash /home/ralf/Desktop/gnucash-2.6.0/libtool  --tag CC --mode=relink
> gcc -Wdeclaration-after-statement -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
> libgnc-core-utils.la -rpath /opt/gnucash-2.6/lib binreloc.lo gnc-prefs.lo
> gnc-environment.lo gnc-features.lo gnc-filepath-utils.lo gnc-gdate-utils.lo
> gnc-gkeyfile-utils.lo gnc-glib-utils.lo gnc-guile-utils.lo gnc-jalali.lo
> gnc-locale-utils.lo gnc-path.lo gnc-uri-utils.lo swig-core-utils-guile.lo
> -lguile-2.0 -lgc -pthread -Wl,--export-dynamic -lgio-2.0 -lgthread-2.0
> -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lpthread
> ../../src/libqof/qof/libgnc-qof.la -lm )
 libtool: relink: gcc -shared 
> -fPIC -DPIC  .libs/binreloc.o .libs/gnc-prefs.o .libs/gnc-environment.o
> .libs/gnc-features.o .libs/gnc-filepath-utils.o .libs/gnc-gdate-utils.o
> .libs/gnc-gkeyfile-utils.o .libs/gnc-glib-utils.o .libs/gnc-guile-utils.o
> .libs/gnc-jalali.o .libs/gnc-locale-utils.o .libs/gnc-path.o
> .libs/gnc-uri-utils.o .libs/swig-core-utils-guile.o   -lguile-2.0 -lgc
> -lpthread -L/usr/local/lib -lgnc-qof -lgio-2.0 -lgthread-2.0 -lgobject-2.0
> -lgmodule-2.0 -lrt -lglib-2.0 -lm  -O2 -pthread -Wl,--export-dynamic  
> -pthread -Wl,-soname -Wl,libgnc-core-utils.so.0 -o
> .libs/libgnc-core-utils.so.0.0.0 /usr/bin/ld: cannot find -lgnc-qof
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libgnc-core-utils.la' with the above
> command before installing it
 make[5]: *** [install-libLTLIBRARIES] Fehler
> 1
> make[5]: Verlasse Verzeichnis
> '/home/ralf/Desktop/gnucash-2.6.0/src/core-utils'
 make[4]: ***
> [install-am] Fehler 2
> make[4]: Verlasse Verzeichnis
> '/home/ralf/Desktop/gnucash-2.6.0/src/core-utils'
 make[3]: ***
> [install-recursive] Fehler 1
> make[3]: Verlasse Verzeichnis
> '/home/ralf/Desktop/gnucash-2.6.0/src/core-utils'
 make[2]: *** [install]
> Fehler 2
> make[2]: Verlasse Verzeichnis
> '/home/ralf/Desktop/gnucash-2.6.0/src/core-utils'
 make[1]: ***
> [install-recursive] Fehler 1
> make[1]: Verlasse Verzeichnis '/home/ralf/Desktop/gnucash-2.6.0/src'
> make: *** [install-recursive] Fehler 1
> 
> Hilft das weiter?
> 
> Beste Grüße
> 
> Ralf
> 
> 
> 
>  
>  
> -----Ursprüngliche Nachricht-----
> 
> > Von:Guido Flohr <guido.flohr at imperia.bg <mailto:guido.flohr at imperia.bg> >
> > Gesendet: Mit 15 Januar 2014 11:46
> > An: gnucash-de at gnucash.org <mailto:gnucash-de at gnucash.org> 
> > Betreff: Re: [gnucash-de] gnucash-de] ERROR: no code for module (gnucash
> > business-utils)
 
> > Hallo Ralf,
> > 
> > Am Montag, den 13.01.2014, 20:17 +0100 schrieb Ralf:
> > 
> > > Nun bekome ich bei sudo make install folgende Fehlermeldung:
> > > /usr/bin/ld: cannot find -lgnc-qof
> > > collect2: ld returned 1 exit status
> > > libtool: install: error: relink `libgnc-core-utils.la' with the above
> > > command before installing it
> > > make[5]: *** [install-libLTLIBRARIES] Fehler 1
> > > make[5]: Verlasse Verzeichnis  etc. etc.
> > 
> > 
> > Bei Fehlermeldungen von Makefiles sind eigentlich immer die Zeilen _vor_
> > der Fehlermeldung wichtig, nicht die danach. Hier ist es genauso. Kannst
> > du die Zeilen davor noch posten? Der interessante Teil fängt vermutlich
> > mit " /bin/sh ../../libtool   --mode=install /usr/bin/install -c
> > libgnc-core-utils.la '/opt/gnucash/lib'" an.
> > 
> > Guido
> > -- 
> > Cantanea EOOD
> > ul. Knyaz Boris I No. 86
> > BG-1000 Sofia
> > 
> > _______________________________________________
> > gnucash-de mailing list
> > gnucash-de at gnucash.org <mailto:gnucash-de at gnucash.org> 
> > https://lists.gnucash.org/mailman/listinfo/gnucash-de
> > 
> 
> 




Mehr Informationen über die Mailingliste gnucash-de