Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on iBook G4
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
blazeleven
n00b
n00b


Joined: 21 Jul 2004
Posts: 5

PostPosted: Wed Jul 21, 2004 7:07 pm    Post subject: Gentoo on iBook G4 Reply with quote

I have been cruising through the first part of the install untill i got to setting up the kernel. Before you do the make menuconfig you're supposed to cd to /usr/src/linux but it tells me there is no such directory. When i do ls -l on that directory it's there. But since it won't let me cd to that directory i can't do make menuconfig. It says ***No rule to make target 'menuconfig'. Stop. And that's where I'm stuck. Any help would be much appreciated. The iBook is an 800mhz G4 with 256mb ram and the radeon 9200 graphics card.
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Wed Jul 21, 2004 8:10 pm    Post subject: Reply with quote

as a note beforehand, because /usr/src/linux is a link, it could be there, but the file it points to could not, and that could be a reason it says file not found.....

firrst thing, is there a /usr/src/ppc-dev-sources or linux-2.6.x or whatever, or is the /usr/src directory empty?

is it that the link is broken, or that you dont have a kernel source?


if its the only thing in the directory, then you need to grab a kernel source ( i think its now just gentoo-dev-sources, bens ppc tree has been merged)

with a command like "emerge gentoo-dev-sources"

that will install the required files into /usr/src


if you have the kernel source folder, then just make the link with "rm /usr/src/linux && ln -s /usr/src/linux-2.6.x /usr/src/linux" and of course replace "linux-2.6.x" with whatever kernel source you have.....


after you have done that, an "ls /usr/src" should give you a link
"linux" that points to the other folder in the dir.....

then "cd /usr/src/linux" and "make menuconfig"....


killfire


Last edited by killfire on Wed Jul 21, 2004 8:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Wed Jul 21, 2004 8:14 pm    Post subject: Reply with quote

Hi,
where did you made the ls -l?
Under /usr/src/?
Please post the output.
linux should be a link to linux-2.6.7-gentoo-r11 or something like this. Did you do a emerge "kernel-you-want-to-install"?
Notice that ppc-dev-sources are no longer there, it's just a dummy ebuild since benh has merged his kernel with linus'...
emerge gentoo-dev-sources instead
Back to top
View user's profile Send private message
blazeleven
n00b
n00b


Joined: 21 Jul 2004
Posts: 5

PostPosted: Thu Jul 22, 2004 1:15 am    Post subject: Reply with quote

Code:
ls -l /usr/src
total 0
      lrwxr-xr-x    1 root     root    11 Apr 21 18:08 linux -> linux-2.6.1

I did do an emerge. I did emerge gentoo-dev-sources. It won't let me cd to /usr/src/linux. Is this why I can't do make menuconfig?
Back to top
View user's profile Send private message
blazeleven
n00b
n00b


Joined: 21 Jul 2004
Posts: 5

PostPosted: Thu Jul 22, 2004 1:42 am    Post subject: Reply with quote

I'm doing a stage 3 install if that makes any difference
Back to top
View user's profile Send private message
chcl3
n00b
n00b


Joined: 23 May 2004
Posts: 46
Location: /Europe/France/Marseille/home

PostPosted: Thu Jul 22, 2004 2:54 am    Post subject: Reply with quote

Strange, you should have a linux-2.6.7-gentoo-r11 directory. emerge -pv gentoo-dev-sources and if you have [ebuild N ] ...,
Code:
emerge gentoo-dev-sources && ln -sf /usr/src/linux-2.6.7-gentoo-r11 /usr/src/linux
if not i don't know. But anyway u can't cd to linux -> linux-2.6.1 : it do not exist.
Back to top
View user's profile Send private message
blazeleven
n00b
n00b


Joined: 21 Jul 2004
Posts: 5

PostPosted: Thu Jul 22, 2004 3:16 am    Post subject: Reply with quote

When i do that the last few lines say
Code:
Resolving www.oberhumer.com... failed: Temporary failure in name resolution.
!!! Couldn't download ucl-1.01.tar.gz. Aborting.

Shouldn't I have everything I need on the cd? I'm going for the stage 3 networkless install.
Back to top
View user's profile Send private message
woolsherpahat
Guru
Guru


Joined: 09 Mar 2004
Posts: 347

PostPosted: Thu Jul 22, 2004 5:17 am    Post subject: Reply with quote

If you cd into /usr/src/linux-2.6.7-blah-blah are all the kernel files there?
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Thu Jul 22, 2004 9:29 am    Post subject: Reply with quote

10k1 wrote:
If you cd into /usr/src/linux-2.6.7-blah-blah are all the kernel files there?

/usr/src/linux-2.6.7-blah-blah is not there!
There is just the (0 bit) link to the non existing directory...

blazeleven wrote:
Shouldn't I have everything I need on the cd? I'm going for the stage 3 networkless install.

You only have a (old) snapshot on the cd...
I assume that you have made an "emerge sync"? Thats why portage is trying to install a newer version of a package which is not on the cd.
To solve this delete /usr/portage/* and unpack the portage tree again. This should solve your problem.
Another possibility is that you have not copied all distfiles from your cd to /usr/portage/distfiles
Post the output of
Code:
emerge -vp gentoo-dev-sources
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Thu Jul 22, 2004 3:55 pm    Post subject: Reply with quote

i dont think you should need ucl....

all you need (i think, after an emerge system) is module-init-tools and he actual kernel source...

which are both in /mnt/cdrom/distfiles....


so emerge module-init-tools, and then take the kernel source, and unpack it into /usr/src...with something like:
tar -xvjf /mnt/cdrom/distfiles/linux-2.6.1.tar.bz2


then emerge inject development-soources (so portage knows it exists)
.... and you should be set...

just make the link (we explained earlier i think) and the
cd /usr/src/linux
...... or even
cd /usr/src/linux-2.6.1
.... it makes no difference..


and tell us how it goes!

killfire
Back to top
View user's profile Send private message
blazeleven
n00b
n00b


Joined: 21 Jul 2004
Posts: 5

PostPosted: Thu Jul 22, 2004 10:03 pm    Post subject: Reply with quote

I'll give that a shot. I'm at work now so it will have to wait unfortunately. Thanks for all of your help everyone. It's much appreciated.
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