Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors in emerge --emptytree system (solved)
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
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Thu Jun 16, 2005 4:37 pm    Post subject: Errors in emerge --emptytree system (solved) Reply with quote

I just got an error at the alsa-driver package, which basically said

Code:
 Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.11-gentoo-r9

* 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.


So as I found in another thread, I went to my /usr/src/linux directory and ran "make menuconfig" then saved it, then tried resuming the emerge.
Now I get this error:

Code:
Found sources for kernel version:
          2.6.11-gentoo-r11
Checking for suitable kernel configuration options
   ALSA is already complied into the kernel.
Please check to make sure these options are set correctly.
Once you have satisified these options, please try merging this package again.


Also a general question....why does it already download the kernel source, which I'm going to emerge it in the next step (of the install guide)?

Thanks


Last edited by link1305 on Thu Jun 16, 2005 5:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Thu Jun 16, 2005 4:42 pm    Post subject: Reply with quote

Update: Well it seems to be working now. I did make menuconfig again, then in the sound portion of the kernel config I took the star away from ALSA. After that it told me to run "make oldconfig" and "make modules_prepare" which I did, now it works.

My question still stands though.....why is the system even looking at the kernel before it's been configured properly?
Back to top
View user's profile Send private message
fimblo
Guru
Guru


Joined: 19 Feb 2003
Posts: 306
Location: European Union, Stockholm

PostPosted: Sat Jul 02, 2005 12:22 pm    Post subject: Reply with quote

Same problem, but I cant solve it like you did. I tried:
Code:
make menuconfig (then save and exit with no modifications)
make oldconfig
make modules_prepare
emerge --resume


I resume because Im emerging --emptytree system. The error I get is:
Code:
livecd linux # emerge --resume
*** Resuming merge...
>>> emerge (1 of 80) media-sound/alsa-driver-1.0.8 to /
>>> md5 files   ;-) alsa-driver-1.0.9b.ebuild
>>> md5 files   ;-) alsa-driver-1.0.9_rc3.ebuild
>>> md5 files   ;-) alsa-driver-1.0.9a.ebuild
>>> md5 files   ;-) alsa-driver-1.0.8.ebuild
>>> md5 files   ;-) alsa-driver-1.0.3.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/xbox-1.0.8.patch
>>> md5 files   ;-) files/digest-alsa-driver-1.0.9a
>>> md5 files   ;-) files/digest-alsa-driver-1.0.9b
>>> md5 files   ;-) files/makefile.patch
>>> md5 files   ;-) files/digest-alsa-driver-1.0.9_rc3
>>> md5 files   ;-) files/digest-alsa-driver-1.0.3
>>> md5 files   ;-) files/digest-alsa-driver-1.0.8
>>> md5 files   ;-) files/alsa-driver-0.9.8-au-fix.patch
>>> md5 files   ;-) files/1.0.8-msi_audigyls.patch
>>> md5 src_uri ;-) alsa-driver-1.0.8.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r11
 * Checking for suitable kernel configuration options
 *   ALSA is already compiled into the kernel.
 * Please check to make sure these options are set correctly.
 * Once you have satisfied these options, please try merging
 * this package again.

!!! ERROR: media-sound/alsa-driver-1.0.8 failed.
!!! Function check_extra_config, Line 430, Exitcode 0
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, NOT this status message.


Help!
_________________
http://blahonga.yanson.org - little geekblog
http://blahona.yanson.org/howtos/livecd - yet another livecd howto
Back to top
View user's profile Send private message
fimblo
Guru
Guru


Joined: 19 Feb 2003
Posts: 306
Location: European Union, Stockholm

PostPosted: Sat Jul 02, 2005 12:28 pm    Post subject: Reply with quote

Hmm. I realized that I dont need alsa-driver... Im using a 2.6 kernel alsa drivers built in. So I removed alsa from my USE flags and did a --skipfirst.


/fimblo
_________________
http://blahonga.yanson.org - little geekblog
http://blahona.yanson.org/howtos/livecd - yet another livecd howto
Back to top
View user's profile Send private message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Tue Jul 05, 2005 7:01 am    Post subject: Reply with quote

Seems like emerging the kernel cleans out the .config file. If you have .config support built into your kernel:
Code:

zcat /proc/config.gz > /usr/src/linux/.config
make && make modules_install
emerge --resume


HTH
Back to top
View user's profile Send private message
jgombos
n00b
n00b


Joined: 27 Jul 2004
Posts: 64

PostPosted: Tue Aug 09, 2005 2:07 am    Post subject: emerge system fails on ALSA Reply with quote

I ran into the same problem with ALSA. Thanks for paving the way link1305.

Will the command emerge --emptytree system pick up where it left off after I rebuild the kernel?

update: To answer my own question, the thread: https://forums.gentoo.org/viewtopic-p-2646385.html#2646385 points out that a resume option is needed.
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