gnucash gentoo-amd64

Martin Klaffenboeck martin.klaffenboeck at gmx.at
Sat Feb 4 05:43:37 EST 2006


Am Donnerstag, den 02.02.2006, 23:37 +0000 schrieb Nicola Buso:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Martin,
> 
> I'm trying to install gnucash from svn on gentoo. I'm following the
> steps documented by you here (http://wiki.gnucash.org/wiki/Gentoo).
> 
> The compilation does not finish correctly, can you help me to resolve
> the problem?

If you dont need postgres support for gnucash, you could disable this at
the moment.  Otherwise you could try it again, maybe the svn has changed
and it works.  If it doesnt, so please report this to
gnucash-devel at gnucash.org.  I will send a copy there, maybe the people
know about that and can fix it in a few days.  If I can reproduce this
problem here, I may send a patch to gnucash-devel to solve it.

> If can help I also seen the ebuild package does not contain correct
> dependency. Gnucash need guile and g-wrap, should be added to dependecies?

Thats true, the thing is that I didn't add dependencies at the moment
because gnucash istn't finished for gnome2 jet, and so dependencies may
change.  At the moment you can simply emerge this packages on configure
fail, using the --oneshot flag.  For the releases I will add dependency
information.

I hope that helps at the moment.

Martin

> 
> thanks,
> 
> nicola.
> 
> these are last lines of compilation log:
> 
> if /bin/sh ../../../libtool --tag=CC --mode=compile
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
> - -I../../.. -I../../..    -I.. -I./.. -I../.. -I./../.. -I../../engine
> - -I./../../engine  -I../../../lib/libqof/qof -pthread
> - -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -march=k8 -O2
> - -pipe -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
> - -Werror -Wdeclaration-after-statement -MT PostgresBackend.lo -MD -MP -MF
> ".deps/PostgresBackend.Tpo" -c -o PostgresBackend.lo PostgresBackend.c; \
> then mv -f ".deps/PostgresBackend.Tpo" ".deps/PostgresBackend.Plo"; else
> rm -f ".deps/PostgresBackend.Tpo"; exit 1; fi
> mkdir .libs
>  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
> - -I../../.. -I../../.. -I.. -I./.. -I../.. -I./../.. -I../../engine
> - -I./../../engine -I../../../lib/libqof/qof -pthread
> - -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=k8 -O2
> - -pipe -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror
> - -Wdeclaration-after-statement -MT PostgresBackend.lo -MD -MP -MF
> .deps/PostgresBackend.Tpo -c PostgresBackend.c  -fPIC -DPIC -o
> .libs/PostgresBackend.o
> In file included from PostgresBackend.c:336:
> base-autogen.c: In function `pgendAccountCompareVersion':
> base-autogen.c:1078: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendBookCompareVersion':
> base-autogen.c:1105: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendTransactionCompareVersion':
> base-autogen.c:1132: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendPriceCompareVersion':
> base-autogen.c:1159: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendAccountGetDeletedVersion':
> base-autogen.c:1185: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendBookGetDeletedVersion':
> base-autogen.c:1209: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendTransactionGetDeletedVersion':
> base-autogen.c:1233: warning: cast from pointer to integer of different size
> base-autogen.c: In function `pgendPriceGetDeletedVersion':
> base-autogen.c:1257: warning: cast from pointer to integer of different size
> make[6]: *** [PostgresBackend.lo] Error 1
> make[6]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src/backend/postgres'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src/backend/postgres'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src/backend/postgres'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112'
> make: *** [all] Error 2
> 
> !!! ERROR: app-office/gnucash-svn-20060112 failed.
> !!! Function src_compile, Line 28, Exitcode 2
> !!! emake failed
> !!! If you need support, post the topmost build error, NOT this status
> message.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFD4pe3KspUgsz1chERAuhgAJ9kpA+u12lEdZ6z8iKf7jtQ+GoJBwCeLyUr
> 8dXgeShn2Sjdd2u/JC7ZI04=
> =6Sch
> -----END PGP SIGNATURE-----
> 



More information about the gnucash-devel mailing list