Code: Select all
checking for ctags... no
checking for perl... /usr/bin/perl
checking for doxygen... no
checking for __db185_open in -ldb-3... no
checking for __db185_open in -ldb-4.0... no
checking for __db185_open in -ldb-4.1... no
checking for __db185_open in -ldb-4.2... no
configure: error: Your db library is missing db 1.85 compatibility mode
!!! ERROR: app-office/gnucash-1.9.0 failed.
!!! Function src_compile, Line 90, Exitcode 1
!!! autogen.sh failed
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
ERROR: file: "libgw-gnc", message: "libgncgnome.so.0: cannot open shared object file: No such file or directory"
Code: Select all
--- !mtime obj /usr/lib/libgw-gnc.so.0.0.0
--- !mtime obj /usr/lib/libgw-gnc.la
--- !mtime obj /usr/lib/libgw-core-utils.so.0.0.0
--- !mtime obj /usr/lib/libgw-core-utils.la
--- !mtime obj /usr/lib/libgncmodule.so.0.0.0
--- !mtime obj /usr/lib/libgncmodule.la
<<< obj /usr/lib/libgncgnome.so.0.0.0
<<< obj /usr/lib/libgncgnome.la
--- !mtime obj /usr/lib/libgnc-app-file-gnome.so.0.0.0
--- !mtime obj /usr/lib/libgnc-app-file-gnome.la
--- !mtime obj /usr/lib/libcore-utils.so.0.0.0
--- !mtime obj /usr/lib/libcore-utils.la
-- cfgpro obj /etc/gnucash/config
--- cfgpro dir /etc/gnucash
--- !mtime obj /etc/gconf/schemas/apps_gnucash_dialog_prices.schemas
--- !mtime obj /etc/gconf/schemas/apps_gnucash_dialog_commodities.schemas
--- cfgpro dir /etc/gconf
<<< sym /usr/lib/libgncgnome.so.0
<<< sym /usr/lib/libgncgnome.so
<<< dir /usr/share/gnucash/guile-modules/srfi
<<< dir /usr/share/gnucash/doc/html/html
<<< dir /usr/share/gnucash/doc/html
--- !empty dir /var/lib
--- !empty dir /var
--- !empty dir /usr/share/mime-info
--- !empty dir /usr/share/man/man1
Code: Select all
stat64("/usr/local/libexec/gnucash/overrides/gnucash", 0xbfffda40) = -1 ENOENT (No such file or directory)
I also encountered this error. Do not complain if you get a "/usr/LOCAL/libexec/blah not found" style error: gnucash is assuming you are building the program in /usr/local, not in /usr (read the configure.in file). This is exactly the reason why I added this --prefix=/usr. If I understood the configure script well, LIBDIR is set to ${PREFIX}/libexec by default.MasterX wrote:I was able to get rid of the error, but doing the following two changes:
1) Remove the "--prefix=/usr" in the section src_compile()
2) Add make DESTDIR=${D} at the end of section src_install()
The first changed is important. Here is the link that talks about it https://lists.gnucash.org/pipermail/gnu ... 10393.html
I am not sure about the second change. I copied it from the ebuild for the 1.8.11 version.
Well, the above changes did fix the problem with the libraries, but now when I run gnucash nothing happens. The program gnucash uses about 70% of the CPU, but I do not see anything.
I think I will compile gnucash with debug enabled.
EDIT: I used the command strace, and I got this errorCode: Select all
stat64("/usr/local/libexec/gnucash/overrides/gnucash", 0xbfffda40) = -1 ENOENT (No such file or directory)
Good for you. You know how to write ebuilds, and you have the time to further read about writting ebuilds. I, on the other hand, downloaded your ebuild and tested it. Made some changes and did some search on the Internet, in order to help you improve your ebuild. I do not understand why you are calling me a lazy guy, with an evil icon. Can you elaborate on this?sebgarden wrote:You lazy guy![]()
For people wishing to easily test a cvs snapshot of gnucash's gtk2 port, here you go:
Working Gnucash2 ebuild
Best regards,
Sébastien.

