Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z kernel
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
pressenter
n00b
n00b


Joined: 06 Dec 2005
Posts: 48

PostPosted: Tue Dec 06, 2005 9:11 am    Post subject: Problem z kernel Reply with quote

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
View user's profile Send private message
damjanek
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 259
Location: Poland, Poznań

PostPosted: Tue Dec 06, 2005 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
pressenter
n00b
n00b


Joined: 06 Dec 2005
Posts: 48

PostPosted: Tue Dec 06, 2005 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Tue Dec 06, 2005 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message
pressenter
n00b
n00b


Joined: 06 Dec 2005
Posts: 48

PostPosted: Thu Dec 08, 2005 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Xax
Guru
Guru


Joined: 24 Jul 2003
Posts: 417
Location: Poland, Gliwice, Trynek

PostPosted: Thu Dec 08, 2005 4:27 pm    Post subject: Reply with quote

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 :wink:

[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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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