Probleme beim kompilieren von gnucash 1.7.8 aus SuSE 8.1

Soeren Mindorf s.mindorf at mobilcom.de
Die Jan 28 14:42:21 CST 2003


Christian Stimming schrieb:
> Soeren Mindorf wrote:
> 
>> -L/home/stimming/usr/lib -lchipcard -L/usr/lib -lcrypto -lopenhbci 
>> -lstdc++ -L/usr/lib -lopenhbci -lpopt -lm  -lm
>> grep: /home/stimming/usr/lib/libchipcard.la: No such file or directory
> 
> 
> @§%$§!!!! Noch ein Fehler bei uns, und zwar im openhbci rpm Paket. 
> Manueller Workaround: Im Makefile in jenem Verzeichnis (also 
> src/import-export/hbci) jedes Auftauchen von /home/stimming/usr/lib 
> durch /usr/lib ersetzen. Sorry. Ich mach demnächst mal nen neues rpm 
> fertig.
> 
> Gruß
> 
> Christian
> 
> 

Oh man, das hört nicht auf.

So habe ich es kompiliert

./configure --with-libguppi-prefix=/opt/gnome/include/gnome-1.0/libguppi 
--enable-hbci --enable-error-on-warning=no

Anschl.:

kirsi-lx:/brenn/gnucash-1.7.8 # for i in `find . -name Makefile`; do cat 
$i | sed -e 's/\/home\/stimming\/usr\/lib/\usr\/lib/g' > $i.sm ; mv 
$i.sm $i ; echo $i ; done

Und jetzt

kirsi-lx:/brenn/gnucash-1.7.8 #grep -r /home/stimming/usr/lib *
config.log:configure:11172: gcc -o conftest -g -O2 
-I/home/stimming/usr/include -I/usr/include    conftest.c -L/usr/lib 
-lcrypto -ldl -L/home/stimming/usr/lib -lchipcard -L/usr/lib -lcrypto 
-lopenhbci -lstdc++ -L/usr/lib -lopenhbci -lm  1>&5
config.status:s%@OPENHBCI_LIBS@%-L/usr/lib -lcrypto -ldl 
-L/home/stimming/usr/lib -lchipcard -L/usr/lib -lcrypto -lopenhbci 
-lstdc++ -L/usr/lib -lopenhbci%g
config.status:s%@HBCI_LIBS@%-L/usr/lib -lcrypto -ldl 
-L/home/stimming/usr/lib -lchipcard -L/usr/lib -lcrypto -lopenhbci 
-lstdc++ -L/usr/lib -lopenhbci%g
kirsi-lx:/brenn/gnucash-1.7.8 #

Hmm, musz ich die da auch anpassen?

Jetzt make
Irgendwie habe ich das Gefühl, dass "make" jetzt nicht mehr richtig 
arbeitet. :(

  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src 
-I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils 
-I../../../src/app-file -I../../../src/gnome -I../../../src/gnome-utils 
-I../../../src/import-export -I../../../src/register 
-I../../../src/register/register-core 
-I../../../src/register/register-gnome 
-I../../../src/register/ledger-core -I /usr/local/include/g-wrap 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml 
-I/opt/gnome/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/orbit-1.0 
-I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 
-I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/gnome-xml 
-I/home/stimming/usr/include -I/usr/include -g -O2 -Wall -Wunused -c 
druid-hbci-initial.c  -fPIC -o .libs/druid-hbci-initial.o
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
/bin/sh ../../../libtool --mode=link gcc -I../../../src 
-I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils 
-I../../../src/app-file -I../../../src/gnome -I../../../src/gnome-utils 
-I../../../src/import-export -I../../../src/register 
-I../../../src/register/register-core 
-I../../../src/register/register-gnome 
-I../../../src/register/ledger-core -I /usr/local/include/g-wrap 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml 
-I/opt/gnome/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/orbit-1.0 
-I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 
-I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/gnome-xml 
-I/home/stimming/usr/include -I/usr/include  -g -O2 -Wall -Wunused    -o 
libgncmod-hbci.la -rpath /usr/local/lib/gnucash -module gncmod-hbci.lo 
druid-hbci-utils.lo dialog-pass.lo dialog-hbcitrans.lo 
dialog-daterange.lo gnc-hbci-kvp.lo gnc-hbci-utils.lo gnc-hbci-cb.lo 
gnc-hbci-transfer.lo gnc-hbci-getbalance.lo gnc-hbci-gettrans.lo 
hbci-interaction.lo hbci-progressmon.lo druid-hbci-initial.lo 
../../../src/gnc-module/libgncmodule.la 
../../../src/engine/libgncmod-engine.la 
../../../src/import-export/libgncmod-generic-import.la 
../../../src/gnome/libgncgnome.la -L/opt/gnome/lib -lglade -L/usr/lib 
-lxml -lz -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib 
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 
-L/usr/lib -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE 
-lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport 
-lesd -laudiofile -lm -ldb1 -lglib -L/usr/lib -lcrypto -ldl -Lusr/lib 
-lchipcard -L/usr/lib -lcrypto -lopenhbci -lstdc++ -L/usr/lib -lopenhbci 
-lpopt -lm  -lm
../../../libtool: line 1: cd: usr/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `usr/lib'
make[5]: *** [libgncmod-hbci.la] Error 1
make[5]: Leaving directory `/brenn/gnucash-1.7.8/src/import-export/hbci'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/brenn/gnucash-1.7.8/src/import-export/hbci'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/brenn/gnucash-1.7.8/src/import-export'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/brenn/gnucash-1.7.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/brenn/gnucash-1.7.8'
make: *** [all-recursive-am] Error 2

Man, das wird zur "never ending storry..."

Gruß
Sören