Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo kernel compilation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Akaman
n00b
n00b


Joined: 03 Jan 2005
Posts: 3

PostPosted: Mon Jan 03, 2005 8:15 pm    Post subject: Gentoo kernel compilation problem Reply with quote

I followed the gentoo installation manual until chapter 5(or maybe 6) where it says I must use the command :
emerge gentoo-sources
or
emerge gentoo-vanilla
to install the source code. Well, I am trying to install gentoo with 2 CD livecd sets and I can't connect to internet while installing. Is there a way to copy the source code? So after that I'd be able to configure kernel manually or by genkernel command.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Mon Jan 03, 2005 8:19 pm    Post subject: Re: Gentoo kernel compilation problem Reply with quote

Akaman wrote:
I followed the gentoo installation manual until chapter 5(or maybe 6) where it says I must use the command :
emerge gentoo-sources
or
emerge gentoo-vanilla
to install the source code. Well, I am trying to install gentoo with 2 CD livecd sets and I can't connect to internet while installing. Is there a way to copy the source code? So after that I'd be able to configure kernel manually or by genkernel command.


why are you not able to connect to the internet?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Jan 03, 2005 8:20 pm    Post subject: Reply with quote

You have to copy the portage snapshot from the cd and also the files into distfiles to /usr/portage/distfiles, otherwise you won't be able to emerge a kernel. To emerge packages from the second cd you need to do this:
PKGDIR="/mnt/<your-cd-drive>" emerge --usepkg <packagename>
Back to top
View user's profile Send private message
Akaman
n00b
n00b


Joined: 03 Jan 2005
Posts: 3

PostPosted: Mon Jan 03, 2005 8:48 pm    Post subject: Reply with quote

6thpink wrote:
You have to copy the portage snapshot from the cd and also the files into distfiles to /usr/portage/distfiles, otherwise you won't be able to emerge a kernel. To emerge packages from the second cd you need to do this:
PKGDIR="/mnt/<your-cd-drive>" emerge --usepkg <packagename>


In my case, the name of the package will be : "gentoo-sources". right?
and exactly where should I change PKGDIR variable?
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Mon Jan 03, 2005 8:54 pm    Post subject: Reply with quote

You probably want gentoo-dev-sources, gentoo-sources is a 2.4 kernel.
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Mon Jan 03, 2005 11:26 pm    Post subject: Reply with quote

Are you following the instructions for a network-less install?

If so, you shoudl have unpacked your portage tarball, then copied all of /mnt/cdrom/distfiles to /usr/portage/distfiles. At that point, you can "emerge gentoo-sources" and it will already have the files it needs (so long as you didn't "emerge sync" along the way.
_________________
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Back to top
View user's profile Send private message
Akaman
n00b
n00b


Joined: 03 Jan 2005
Posts: 3

PostPosted: Wed Jan 05, 2005 6:33 am    Post subject: Reply with quote

Yes, I've done that and that's what really bothers me. Do I have a problem with my livecds? Should I install the source code from somewhere else?

In addition when I try to untar stage3 tarballs I get the following error message:
tar:Error Exit delayed from previous errors.
Does this have anything to do with that?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Jan 16, 2005 10:49 pm    Post subject: Reply with quote

Akaman wrote:
6thpink wrote:
You have to copy the portage snapshot from the cd and also the files into distfiles to /usr/portage/distfiles, otherwise you won't be able to emerge a kernel. To emerge packages from the second cd you need to do this:
PKGDIR="/mnt/<your-cd-drive>" emerge --usepkg <packagename>


In my case, the name of the package will be : "gentoo-sources". right?
and exactly where should I change PKGDIR variable?

You should point this var to the mount point of your cd drive, surely it must be /mnt/cdrom or something similar. The name of the kernel pack depends on wether you want a 2.4 or 2.6 one, as someone posted above. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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