Skip to contentSkip to conversation

compiling fails

DISCUSSION Diederick de Vries 2 participants 3 messages May 1, 2006 – May 3, 2006

lore
Share & tools
lore
#0 lore raw

Hi everyone

I'm trying to compile cpufreq, but

./configure

fails after:

checking for sysfs/libsysfs.h... no
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** Failed to detect libsysfs header files and/or library ***
*********************************************************************
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** At least one of /sys support or /proc support MUST be enabled ***
*********************************************************************
configure: error: At least one of /sys support or /proc support MUST be enabled
configure: error: /bin/sh './configure' failed for libcpufreq

However, I have SYSFS and PROC_FS both enabled in my kernel (v2.6.16) and I have have sysfsutils installed in /usr/lib (header files are
in /usr/include/sysfs). Why can't the configure script find this?

Thanks for any help,
Diederick de Vries.

#1 lore raw
Quoted 21 lines · Diederick de Vries

Hi everyone

I'm trying to compile cpufreq, but

./configure

fails after:

checking for sysfs/libsysfs.h... no
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** Failed to detect libsysfs header files and/or library ***
*********************************************************************
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** At least one of /sys support or /proc support MUST be enabled ***
*********************************************************************
configure: error: At least one of /sys support or /proc support MUST be enabled
configure: error: /bin/sh './configure' failed for libcpufreq

Quoted 3 lines

However, I have SYSFS and PROC_FS both enabled in my kernel (v2.6.16) and I have have sysfsutils installed in /usr/lib (header files are
in /usr/include/sysfs). Why can't the configure script find this?

strange! do you really have /usr/include/sysfs/libsysfs.h ?

It won't probably help, but anyway you should try the latest version
(001) from:
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html

bye

Signature · 2 lines
mattia
:wq!
#2 lore raw

Op Monday 01 May 2006 23:15 schreef Mattia Dongili:

Quoted 11 lines · Diederick de Vries
Quoted 8 lines

configure: error: At least one of /sys support or /proc support MUST be enabled
configure: error: /bin/sh './configure' failed for libcpufreq

However, I have SYSFS and PROC_FS both enabled in my kernel (v2.6.16) and I have have sysfsutils installed in /usr/lib (header files are in /usr/include/sysfs). Why can't the configure script find this?

strange! do you really have /usr/include/sysfs/libsysfs.h ?

Yes. Really ;-)

Quoted 3 lines

It won't probably help, but anyway you should try the latest version
(001) from:
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html

Well, it compiled without errors. (but there no configure script anymore)

Thanks,
Diederick