View previous topic :: View next topic |
Author |
Message |
JuhazOne n00b
Joined: 21 Mar 2003 Posts: 33 Location: Finland, Vantaa
|
Posted: Fri Mar 21, 2003 8:53 pm Post subject: Gnome/KDE won't install, gtk+ error |
|
|
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 |
|
|
JuhazOne n00b
Joined: 21 Mar 2003 Posts: 33 Location: Finland, Vantaa
|
Posted: Fri Mar 21, 2003 10:46 pm Post subject: Doing research |
|
|
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 |
|
|
JuhazOne n00b
Joined: 21 Mar 2003 Posts: 33 Location: Finland, Vantaa
|
Posted: Fri Mar 21, 2003 11:08 pm Post subject: Masking didn't help |
|
|
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 |
|
|
goosnargh n00b
Joined: 16 Jun 2002 Posts: 32
|
Posted: Sat Mar 22, 2003 1:35 am Post subject: |
|
|
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 |
|
|
JuhazOne n00b
Joined: 21 Mar 2003 Posts: 33 Location: Finland, Vantaa
|
Posted: Sat Mar 22, 2003 10:14 am Post subject: Worked! |
|
|
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 |
|
|
|