Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X windows failed to emerge on IBM RS/6000.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pauly
n00b
n00b


Joined: 21 May 2007
Posts: 10
Location: Melbourne Australia

PostPosted: Mon May 21, 2007 3:29 am    Post subject: X windows failed to emerge on IBM RS/6000. Reply with quote

Hi all:)

I am new to gentoo. I have recently installed gentoo on an ibm rs/6000. (thanks!:)

I am having trouble emerging xorg-x11.

I have updated the portage tree a couple of times but the build still fails.
Seems to be some header memory.h that has problems.

Any ideas as to what to do / what this might be because of?

many thanks,
Paul.



!!! ERROR: x11-base/xorg-server-1.2.0-r3 failed.
and:
>>>
In file included from /usr/include/asm/memory.h:4,
from /usr/include/asm-ppc64/atomic.h:16,
from /usr/include/asm/atomic.h:8,
from /usr/include/asm-ppc64/processor.h:16,
from /usr/include/asm/processor.h:8,
from /usr/include/linux/prefetch.h:15,
from /usr/include/linux/list.h:5,
from /usr/include/linux/wait.h:21,
from /usr/include/linux/keyboard.h:20,
from xf86KbdLnx.c:168:
/usr/include/asm-ppc64/memory.h:26:34: macro "eieio" passed 1 arguments, but takes just 0
In file included from /usr/include/asm/memory.h:4,
from /usr/include/asm-ppc64/atomic.h:16,
from /usr/include/asm/atomic.h:8,
from /usr/include/asm-ppc64/processor.h:16,
from /usr/include/asm/processor.h:8,
from /usr/include/linux/prefetch.h:15,
from /usr/include/linux/list.h:5,
from /usr/include/linux/wait.h:21,
from /usr/include/linux/keyboard.h:20,
from xf86KbdLnx.c:168:
/usr/include/asm-ppc64/memory.h:27: error: syntax error before '{' token
>>>
_________________
"Computers are like air conditioners.
Both stop working, if you open windows."
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon May 21, 2007 7:50 am    Post subject: Reply with quote

Looks like a kernel headers problems of some kind. Can you post the output
of "emerge --info" please?
Oh and did you re-emerge glibc after linux-headers?
Back to top
View user's profile Send private message
pauly
n00b
n00b


Joined: 21 May 2007
Posts: 10
Location: Melbourne Australia

PostPosted: Tue May 22, 2007 1:43 am    Post subject: Reply with quote

Hi fb,

thanks for your help/reply:).


ok. i have to own up to not building a kernel:)).

this may have caused problems. I did build one on the first install but I mucked it up some how
and it wouldn't boot. So on this install I have just used a copy of the kernel off the cd.

And no i have not re emerged glibc.
Frankly i wasn't sure what to do to emerge X windows at all on PPC64. I think I just
came across xorg-x11 from searching the net. If there is doco on how to get X going
on the PPC can someone please point to it for me?

At this stage I will:
emerge --info and post it.
emerge glibc
and possibly build if not also install a kernel.
possibly emerge linux headers ? not sure how to do this.

the machine is at home, so I will get back to this thread later.

many thanks,
Paul.
_________________
"Computers are like air conditioners.
Both stop working, if you open windows."
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Tue May 22, 2007 1:53 am    Post subject: Reply with quote

OK, copying the kernel shouldn't be a source of trouble.
I would imagine kernel headers would be pulled by glibc
otherwise just "emerge linux-headers" will do. Recompile
glibc and possibly gcc and binutils, you sometime have
strange stuff cropping up in the toolchain that may give
that kind of things.
If it is a rs/6000 specific problem I won't be much help as I don't
actually have this kind of system. It looks like you have a ppc64
kernel - however on gentoo-ppc I think we are stuck with 32bit
for the userland (the kernel being fully 64bit) some other people
like rangerpb would know more about this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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