View previous topic :: View next topic |
Author |
Message |
MemphisRaines187 n00b

Joined: 04 Jan 2005 Posts: 13
|
Posted: Tue Jan 18, 2005 6:22 pm Post subject: [Lien symbolique] Source Kernel [ Resolu ] |
|
|
Code: | bash-2.05b# emerge --update --deep world
Calculating world dependencies ...done!
>>> emerge (1 of 14) media-video/nvidia-kernel-1.0.6629-r1 to /
x86
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6629-pkg1.run
x86
* Determining the location of the kernel source code
* Unable to find kernel sources at /usr/src/linux
* This package requires Linux sources.
* Please make sure that /usr/src/linux points at your running kernel,
* (or the kernel you wish to build against).
* Alternatively, set the KERNEL_DIR environment variable to the kernel sourceslocation
!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function get_version, Line 279, Exitcode 0
!!! Cannot locate Linux sources at /usr/src/linux
!!! If you need support, post the topmost build error, NOT this status message. |
Voila le probleme mais je comprend pas pk vu que ce n est pas un repertoire apparement ... je trouve pas comment faire pour que /usr/src/linux pointe vers /usr/src/linux-2.6-10-....
Code: | bash-2.05b# ls /usr/src/
linux linux-2.6.10-gentoo-r4 linux-2.6.10-gentoo-r5
|
Last edited by MemphisRaines187 on Tue Jan 18, 2005 6:30 pm; edited 1 time in total |
|
Back to top |
|
 |
Polo l33t


Joined: 27 Jan 2004 Posts: 649 Location: Angers, France
|
Posted: Tue Jan 18, 2005 6:26 pm Post subject: |
|
|
Code: | rm /usr/src/linux
ln -sf /usr/src/linux-2.6.10-gentoo-r5 /usr/src/linux |
[EDIT]our vérifier que ca a marché: |
|
Back to top |
|
 |
MemphisRaines187 n00b

Joined: 04 Jan 2005 Posts: 13
|
Posted: Tue Jan 18, 2005 6:31 pm Post subject: |
|
|
Merci beaucoup je viens d apprendre comment faire un lien symbolique :p |
|
Back to top |
|
 |
Polo l33t


Joined: 27 Jan 2004 Posts: 649 Location: Angers, France
|
Posted: Tue Jan 18, 2005 6:32 pm Post subject: |
|
|
si tu veux en savoir plus sur les liens symboliques: Code: | ln --help
ou
man ln |
|
|
Back to top |
|
 |
|