LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-18-2005, 11:11 AM   #1
skip1
Member
 
Registered: Feb 2003
Location: uk
Distribution: Mandrake 9.1 (Bamboo)
Posts: 50

Rep: Reputation: 15
X11 Won't compile Gentoo-2.6.10


Ello.

I've installed Gentoo on my desktop and everything went pretty much swimmingly. I'm having trouble getting X installed though.

When I "emerge x11" everything goes fine for a while, then I get a bloody error-message and get thrown back to the prompt. The error is:

!!! ERROR: x11-base/xorg-x11-6.7.0-r1 failed.
!!! Function src_compile, Line 671, Exitcode 2.
!!! (no error message)


I've noticed something a little worrying a few lines above this message which read:

r200_tex.c:1001: internal compiler error: Segmentation fault.
Please submit a full bug report,
with the preprocessed source if appropriate.
The bug is not reproducible, so it is likely a hardware or OS problem.


Anyone have any idea what I should do from here?

SPECS:
AthlonXP 3000+
1024MB PC3200 RAM
ABIT S2G: NFORCE2 Chipset (Int Sound)
Radeon 9600XT 256MB

Last edited by skip1; 02-18-2005 at 11:14 AM.
 
Old 02-18-2005, 11:13 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Did you try to emerge again?
 
Old 02-18-2005, 11:24 AM   #3
skip1
Member
 
Registered: Feb 2003
Location: uk
Distribution: Mandrake 9.1 (Bamboo)
Posts: 50

Original Poster
Rep: Reputation: 15
yup i've done it several times. also tried "emerge kde" "emerge gnome" just to see if anything different happened.
 
Old 02-18-2005, 01:02 PM   #4
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
Don't quote me on this, but I think there are 2 possible reasons. Either your ram is failing (more likely), or gcc miscompiled when you bootstrapped. What stage installation did you do, and what are your CFLAGS. I remember reading somewhere that the first thing to go when ram fails is gcc because it build massive data structures and traverses them repeatedly, so when you get single bit errors, gcc seg faults.
 
Old 02-18-2005, 01:31 PM   #5
skip1
Member
 
Registered: Feb 2003
Location: uk
Distribution: Mandrake 9.1 (Bamboo)
Posts: 50

Original Poster
Rep: Reputation: 15
I REALLY hope its not my ram!!!!

I installed using a stage3, and manually compiled the kernel. My CFLAGS (and the rest of make.conf) are below:

CFLAGS="-march=athlon-xp -O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="gtk gtk2 kde gnome dvd cdr alsa"

Surely it can't be the ram though, because it emerges other large packages and compiles them with no problems at all. It has only happened so far when xorg-x11-6.7.0-r1 is being compiled.
 
Old 02-18-2005, 02:12 PM   #6
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
Well, it might not be your ram, but xorg is a massive program so it would show up there first. There may be another reason though. I'm gonna discount a bootstrapping error since you did stage 3. Maybe there is another reason I don't know about. It might also be worth while posting this is in the gentoo forums at www.gentoo.org. I don't know, maybe you could try re-emerging gcc. On a side note, you need the use flag 'qt' if you are going to build kde, since it depends on the qt widget set.

Last edited by Valhalla; 02-18-2005 at 02:15 PM.
 
Old 02-18-2005, 02:18 PM   #7
skip1
Member
 
Registered: Feb 2003
Location: uk
Distribution: Mandrake 9.1 (Bamboo)
Posts: 50

Original Poster
Rep: Reputation: 15
ok, i'll give it a shot.
Thanks for the 'qt' thing, didn't know that.
 
Old 02-19-2005, 01:23 PM   #8
skip1
Member
 
Registered: Feb 2003
Location: uk
Distribution: Mandrake 9.1 (Bamboo)
Posts: 50

Original Poster
Rep: Reputation: 15
Problem Solved!!

I managed to sort it out!! It was a RAM related problem, I had memory running at
200mhz (ddr) (Pc3200) and then lowered it to 166Mhz. This seemed
to solve the problem..ram was too fast. thanx for the help!

Last edited by skip1; 02-19-2005 at 07:45 PM.
 
Old 02-19-2005, 03:43 PM   #9
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
I'm glad your ram wasn't actually failing
 
Old 02-19-2005, 05:15 PM   #10
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
ok i didnt read all of the posts cuz im impatient but it looks like you are trying to emerge an old version of xorg. do an emerge sync furst to update portage and then try emerge xorg-x11. Sorry if someone already suggested that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo emege xorg-x11 error Alinuxnoob Linux - General 11 09-22-2005 03:36 PM
cant compile pmars 0.9.5 (x11 problem?) minibootsy Other *NIX 0 08-28-2005 10:17 PM
Gentoo: X11 crashes when closing or switching zangan128 Linux - General 3 01-07-2005 10:18 PM
Gentoo: X11 destroys standard terminals zangan128 Linux - Newbie 2 01-06-2005 08:21 PM
Gentoo X11 Problem R4z0r Linux - Newbie 2 06-22-2003 02:54 PM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration