View previous topic :: View next topic |
Author |
Message |
jcmuse Tux's lil' helper
Joined: 16 Jan 2006 Posts: 86
|
Posted: Sun Apr 09, 2006 12:05 am Post subject: no .config file [SOLVED!!!111ELEVEN] |
|
|
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sun Apr 09, 2006 12:12 am Post subject: |
|
|
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 |
|
|
jcmuse Tux's lil' helper
Joined: 16 Jan 2006 Posts: 86
|
Posted: Sun Apr 09, 2006 12:18 am Post subject: |
|
|
thanks for the quick reply. I searched boot as well as / but didn't find anything =/ |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sun Apr 09, 2006 12:26 am Post subject: |
|
|
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 |
|
|
jcmuse Tux's lil' helper
Joined: 16 Jan 2006 Posts: 86
|
Posted: Sun Apr 09, 2006 12:59 am Post subject: |
|
|
brilliant!
thx man that worked...
zcat /proc/config.gz > /usr/src/linux/.config
make oldconfig
make
SOLVED! |
|
Back to top |
|
|
|