Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging gnucash-1.8.8 problem...
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Tue Mar 09, 2004 6:52 am    Post subject: emerging gnucash-1.8.8 problem... Reply with quote

I edited the gnucash-1.8.8.ebuild file and added "amd64" to the KEYWORDS list, so I could get emerge to attempt the install. All of the dependencies for gnucash have installed properly, but the merging of gnucash itself never completes: it hangs while building the documentation search index database and never exits. Here's what I think is the relevent output:
Code:
Making install in doc-tools
make[1]: Entering directory `/var/tmp/portage/gnucash-1.8.8/work/gnucash-docs-1.8.3/doc-tools'
make[2]: Entering directory `/var/tmp/portage/gnucash-1.8.8/work/gnucash-docs-1.8.3/doc-tools'
make[2]: Nothing to be done for `install-exec-am'.
if test -r help-search-index.db; then \
rm -f help-search-index.db; \
fi
./build-help-index \
./dbadd \
./help-search-index.db \
../help/C/gnucash-help/*.html \
../guide/C/gnucash-guide/*.html;
Error writing data.


To kill the emerge I have to hit ^C not once but twice, and that still doesn't kill the dbadd process. Fortunately I don't have to do a complete reboot to kill it; logging out and logging back in seems to kill the process.

I'm wondering if I should submit a bug report about this. Oh yeah, my system specs:
Code:
2xOpteron 242
2GB RAM
MSI K8T Master2-FAR motherboard (VIA Chipset)
250 GB Maxtor HD (with DMA finally enabled;  I didn't have support for my IDE chipset in the kernel)

_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Mar 09, 2004 7:57 am    Post subject: Reply with quote

please check bugzilla, it's a known problem that stopped me from installing it, too. there is a workaround, too.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Wed Mar 10, 2004 4:59 am    Post subject: Reply with quote

Thanks, I've worked around it. Now I'm running into this problem.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
molecularbear
n00b
n00b


Joined: 24 Mar 2004
Posts: 22

PostPosted: Mon Mar 29, 2004 1:10 am    Post subject: Reply with quote

Earthwings wrote:
please check bugzilla, it's a known problem that stopped me from installing it, too. there is a workaround, too.

Here is a link for the lazy: https://bugs.gentoo.org/show_bug.cgi?id=27978
The files given in comments #34 and #35 are what solved my problems.
Back to top
View user's profile Send private message
rjrooke
n00b
n00b


Joined: 29 Mar 2004
Posts: 17

PostPosted: Mon Mar 29, 2004 6:27 am    Post subject: Reply with quote

After much aggravation, got gnucash 1.8.8 to compile and run on amd64 - not sure if I used "best practices" or what exacttly cured the problems, so try these:

add --enable-deprecation=no to guile-1.6.4-r1.ebuild econf section and re-emerge
ACCEPT_KEYWORDS="~amd64" emerge guile-gtk
add CFLAGS="-L/usr/X11R6/lib" and LDLAGS="-L/usr/X11R6/lib" to gnucash-1.8.8.ebuild global section and re-emerge

make sure you do the workaround for the gnucash-docs bug

I'd like to do this "prpoer gentoo style" - let me know if what to change...[/list]
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Mon Mar 29, 2004 8:29 pm    Post subject: Reply with quote

rjrooke wrote:
[A]dd CFLAGS="-L/usr/X11R6/lib" and LDLAGS="-L/usr/X11R6/lib" to gnucash-1.8.8.ebuild global section and re-emerge


Is that supposed to be LDFLAGS? Or is it really supposed to be LDLAGS?
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Mon Mar 29, 2004 9:20 pm    Post subject: Reply with quote

rjrooke wrote:
After much aggravation, got gnucash 1.8.8 to compile and run on amd64 - not sure if I used "best practices" or what exacttly cured the problems, so try these:

add --enable-deprecation=no to guile-1.6.4-r1.ebuild econf section and re-emerge
ACCEPT_KEYWORDS="~amd64" emerge guile-gtk
add CFLAGS="-L/usr/X11R6/lib" and LDLAGS="-L/usr/X11R6/lib" to gnucash-1.8.8.ebuild global section and re-emerge

make sure you do the workaround for the gnucash-docs bug

I'd like to do this "prpoer gentoo style" - let me know if what to change...


Thanks, now I have GnuCash working in 64bit. Maybe you should submit a bug report...
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
blw
n00b
n00b


Joined: 23 Feb 2004
Posts: 3

PostPosted: Mon Apr 05, 2004 2:03 am    Post subject: Not quite working for me Reply with quote

Can somebody who has managed to get this working post the working gnucash 1.88 e-build file? I have not quite figured out where to put the CFLAGS and the LDFLAGS options into the e-build file.

Thanks.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Tue Apr 06, 2004 2:46 am    Post subject: Re: Not quite working for me Reply with quote

blw wrote:
Can somebody who has managed to get this working post the working gnucash 1.88 e-build file? I have not quite figured out where to put the CFLAGS and the LDFLAGS options into the e-build file.

Thanks.


The global section of the ebuild is anything outside of the curly braces "{...}". IIRC (I may not since I've synced since then and the ebuild got overwritten), I put the CFLAGS and the LDFLAGS sections after the MAKEOPTS variable.

Hope that helps.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
kshade
n00b
n00b


Joined: 13 Jan 2004
Posts: 60
Location: Germany

PostPosted: Tue Apr 06, 2004 5:10 pm    Post subject: Reply with quote

Thanks for the workarround, got gnucash emerged but it crashes:
Code:
bash-2.05b$ gnucash
ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.so.0: undefined symbol: gtk_marshal_NONE__NONE"
bash-2.05b$

any idea what that could mean?
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Tue Apr 06, 2004 8:06 pm    Post subject: Reply with quote

kshade wrote:
Thanks for the workarround, got gnucash emerged but it crashes:
Code:
bash-2.05b$ gnucash
ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.so.0: undefined symbol: gtk_marshal_NONE__NONE"
bash-2.05b$

any idea what that could mean?


This bug was related to not getting gnucash to run, it already compiled. Make sure you edit the guile and other ebuilds like rjrooke said, and I would think it will work (it did for me). If you're still having problems, look it up on bugzilla.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
kshade
n00b
n00b


Joined: 13 Jan 2004
Posts: 60
Location: Germany

PostPosted: Tue Apr 06, 2004 10:01 pm    Post subject: Reply with quote

ectospasm wrote:
kshade wrote:
Thanks for the workarround, got gnucash emerged but it crashes:
Code:
bash-2.05b$ gnucash
ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.so.0: undefined symbol: gtk_marshal_NONE__NONE"
bash-2.05b$

any idea what that could mean?


This bug was related to not getting gnucash to run, it already compiled. Make sure you edit the guile and other ebuilds like rjrooke said, and I would think it will work (it did for me). If you're still having problems, look it up on bugzilla.

I've forgotten to merge guile-gtk, now it works
Back to top
View user's profile Send private message
blw
n00b
n00b


Joined: 23 Feb 2004
Posts: 3

PostPosted: Wed Apr 07, 2004 12:44 pm    Post subject: Reply with quote

Working for me now. Thanks!!!
Back to top
View user's profile Send private message
rjrooke
n00b
n00b


Joined: 29 Mar 2004
Posts: 17

PostPosted: Sat Apr 17, 2004 1:52 am    Post subject: gnucash 1.8.9 Reply with quote

gnucash 1.8.9 works for amd64 with gnome 2.6 with the addition of the CFLAGS and LDFLAGS options - got the ebuild from bugzilla - I'm going to add a note there... Thought the LDFLAGS option was useless, but it does, in fact seem necessary - voodoo...
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sat Apr 24, 2004 1:08 pm    Post subject: Reply with quote

Well, it compiles okay here but I get this error starting it up:

Code:

ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.a: invalid ELF header"


Is this related to the above? Does the patch in bugzilla fix this?
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sat Apr 24, 2004 1:29 pm    Post subject: Reply with quote

Update to gnucash-1.8.9 doesn't fix things :(
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
rjrooke
n00b
n00b


Joined: 29 Mar 2004
Posts: 17

PostPosted: Sat Apr 24, 2004 4:19 pm    Post subject: library error Reply with quote

I had that error until I added the CFLAGS and LDFLAGS fix into the ebuild file - Didn't use any other patches.
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sun Apr 25, 2004 3:33 pm    Post subject: Re: library error Reply with quote

rjrooke wrote:
I had that error until I added the CFLAGS and LDFLAGS fix into the ebuild file - Didn't use any other patches.


Sounds good, I'll try that, although the instructions above mention the global section of the ebuild; Where is that? I have added them in where I thought appropiate, let's see if it works...
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
noleti
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 153

PostPosted: Sun Apr 25, 2004 3:42 pm    Post subject: Re: Not quite working for me Reply with quote

ectospasm wrote:


The global section of the ebuild is anything outside of the curly braces "{...}". IIRC (I may not since I've synced since then and the ebuild got overwritten), I put the CFLAGS and the LDFLAGS sections after the MAKEOPTS variable.

Hope that helps.
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sun Apr 25, 2004 4:04 pm    Post subject: Re: Not quite working for me Reply with quote

noleti wrote:
ectospasm wrote:


The global section of the ebuild is anything outside of the curly braces "{...}". IIRC (I may not since I've synced since then and the ebuild got overwritten), I put the CFLAGS and the LDFLAGS sections after the MAKEOPTS variable.

Hope that helps.


Aah thank you; I had placed them into the src_compile section but that didn't work. I'm compiling again, fingers crossed...

edit

Well, I got past the previous error -- now it starts (splashscreen) but bombs out with:

Code:

Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Warning: gnucash_style_set_register...(): Cannot load font: -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Fatal Error: gnucash_style_set_register...(): Cannot load fallback font: -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Warning: gnucash_style_set_register...(): Cannot load font: -adobe-helvetica-medium-o-normal--*-120-*-*-*-*-*-*
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Fatal Error: gnucash_style_set_register...(): Cannot load fallback font: -adobe-helvetica-medium-o-normal--*-120-*-*-*-*-*-*
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Fatal Error: gnucash_style_set_register...(): Cannot load fallback font: -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1
 
 
Gdk-WARNING **:     ISO8859-1
 
Fatal Error: gnucash_style_set_register...(): Cannot load fallback font: -adobe-helvetica-medium-o-normal--*-120-*-*-*-*-*-*
 


:(

Do I need to emerge something?
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Fri May 07, 2004 7:15 pm    Post subject: Reply with quote

bump
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Tue May 18, 2004 1:45 pm    Post subject: Reply with quote

If you are using xorg-x11 make sure that the font paths under "Files" are pointing to /usr/share/fonts. Once these have been updated restart your fonts server. I found it was looking at /usr/lib/X11/fonts/Type1 which did not contain anything. This resolved the problem for me.
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Wed May 19, 2004 7:05 pm    Post subject: Reply with quote

Yep, I'd fixed it just last week, should have noticed that earlier heheh...

Thanks for the reply :)
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Mon Nov 21, 2005 12:12 pm    Post subject: Reply with quote

Does anyone know if all this still needs doing for app-office/gnucash-1.8.12 or have things changed since May last year?
_________________
This sig left intentionally blank.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Tue Nov 22, 2005 1:31 pm    Post subject: Reply with quote

d0wn_under wrote:
Does anyone know if all this still needs doing for app-office/gnucash-1.8.12 or have things changed since May last year?


I haven't needed to go through this procedure for quite some time now. I'm sure I didn't do it for my version 1.8.12... YMMV, however...
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum