Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not upgrade gnucash
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Tue Dec 18, 2007 12:33 pm    Post subject: can not upgrade gnucash Reply with quote

Hi,

I am trying to emerge gnucash-2.2.1-r1.

The error message is:
Quote:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libguile.so.12, needed by /usr/lib64/gnucash/libgncmod-register-core.so.0, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libguile-ltdl.so.1, needed by /usr/lib64/gnucash/libgncmod-register-core.so.0, not found (try using -rpath or -rpath-link)
/usr/lib64/gnucash/libgw-engine.so.0: undefined reference to `scm_ints_disabled'
/usr/lib64/gnucash/libgw-engine.so.0: undefined reference to `scm_block_gc'
collect2: ld returned 1 exit status
make[4]: *** [gnucash-bin] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.1-r1/work/gnucash-2.2.1/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.1-r1/work/gnucash-2.2.1/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.1-r1/work/gnucash-2.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.1-r1/work/gnucash-2.2.1'
make: *** [all] Error 2
*
* ERROR: app-office/gnucash-2.2.1-r1 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gnucash-2.2.1-r1.ebuild, line 86: Called die
* The specific snippet of code:
* emake -j1 || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-office/gnucash-2.2.1-r1/temp/build.log'.


The problem seems to be the guile library that can not be found ...

I am using this libs:
Quote:
[I] dev-scheme/slib
Available versions: *2.4.2 *2.4.3 2.4.6 (~)3.1.1 3.1.1-r1 (~)3.1.4-r2 (~)3.1.4-r3 (~)3.1.4-r4
Installed versions: 3.1.4-r4(11:36:31 10.12.2007)
Homepage: http://swiss.csail.mit.edu/~jaffer/SLIB
Description: library providing functions for Scheme implementation

[I] dev-scheme/guile
Available versions: (12) 1.6.7 1.6.8 (~)1.8.1-r3 1.8.2 (~)1.8.3 (~)1.8.3-r1 [M](~)1.8.3-r25
{debug debug-freelist debug-malloc deprecated discouraged elisp networking nls regex threads}
Installed versions: 1.8.3-r1(12)(11:43:48 10.12.2007)(deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp -networking)
Homepage: http://www.gnu.org/software/guile/
Description: Scheme interpreter


Any ideas what to do?????

Thanx
menschmeier
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Sun Dec 30, 2007 1:36 am    Post subject: Reply with quote

Sometimes the order that gnucash dependencies are built can screw things up.
Usually doing an
Code:
emerge -C gnucash
emerge --depclean
emerge gnucash


will build everything correctly.

A few caveats, you should run
Code:
emerge -uDN world

first and
Code:
emerge --depclean -p

to make sure the output of depclean is sane.

Incidentally, I cannot get gnucash-2.2.2 to run, I just get a segmentation fault. I am currently going back to 2.2.1
_________________
jim
Back to top
View user's profile Send private message
psm321
n00b
n00b


Joined: 25 Mar 2003
Posts: 11

PostPosted: Thu Mar 06, 2008 6:30 am    Post subject: Reply with quote

I was having this same problem. It looks to me like building gnucash for some reason pulls in existing installed gnucash libs, causing the problem (see the --Wl,--rpath -Wl,/usr/lib/gnucash below). Unmerging gnucash first and than emerging it fixes it, but it really shouldn't be trying to pull them in in the first place...

Code:
i686-pc-linux-gnu-gcc -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/libpng12 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I../../lib/libqof/qof -I../../lib/libqof/qof -DPKGSYSCONFDIR=\"/etc/gnucash\" -DPKGDATADIR=\"/usr/share/gnucash\" -DGNC_HELPDIR=\"/usr/share\" -I../../src -I../../src -I../../src/core-utils -I../../src/app-utils -I../../src/gnome-utils -I../../src/engine -I../../src/gnome -I../../src/gnome-utils -I../../src/gnc-module -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -march=pentium4 -fomit-frame-pointer -pipe -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o .libs/gnucash-bin gnucash-bin.o -pthread -pthread -Wl,--export-dynamic -pthread  /usr/lib/libguile.so /usr/lib/libgmp.so -lcrypt /usr/lib/libltdl.so /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libart_lgpl_2.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ../../lib/libqof/qof/.libs/libgnc-qof.so ../../src/engine/.libs/libgncmod-engine.so ../../src/gnome/.libs/libgnc-gnome.so ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so ../../src/app-utils/.libs/libgncmod-app-utils.so ../../src/core-utils/.libs/libgnc-core-utils.so ../../src/gnc-module/.libs/libgnc-module.so /usr/lib/libpopt.so -lm  -Wl,--rpath -Wl,/usr/lib/gnucash
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libguile.so.12, needed by /usr/lib/gnucash/libgncmod-register-core.so.0, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libguile-ltdl.so.1, needed by /usr/lib/gnucash/libgncmod-register-core.so.0, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libqthreads.so.12, needed by /usr/lib/gnucash/libgncmod-register-core.so.0, not found (try using -rpath or -rpath-link)
/usr/lib/libgwrap-guile-runtime.so.0: undefined reference to `scm_freelist'
/usr/lib/gnucash/libgw-engine.so.0: undefined reference to `scm_ints_disabled'
/usr/lib/gnucash/libgw-engine.so.0: undefined reference to `coop_yield'
/usr/lib/libgwrap-guile-runtime.so.0: undefined reference to `scm_master_freelist'
/usr/lib/gnucash/libgw-engine.so.0: undefined reference to `scm_thread_count'
/usr/lib/gnucash/libgw-engine.so.0: undefined reference to `scm_switch_counter'
/usr/lib/gnucash/libgw-engine.so.0: undefined reference to `scm_block_gc'
collect2: ld returned 1 exit status
make[4]: *** [gnucash-bin] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.2.3/work/gnucash-2.2.3'
make: *** [all] Error 2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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