thanks for the ebuild. What's the bug number for that?
Code: Select all
/usr/lib/portage/bin/ebuild.sh: line 1443: /usr/portage/eclass/gnome2-modified.eclass: No suc
file or directory
!!! ERROR: app-office/gnucash-1.99.0-r4 failed.
!!! Function inherit, Line 1444, Exitcode 1
!!! died sourcing /usr/portage/eclass/gnome2-modified.eclass in inherit()
Code: Select all
emerge: there are no ebuilds to satisfy ">=net-libs/aqhbci-1.0.0".I think the lib got replaced by a new version:sebgarden wrote: As for the hbci error, I didn't noticed it before. I will try to solve this issue.
Regards,
Sébastien.
Code: Select all
net-libs/aqbankingCode: Select all
make[8]: Leaving directory `/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/plugins/backends/aqhbci/plugin/banking'
make[8]: Entering directory `/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/plugins/backends/aqhbci/plugin'
if /bin/sh ../../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../headers -I./joblayer -ma
h=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclaration-after-statement -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo dummy.c; \
then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo"; exit 1; fi
if /bin/sh ../../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../headers -I./joblayer -ma
h=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclaration-after-statement -MT aqhbci-plugin.lo -MD -MP -MF ".deps/aqhbci-plugin.Tpo" -c -o aqhbci-plugin.lo aqhbci-p
gin.c; \
then mv -f ".deps/aqhbci-plugin.Tpo" ".deps/aqhbci-plugin.Plo"; else rm -f ".deps/aqhbci-plugin.Tpo"; exit 1; fi
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../headers -I./joblayer -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclarati
-after-statement -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -fPIC -DPIC -o .libs/dummy.o
/usr/bin/xmlmerge --compact --header -v header.xml applayer/xml/base.xml accountjobs/accountjobs.xml -o hbci.xml
/bin/sh ../../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclaration-after-statement -o lib
hbci.la -rpath /usr/lib64 -version-info 8:1:0 dummy.lo msglayer/libhbcimsg.la joblayer/libhbcijob.la accountjobs/libhbciaccjobs.la applayer/libhbciapp.la banking/libhbc
anking.la -L../../../../../src/libs/aqbanking -laqbanking -L/usr/lib64 -lgwenhywfar
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../headers -I./joblayer -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclarati
-after-statement -MT aqhbci-plugin.lo -MD -MP -MF .deps/aqhbci-plugin.Tpo -c aqhbci-plugin.c -fPIC -DPIC -o .libs/aqhbci-plugin.o
/bin/sh ../../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wdeclaration-after-statement -o aqh
i.la -rpath /usr/lib64/aqbanking/plugins/0/providers -module -version-info 8:1:0 aqhbci-plugin.lo -L/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/p
gins/backends/aqhbci/plugin -laqhbci -L/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/libs/aqbanking -laqbanking -L/usr/lib64 -lgwenhywfar
x86_64-pc-linux-gnu-gcc -shared .libs/aqhbci-plugin.o -Wl,--rpath -Wl,/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/libs/aqbanking/.libs -L/var/t
/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/plugins/backends/aqhbci/plugin -laqhbci -L/var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/
bs/aqbanking /var/tmp/portage/aqbanking-1.6.0_beta/work/aqbanking-1.6.0beta/src/libs/aqbanking/.libs/libaqbanking.so -L/usr/lib64 /usr/lib64/libgwenhywfar.so -march=at
on64 -Wl,-soname -Wl,aqhbci.so.8 -o .libs/aqhbci.so.8.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -laqhbci
collect2: ld returned 1 exit status
make[8]: *** [aqhbci.la] Error 1
http://bugs.gentoo.org/show_bug.cgi?id=122337chovy wrote:i want to test GnuCash 1.9, how do I get the ebuild for it in portage?