View previous topic :: View next topic |
Author |
Message |
pressenter n00b
Joined: 06 Dec 2005 Posts: 48
|
Posted: Tue Dec 06, 2005 9:11 am Post subject: Problem z kernel |
|
|
Szukam, szukam i rozwiazania nie moge znalezc Przy instalacji co wazniejszych driverow jak np. alsa-driver pojawia mi sie taki blad:
Code: |
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
!!! ERROR: media-libs/svgalib-1.9.23 failed.
!!! Function linux-info_pkg_setup, Line 526, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
|
Co z tym zrobic?? Znalazlem Makefile, ale znajduje sie ono w /usr/src/linux/linux-2.6.14-gentoo-r4/kernel.
Prosze o pomoc. |
|
Back to top |
|
|
damjanek Apprentice
Joined: 21 Jun 2004 Posts: 259 Location: Poland, Poznań
|
Posted: Tue Dec 06, 2005 9:15 am Post subject: |
|
|
nie wyszedł ci za bardzo symlink.
Code: | cd /usr/src/ && rm linux && ln -s linux-2.6.14-gentoo-r4 linux | powinno rozwiązać sprawę. _________________ $ uname -rms
Darwin 10.0.0 i386
Welcome to Darwin!
#gentoo-pl@freenode and #gentoo.pl@ircnet team |
|
Back to top |
|
|
pressenter n00b
Joined: 06 Dec 2005 Posts: 48
|
Posted: Tue Dec 06, 2005 9:30 am Post subject: |
|
|
Teraz mam takie cos:
Code: |
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.14-gentoo-r4
* getfilevar requires 2 variables, with the second a valid file.
* getfilevar <VARIABLE> <CONFIGFILE>
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
!!! ERROR: media-libs/svgalib-1.9.23 failed.
!!! Function linux-info_pkg_setup, Line 526, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
Exil Apprentice
Joined: 10 Oct 2005 Posts: 251 Location: Nibylandia
|
Posted: Tue Dec 06, 2005 10:53 am Post subject: |
|
|
woła o .config kernela. Jeśli przy instalacji kopiowałes go do boot to
Code: | cp /boot/config-2.6.14-gentoo-r4 /usr/src/linux/.config |
|
|
Back to top |
|
|
pressenter n00b
Joined: 06 Dec 2005 Posts: 48
|
Posted: Thu Dec 08, 2005 1:49 pm Post subject: |
|
|
Niestety musialem przeinstalowac, ale znow cos jest nie tak, chyba po instalacji padl mi prad i pojawia mi sie taki blad:
Code: |
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
/usr/lib/portage/bin/emake: line 14: make: command not found
!!! ERROR: sys-devel/patch-2.5.9-r1 failed.
!!! Function src_compile, Line 35, Exitcode 127
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
|
Co mozna z tym zrobic ?? Ponowne instalowanie na prawde mi sie nie usmiecha :/ |
|
Back to top |
|
|
Xax Guru
Joined: 24 Jul 2003 Posts: 417 Location: Poland, Gliwice, Trynek
|
Posted: Thu Dec 08, 2005 4:27 pm Post subject: |
|
|
Code: | xax@xax ~ $ equery b emake
[ Searching for file(s) emake in *... ]
sys-apps/portage-2.0.53 (/usr/lib/portage/bin/emake) |
Byc moze emerge portage rozwiaze problem o ile nie bedzie wymagac emake
[EDIT]
Chyba ze boli go make
Code: | equery b make
[ Searching for file(s) make in *... ]
sys-devel/make-3.80-r3 (/usr/bin/make -> gmake) |
|
|
Back to top |
|
|
|