Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome/KDE won't install, gtk+ 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
JuhazOne
n00b
n00b


Joined: 21 Mar 2003
Posts: 33
Location: Finland, Vantaa

PostPosted: Fri Mar 21, 2003 8:53 pm    Post subject: Gnome/KDE won't install, gtk+ error Reply with quote

Hi!

I installed Gentoo on my machine this week from the stage 1 tarball, but I can't emerge Gnome, KDE or any other app that uses x11-libs/gtk+-1.2.10-r10. I already fixed some minor bugs in the install scripts but this one beyond my abilities. I'm not new to Linux but I am to Gentoo.

Here's the error message:
-----------
Quote:
make[2]: *** [testinput] Error 1
make[2]: *** Waiting for unfinished jobs....
./.libs/libgtk.so: undefined reference to `_Xsetlocale'
collect2: ld returned 1 exit status
make[2]: *** [testgtk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
+ diefunc src_compile 59 2
+ local funcname=src_compile lineno=59 exitcode=2
+ shift 3
+ echo

+ echo '!!! ERROR: x11-libs/gtk+-1.2.10-r10 failed.'
+ echo '!!! Function src_compile, Line 59, Exitcode 2'
+ echo '!!! (no error message)'
+ echo

+ exit 1

-----------

The line 59 in the install script reads "emake || die". It is the last line of the function src_compile. It seems that the emake command fails for some reason.

What can I do to fix this?
Back to top
View user's profile Send private message
JuhazOne
n00b
n00b


Joined: 21 Mar 2003
Posts: 33
Location: Finland, Vantaa

PostPosted: Fri Mar 21, 2003 10:46 pm    Post subject: Doing research Reply with quote

There is a bug report on the same file gtk+-1.2.10-r10 at https://bugs.gentoo.org/show_bug.cgi?id=17333 . I guess I may not be the only one with the same problem.

Anyway, I'll try masking the problematic file and then try to compile Gnome and KDE. It'll take some time.
Back to top
View user's profile Send private message
JuhazOne
n00b
n00b


Joined: 21 Mar 2003
Posts: 33
Location: Finland, Vantaa

PostPosted: Fri Mar 21, 2003 11:08 pm    Post subject: Masking didn't help Reply with quote

Nope, masking didn't help, I got the same problem with r9 and r8 versions of the same file.

Now I'm out of ideas. Feel free to post if you have any.
Back to top
View user's profile Send private message
goosnargh
n00b
n00b


Joined: 16 Jun 2002
Posts: 32

PostPosted: Sat Mar 22, 2003 1:35 am    Post subject: Reply with quote

check if export LC_ALL="en_US" solves your problems. My locale was set to tr today instead of tr_TR and I had the same problem until I figured that out.
Back to top
View user's profile Send private message
JuhazOne
n00b
n00b


Joined: 21 Mar 2003
Posts: 33
Location: Finland, Vantaa

PostPosted: Sat Mar 22, 2003 10:14 am    Post subject: Worked! Reply with quote

Thanks, it helped! I was able to compile gtk+ so I guess Gnome and KDE will work now, too.

My lc_all was not set, but lc_ctype was set to fi_fi and every other locale to posix. I changed lc_ctype back to posix and set lc to "en_US" as you said, then it gave no errors.

Odd behaviour. I wonder if I should post a bug report on this or something.

Again, thanks. :)
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