| View previous topic :: View next topic |
| Author |
Message |
mantis Tux's lil' helper

Joined: 30 Jul 2002 Posts: 134 Location: Sydney
|
Posted: Wed Mar 09, 2005 6:06 am Post subject: GnuCash Gnome2 |
|
|
Trying to install GnuCash from CVS because I want the gnome2 port.
Well I passed the db 1.85 compat error, but not I get this error libtool: install: error: cannot install `libgw-core-utils.la' to a directory not ending in /usr/local/lib
I am using an ebuild I found from google for this and it was written in mid-late 2004 so it might be that, that is breaking it, but unsure.
Has anyone got gnome2 port of GnuCash working? |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Thu Mar 31, 2005 10:27 am Post subject: |
|
|
Well, well, well, that is a damn good question. Looking at the gnucash-dev mailing list, it seems that it indeed runs . No clue for a working ebuild though ... I am also wondering how I can get this awesome progress of gnucash UI landing on my desktop ...
Best regards,
Sébastien. |
|
| Back to top |
|
 |
zepto Tux's lil' helper


Joined: 03 Nov 2004 Posts: 129 Location: London
|
Posted: Thu Mar 31, 2005 10:44 am Post subject: |
|
|
Thanks for pointing out the possibilty mantis.
Now, if someone smart were to make an e-build, I'd be very appreciative.
Nim |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Thu Mar 31, 2005 2:58 pm Post subject: |
|
|
I'm trying to make an ebuild with a cvs snapshot. Here is how far I get: I also have some error on missing 1.85 db compatibility mode:
| Code: |
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.
|
Mantis, how did you correct this error ? I read that you can pass an option --enable-compat185 when compiling different db versions for enabling compatibility mode. Is there any trick bypassing this process ?
Regards,
Sébastien.
[EDIT] Hmm, OK, I patched the configure.in file with a more correct db check and it is now compiling ... |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Thu Mar 31, 2005 10:28 pm Post subject: |
|
|
Gnucash2 cvs ebuild
Feel free to experiment and contribute to improvements.
Best regards,
Sébastien. |
|
| Back to top |
|
 |
mantis Tux's lil' helper

Joined: 30 Jul 2002 Posts: 134 Location: Sydney
|
Posted: Fri Apr 01, 2005 12:28 am Post subject: |
|
|
Heya, sorry I totally forgot about this thread.
I actually did, in the end, get it installed and running.
To fix that DB issue you had to change one file to use 4001, 4002, etc, but I can't remember where it was and so on.
I did actually find an ebuild and I think it worked for the most part.
It seems sebgarden has posted a good one in bugs and it looks like it is similar to the one I used. |
|
| Back to top |
|
 |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Apr 01, 2005 1:52 am Post subject: |
|
|
The ebuild that sebgarden has written does not seem to work. The program compiles just fine but when I run gnucash I get an error about
| Code: |
ERROR: file: "libgw-gnc", message: "libgncgnome.so.0: cannot open shared object file: No such file or directory"
|
Interestingly, this library was removed by the portage. Here is a portion of the output from emerging gnucash
| Code: |
--- !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
|
Does anybody has a fix for this? |
|
| Back to top |
|
 |
mantis Tux's lil' helper

Joined: 30 Jul 2002 Posts: 134 Location: Sydney
|
Posted: Fri Apr 01, 2005 2:08 am Post subject: |
|
|
I did fix this.
But I can't remember how.  |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Fri Apr 01, 2005 7:13 am Post subject: |
|
|
Hey Mantis, next time you find something good and working, could you share it please ? Maybe you still have that ebuild lying around and you can find post it here or, even better, find the thing that make it actually work ?
Sébastien. |
|
| Back to top |
|
 |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Apr 01, 2005 1:44 pm Post subject: |
|
|
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/gnucash-user/2004-May/010393.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 error
| Code: |
stat64("/usr/local/libexec/gnucash/overrides/gnucash", 0xbfffda40) = -1 ENOENT (No such file or directory)
|
|
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Fri Apr 01, 2005 9:02 pm Post subject: |
|
|
| 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/gnucash-user/2004-May/010393.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 error
| Code: |
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.
IMHO you're heading in the wrong direction
Regards,
Sébastien.
[EDIT] Holy crap, I didn't read the gnucash list message you indicated before posting. Sounds a bit more complicated than I thought ... |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Fri Apr 01, 2005 9:14 pm Post subject: |
|
|
Hmmm, I think I get it: the gnucash post is refering to the install phase during which you must not fix the prefix. I fixed the prefix during the _compilation_ phase, which is OK.
Then there is this DESTDIR thing. Maybe we should just let it as in the last ebuild.
Testing ... |
|
| Back to top |
|
 |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Apr 01, 2005 10:35 pm Post subject: |
|
|
I extracted the gnucash2-2005331 file in my home directory and I run ./autogen.sh , followed by
configure --prefix=/somewhere_in_home_directory && make.
I found an error in src/doc/design. I had to make one change and delete one line in two different files, but beside that gnucash compiled without any other error. make install, installed gnucash in the folder that I specified, and it runs without any complain.
So, my curiosity is fulfilled and I am going to sit patiently and wait for the stable 2.0 gnumeric8) |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Mon Apr 04, 2005 11:54 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Mon Apr 04, 2005 1:46 pm Post subject: |
|
|
| 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. |
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? |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Mon Apr 04, 2005 7:57 pm Post subject: |
|
|
Come on, don't take it too seriously I was just calling for more interaction. Finally, you were right to let me struggle with this because you did not have time and because I succeeded in writing this small ebuild
 |
|
| Back to top |
|
 |
chrisashton84 Apprentice


Joined: 12 Aug 2003 Posts: 192 Location: Peoria, IL (home) Urbana, IL (school)
|
Posted: Sun Sep 25, 2005 3:10 am Post subject: |
|
|
| Has anyone compiled this recently? I've got the patch and ebuild off the bug report, but right now the patch fails. Perhaps a change in cvs that breaks the patch (sorry, I don't know anything about patching). I may take a look and try to solve this myself, but I'm especially busy with school right now and probably won't have all that much time. Just curious whether anyone's had success recently. |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Tue Oct 04, 2005 8:43 pm Post subject: |
|
|
FEATURES="-sandbox" emerge =app-office/gnucash-1.99.0-r4
I wrote the ebuild. I am daily using gnucash-cvs for my personal finances. It's working very well for a development version
Greetings,
Sébastien.
PS: since I'm here, I would like to ask the community a question: does anyone know how I can get rid of this annoying sandbox violation occuring when the ebuild tries to "mkdir -p /opt/gnc-g2-unstable" ? |
|
| Back to top |
|
 |
Ansorg Apprentice

Joined: 13 Jul 2002 Posts: 193
|
Posted: Tue Oct 04, 2005 9:30 pm Post subject: |
|
|
thanks for the ebuild. What's the bug number for that?
Two issues:
When trying to install I get an error in the ebuild:
| Code: | /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()
|
Other issue: I'd like HBCI support, so I enabled the hbci USE flag. But then I get a missing dependency:
| Code: | | emerge: there are no ebuilds to satisfy ">=net-libs/aqhbci-1.0.0". |
Though there is the openhbci lib in portage. I will try to use that instead.
It's late today ... will try the emerge tomorrow _________________ thanks
Jens |
|
| Back to top |
|
 |
sebgarden Guru

Joined: 21 Dec 2002 Posts: 353
|
Posted: Wed Oct 05, 2005 6:21 pm Post subject: |
|
|
If you want to emerge this ebuild, you need to create a new eclass named "gnome2-modified.eclass" in your ${PORTDIR_OVERLAY}/eclass directory. In bug #87469, you will find a patch to apply to the existing /usr/portage/eclass/gnome2.eclass.
As for the hbci error, I didn't noticed it before. I will try to solve this issue.
Regards,
Sébastien. |
|
| Back to top |
|
 |
Ansorg Apprentice

Joined: 13 Jul 2002 Posts: 193
|
Posted: Wed Oct 05, 2005 7:37 pm Post subject: |
|
|
| sebgarden wrote: |
As for the hbci error, I didn't noticed it before. I will try to solve this issue.
Regards,
Sébastien. |
I think the lib got replaced by a new version:
with some dependencies. Those deps did get build on my machine. But the aqbanking itself fails.
strange thing is: I can compile the aqbanking-1.6.0beta manually, outside of portage just fine!! But wha does ebuild fail??
| Code: | 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
|
_________________ thanks
Jens |
|
| Back to top |
|
 |
Neo_0815 l33t


Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
|
| Back to top |
|
 |
chovy Guru


Joined: 03 Dec 2004 Posts: 453
|
Posted: Sun Mar 05, 2006 11:58 pm Post subject: |
|
|
i want to test GnuCash 1.9, how do I get the ebuild for it in portage? _________________ Woof, Woof! Add "[solved]" to the title! Woof, Woof! |
|
| Back to top |
|
 |
jsled n00b

Joined: 12 Sep 2005 Posts: 11
|
|
| Back to top |
|
 |
|