Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging gnome error
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
xblinkx
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 112

PostPosted: Fri Apr 02, 2004 5:51 pm    Post subject: emerging gnome error Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Fri Apr 02, 2004 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
xblinkx
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 112

PostPosted: Fri Apr 02, 2004 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
xblinkx
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 112

PostPosted: Fri Apr 02, 2004 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Fri Apr 02, 2004 6:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
daki
n00b
n00b


Joined: 02 Apr 2004
Posts: 6

PostPosted: Fri Apr 02, 2004 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
xblinkx
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 112

PostPosted: Fri Apr 02, 2004 6:55 pm    Post subject: Reply with quote

it worked, thank you for the help
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