View previous topic :: View next topic |
Author |
Message |
xblinkx Tux's lil' helper
Joined: 18 Jan 2004 Posts: 112
|
Posted: Fri Apr 02, 2004 5:51 pm Post subject: emerging gnome error |
|
|
when i try and emerge gnome it goes fine for awhile then I get
Error app text/aspell-0.50.3 failed
and it stops. Whats wrong? |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Fri Apr 02, 2004 6:05 pm Post subject: |
|
|
Can you provide any more information? Such as what the exact error message was? (Just look for the last part right above where it says ERROR.) A bug was discovered and reported to bugzilla that might match your problem. If you get something that looks like:
Code: | In function 'initialize_mousetype':: undefined reference to 'Gpm_Open'
In function 'initialize_mousetype':: undefined reference to 'gpm_fd'
In function '_nc_mouse_event':: undefined reference to 'Gpm_GetEvent'
In function 'mouse_activate':: undefined reference to 'gpm_fd'
!!! ERROR: app-text/aspell-0.50.3 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message) |
Then you should follow the recommended steps found here: https://bugs.gentoo.org/show_bug.cgi?id=46432. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
xblinkx Tux's lil' helper
Joined: 18 Jan 2004 Posts: 112
|
Posted: Fri Apr 02, 2004 6:10 pm Post subject: |
|
|
make[1]: *** [aspell] Error 1
make[1]: Leaving director '/var/tmp/portage/aspell-050.3/work/aspell-0.50.3/prog'
make: *** [all-recursive] Error 1
!!! Error: app-text/aspell-0.50.3 failed
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
And above all that it have the undefinted reference errors like you posted. |
|
Back to top |
|
|
xblinkx Tux's lil' helper
Joined: 18 Jan 2004 Posts: 112
|
Posted: Fri Apr 02, 2004 6:18 pm Post subject: |
|
|
How do I
edit the build, and change the pkg_setup function to match:
pkg_setup() {
if [ ${ARCH} = "ppc" ] ; then
CXXFLAGS="-O2 -fsigned-char"
CFLAGS=${CXXFLAGS}
fi
LDFLAGS="-lgpm"
}
I am not sure how. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Fri Apr 02, 2004 6:33 pm Post subject: |
|
|
As root, open the file /usr/portage/app-text/aspell/aspell-0.50.3.ebuild in a text editor, such as vi, xemacs, gedit, etc. You'll find the section to be changed about halfway down the file. Just modify that section to match what what you copied and pasted from the Bugzilla posting. In this case, you are just adding the line "LDFLAGS="-lgpm" right before the closing bracket. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
daki n00b
Joined: 02 Apr 2004 Posts: 6
|
Posted: Fri Apr 02, 2004 6:48 pm Post subject: |
|
|
you could also downgrade your ncurses. That seemed to work for me. But when building aspell, you'll have to make sure you use --nodep for the build, or else it will grab the version of ncurses that didn't work. Here's is the bug link this information came from.
https://bugs.gentoo.org/show_bug.cgi?id=46399
Hope that helps. |
|
Back to top |
|
|
xblinkx Tux's lil' helper
Joined: 18 Jan 2004 Posts: 112
|
Posted: Fri Apr 02, 2004 6:55 pm Post subject: |
|
|
it worked, thank you for the help |
|
Back to top |
|
|
|