Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: sys-apps/hal-0.4.7-r2 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
cyberfoxz
n00b
n00b


Joined: 02 Dec 2004
Posts: 5
Location: The Netherlands

PostPosted: Fri Jul 29, 2005 12:31 pm    Post subject: ERROR: sys-apps/hal-0.4.7-r2 failed Reply with quote

When i tried for the first time to get Gnome installed i get the following error:

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


This baffles me, since i juste recently reinstalled Gentoo after a HD crash. I am a n00b in all things linux and i can't seem to find an answer on the forums.
The total output of my shell:

Code:
>>> emerge (1 of 142) sys-apps/hal-0.4.7-r2 to /
>>> md5 files   ;-) hal-0.4.7-r2.ebuild
>>> md5 files   ;-) hal-0.4.8.ebuild
>>> md5 files   ;-) hal-0.4.5-r2.ebuild
>>> md5 files   ;-) files/hald
>>> md5 files   ;-) files/hal-0.4.7-dont_add_device_twice-r1.patch
>>> md5 files   ;-) files/hal-0.4.5-vat_ntfs_labels.patch
>>> md5 files   ;-) files/hal-0.4.7-device_info_leak.patch
>>> md5 files   ;-) files/digest-hal-0.4.5-r2
>>> md5 files   ;-) files/digest-hal-0.4.7-r2
>>> md5 files   ;-) files/hal-0.4.7-vfat_mount_utf8.patch
>>> md5 files   ;-) files/digest-hal-0.4.8
>>> md5 files   ;-) files/hal-0.4.8-fix_dvdram.patch
>>> md5 files   ;-) files/hal-0.4.5-gentoo_gphoto2_usermap.patch
>>> md5 files   ;-) files/hal-0.4.5-net_lockup.patch
>>> md5 files   ;-) files/hal-0.4.7-sys_floppy_detection.patch
>>> md5 files   ;-) files/hal-0.4.1-old_storage_policy.patch
>>> md5 src_uri ;-) hal-0.4.7.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12-gentoo-r6

 * 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.
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux-2.6.12-gentoo-r6
 * Found kernel object directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12-gentoo-r6

 * 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-2.6.12-gentoo-r6 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: sys-apps/hal-0.4.7-r2 failed.
!!! Function pkg_setup, Line 45, Exitcode 0
!!! You need to run a 2.6.10 or newer kernel to build & use this pack
!!! If you need support, post the topmost build error, NOT this status message.


Anybody who knows what's wrong?
_________________
Every time you masturbate, God kills a kitten!
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Fri Jul 29, 2005 1:41 pm    Post subject: Re: ERROR: sys-apps/hal-0.4.7-r2 failed Reply with quote

cyberfoxz wrote:
When i tried for the first time to get Gnome installed i get the following error:

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


This baffles me, since i juste recently reinstalled Gentoo after a HD crash. I am a n00b in all things linux and i can't seem to find an answer on the forums.
The total output of my shell:


You haven't configured your kernel sources yet. Copy your .config to /usr/src/linux and do a
Code:
make oldconfig && make


The make may not be required, I think that there's a make modules_prepare or similar target that could work as well, but I know that make will do it all.

Erik
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
cyberfoxz
n00b
n00b


Joined: 02 Dec 2004
Posts: 5
Location: The Netherlands

PostPosted: Fri Jul 29, 2005 3:14 pm    Post subject: Reply with quote

Thanx, I copied the backup config from my /boot to /usr/src/linux/.config

This seems to have done the trick. What i do not understand is how i have a working system, but the .config was not in the right directory? Or is it not neccesary for the .config to be saved in /usr/src/linux?
_________________
Every time you masturbate, God kills a kitten!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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