Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no .config file [SOLVED!!!111ELEVEN]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jcmuse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2006
Posts: 86

PostPosted: Sun Apr 09, 2006 12:05 am    Post subject: no .config file [SOLVED!!!111ELEVEN] Reply with quote

whenever i try to emerge it gives me an error saying:
Code:
 Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * 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.


i didnt use make to make my config, i used the gentoo livecd installer. there is no .config.


Last edited by jcmuse on Sun Apr 09, 2006 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Apr 09, 2006 12:12 am    Post subject: Reply with quote

See if the installer copied a config file to your boot partition. Look for a file with 'config' in its name. If you find it, copy that file to /usr/src/linux/.config and then do a 'make oldconfig' (just accept the defaults if prompted), and then 'make'. You don't have to install anything, but a lot of ebuilds will look for a configured and compiled kernel tree.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
jcmuse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2006
Posts: 86

PostPosted: Sun Apr 09, 2006 12:18 am    Post subject: Reply with quote

thanks for the quick reply. I searched boot as well as / but didn't find anything =/
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Apr 09, 2006 12:26 am    Post subject: Reply with quote

See if there is a config.gz entry in /proc. If so then "zcat /proc/config.gz > /usr/src/linux/.config". Then follow the steps in my previous post.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
jcmuse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2006
Posts: 86

PostPosted: Sun Apr 09, 2006 12:59 am    Post subject: Reply with quote

brilliant!

thx man that worked...
zcat /proc/config.gz > /usr/src/linux/.config
make oldconfig
make

SOLVED!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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