View previous topic :: View next topic |
Author |
Message |
JoshuaPurcell n00b
Joined: 25 May 2004 Posts: 5 Location: Dallas
|
Posted: Mon Aug 23, 2004 11:31 pm Post subject: Problems after emerge of gentoo-dev-sources Kernel |
|
|
I'm installing Gentoo using the LiveCD method with a network connection. I'm currently stuck at the step where I create a symbolic link to the kernel source.
I ran this command to install the kernel source:
#emerge gentoo-dev-sources
Then I looked for the symlink and this is what I'm getting:
#ls -l /usr/src/linux
total 0
Creating the symlink wouldn't be a big deal, but I'm not sure what to point it to. In the Gentoo Handbook (a few lines down from this link), it tells me to enter:
# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.4.26-gentoo-r6 linux
But this link isn't correct for the gentoo-dev-sources kernel... it should be linux-2.6.something. I've looked all through the files in my environment and I haven't yet found anything like what mysymlink should be pointing to. Did another step not complete correctly or am I missing something else? Let me know if this is not enough information to answer the question, and I'll provide whatever I can. Thanks for the help. |
|
Back to top |
|
|
dannycool Tux's lil' helper
Joined: 13 Aug 2004 Posts: 111 Location: Karlsruhe Germany
|
Posted: Mon Aug 23, 2004 11:49 pm Post subject: |
|
|
It should pointer to whatever directory your sources ended up in. With gentoo-dev-sources, probably something along the lines of
Code: | lrwxrwxrwx 1 root root 30 Aug 24 22:57 linux -> /usr/src/linux-2.6.8-gentoo-r1
|
|
|
Back to top |
|
|
GatoVolador Apprentice
Joined: 16 Jun 2004 Posts: 268 Location: California, USA
|
Posted: Mon Aug 23, 2004 11:53 pm Post subject: |
|
|
Hello,
If the emerge of gentoo-dev-sources went well then you should have a directory /usr/src/linux-2.6.8-gentoo-r1 (this is the latest, I believe. ) To find out if all went well do and you should see your kernel dir, something like: Code: | total 2
drwxr-xr-x 19 root root 1248 Aug 22 14:30 linux-2.6.8.1-nitro1
drwxr-xr-x 18 root root 664 Aug 17 19:07 linux-2.6.8-gentoo | (I'm currently trying out a couple of kernels, that's why there's two kernel directories.) If you don't see something like this then something went wrong in the emerge and you should probably try emerging gentoo-dev-sources again. Otherwise, note the name of the kernel dir and do Code: | cd /usr/src
ln -sf <insert your kernel dir here> linux | and all should be well.
Good luck,
Jay |
|
Back to top |
|
|
JoshuaPurcell n00b
Joined: 25 May 2004 Posts: 5 Location: Dallas
|
Posted: Tue Aug 24, 2004 12:04 am Post subject: |
|
|
jayb wrote: | Hello,
If the emerge of gentoo-dev-sources went well then you should have a directory /usr/src/linux-2.6.8-gentoo-r1 (this is the latest, I believe. ) To find out if all went well do and you should see your kernel dir, something like: Code: | total 2
drwxr-xr-x 19 root root 1248 Aug 22 14:30 linux-2.6.8.1-nitro1
drwxr-xr-x 18 root root 664 Aug 17 19:07 linux-2.6.8-gentoo | (I'm currently trying out a couple of kernels, that's why there's two kernel directories.) If you don't see something like this then something went wrong in the emerge and you should probably try emerging gentoo-dev-sources again. Otherwise, note the name of the kernel dir and do Code: | cd /usr/src
ln -sf <insert your kernel dir here> linux | and all should be well.
Good luck,
Jay |
That is what I was thought need to be done, but there must have been a problem with the emerge because the only thing in my /usr/src directory is a linux directory with nothing in it. Originally when I ran emerge gentoo-dev-sources I had unplugged my network connection so I could do other things on another computer, but turns out that it needed the network connection and came back with some errors. I then plugged the network cable back in and re-ran emerge gentoo-dev-sources and it ran successfully. After that is when I tried to create the symlink without success.
Since there isn't anythink like what you are showing needs to be in my /usr/src directory, I'll re-run the emerge gentoo-dev-sources again and see if that creates the needed files. Hope it works correctly this second time. _________________ Joshua Purcell |
|
Back to top |
|
|
JoshuaPurcell n00b
Joined: 25 May 2004 Posts: 5 Location: Dallas
|
Posted: Tue Aug 24, 2004 3:24 am Post subject: |
|
|
I re-ran the command:
Code: | #emerge gentoo-dev-sources
>>> emerge (1 of 32) dev-java/java-sdk-docs-1.4.1 to /
!!! j2sdk-1_4_1-doc.zip not found in /usr/portage/distfiles.
!!! dev-java/java-sdk-docs-1.4.1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.
* Please download j2sdk-1_4_1-doc.zip from (link to location) and move it to /usr/portage/distfiles |
Here's what my /usr/src directory looks like at the moment for some reason:
Code: | #ls -l /usr/src
total 4
drwxr-xr-x 2 root root 4096 Aug 23 17:12 linux
#ls -l /usr/src/linux
total 0 |
The only reason that linux directory is there is because I created it myself.
I'm under the impression that emerge gentoo-dev-sources would put some necessary files in the /usr/src directory, but I've ran that command four times now and it isn't working out that way. Any ideas are welcome. _________________ Joshua Purcell |
|
Back to top |
|
|
hjnenc Veteran
Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Tue Aug 24, 2004 7:58 am Post subject: |
|
|
Your emerge command tries to install 32 packages!
Could you please post the result of
Code: | emerge -pv gentoo-dev-sources |
and |
|
Back to top |
|
|
JoshuaPurcell n00b
Joined: 25 May 2004 Posts: 5 Location: Dallas
|
Posted: Tue Aug 24, 2004 11:47 am Post subject: |
|
|
hjnenc wrote: | Your emerge command tries to install 32 packages!
Could you please post the result of
Code: | emerge -pv gentoo-dev-sources |
and |
I'll get this posted sometime this evening. I also wanted to add that my command lines currently look like this:
Meaning that I'm in the livecd environment I take it? Just so all the info is posted... I'll be back later tonight. _________________ Joshua Purcell |
|
Back to top |
|
|
dannycool Tux's lil' helper
Joined: 13 Aug 2004 Posts: 111 Location: Karlsruhe Germany
|
Posted: Tue Aug 24, 2004 8:14 pm Post subject: |
|
|
You didn't forget about emerging system at some point, did you? |
|
Back to top |
|
|
Byzmuth n00b
Joined: 08 Jul 2004 Posts: 17 Location: Quebec
|
Posted: Tue Aug 24, 2004 8:36 pm Post subject: |
|
|
Quote: |
#emerge gentoo-dev-sources
>>> emerge (1 of 32) dev-java/java-sdk-docs-1.4.1 to /
!!! j2sdk-1_4_1-doc.zip not found in /usr/portage/distfiles.
!!! dev-java/java-sdk-docs-1.4.1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.
* Please download j2sdk-1_4_1-doc.zip from (link to location) and move it to /usr/portage/distfiles
|
looks like your emerge of the sources failed because you need to download java manually to your /usr/portage/distfiles in order to emerge it
So download it then rerun your emerge command _________________ only an opinion |
|
Back to top |
|
|
JoshuaPurcell n00b
Joined: 25 May 2004 Posts: 5 Location: Dallas
|
Posted: Thu Aug 26, 2004 11:16 pm Post subject: |
|
|
Ok I see... I didn't know that I had to take care of this problem before it completed the rest of the process. Thanks for your help. _________________ Joshua Purcell |
|
Back to top |
|
|
|