1 |
nospam posted <1134299574.14999.3.camel@localhost>, excerpted below, on |
2 |
Sun, 11 Dec 2005 06:12:54 -0500: |
3 |
|
4 |
> I tried to install gnucash on my gentoo system and I'm not sure why it |
5 |
> did not work. I am using gnome-light and after running emerge for |
6 |
> gnucash, this is the error... |
7 |
> |
8 |
> ----------------------------------------- |
9 |
> collect2: ld returned 1 exit status |
10 |
> make[3]: *** [libgw-core-utils.la] Error 1 |
11 |
> make[3]: Leaving directory |
12 |
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/core-utils' |
13 |
> make[2]: *** [all-recursive] Error 1 |
14 |
> make[2]: Leaving directory |
15 |
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src' |
16 |
> make[1]: *** [all-recursive] Error 1 |
17 |
> make[1]: Leaving directory |
18 |
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11' |
19 |
> make: *** [all-recursive-am] Error 2 |
20 |
> |
21 |
> !!! ERROR: app-office/gnucash-1.8.11 failed. |
22 |
> !!! Function src_compile, Line 91, Exitcode 2 |
23 |
> !!! make failed |
24 |
> ---------------------------------------- |
25 |
|
26 |
Generally, we'd need just a bit before that as well. ld is used multiple |
27 |
times in most cases, so knowing /where/ and /why/ it returned exit status |
28 |
1 (non-zero is error) is useful. |
29 |
|
30 |
If you take a look, chances are pretty good it's due to libstdc++ or |
31 |
similar, from gcc. If so, you need to run fix_libtool_files.sh, with the |
32 |
name of the affected /old/ version of gcc you want to replace in the *.la |
33 |
files with the new one. IOW, don't put your /current/ gcc version in, but |
34 |
the one that's giving problems. |
35 |
|
36 |
If that doesn't work, remerging the package owning that *.la file will |
37 |
almost certainly do the trick. You can find the package name using |
38 |
equery belongs <file>. (equery is part of gentoolkit, IIRC). |
39 |
|
40 |
-- |
41 |
Duncan - List replies preferred. No HTML msgs. |
42 |
"Every nonfree program has a lord, a master -- |
43 |
and if you use the program, he is your master." Richard Stallman in |
44 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-desktop@g.o mailing list |