In order to compile some cpu throttling plugin for gkrellm, i need this file.
It used to be available until opensuse 11.3 .
Now it is suddenly unavailable.
Anyone knows where i can find it ?
zypper in kernel-devel
You can install this library(because it is a library written in C)
su
If you have 32 bit system
# zypper install cpufrequtils-008-19.1.i586.rpm
or if you have 64 bit system
# zypper install cpufrequtils-bench-006-4.1.x86_64.rpm
These rpm packages include the cpufreq.h library inside them.
These rpm packages include the cpufreq.h library inside them.
I don’t think so:
kalle@hoppers:~> zypper se -si cpufrequtils
Daten des Repositorys laden ...
Installierte Pakete lesen ...
S | Name | Typ | Version | Arch | Repository
--+--------------+-------+---------+------+-----------
i | cpufrequtils | Paket | 008-5.1 | i586 | Oss
kalle@hoppers:~> locate cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/default/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/default/include/config/x86/pcc/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/desktop/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/pae/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/pae/include/config/x86/pcc/cpufreq.h
/usr/src/linux-2.6.37.1-1.2/arch/arm/mach-davinci/include/mach/cpufreq.h
/usr/src/linux-2.6.37.1-1.2/arch/powerpc/platforms/cell/cbe_cpufreq.h
/usr/src/linux-2.6.37.1-1.2/include/linux/cpufreq.h
I thing that I found it
kalle@hoppers:~> zypper se -si cpufrequtils
Daten des Repositorys laden ...
Installierte Pakete lesen ...
S | Name | Typ | Version | Arch | Repository
--+--------------+-------+---------+------+-----------
i | cpufrequtils | Paket | 008-5.1 | i586 | Oss
kalle@hoppers:~> locate cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/default/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/default/include/config/x86/pcc/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/desktop/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/pae/include/config/x86/acpi/cpufreq.h
/usr/src/linux-2.6.37.1-1.2-obj/i386/pae/include/config/x86/pcc/cpufreq.h
/usr/src/linux-2.6.37.1-1.2/arch/arm/mach-davinci/include/mach/cpufreq.h
/usr/src/linux-2.6.37.1-1.2/arch/powerpc/platforms/cell/cbe_cpufreq.h
/usr/src/linux-2.6.37.1-1.2/include/linux/cpufreq.h
# rpm -qf /usr/src/linux-2.6.37.1-1.2/include/linux/cpufreq.h
**kernel-devel**-2.6.37.1-1.2.2.noarch
The same thing.
Meaning ‘cpufreq.h’ is not part of the cpufreq-utils-package.
Ahhh. that you mean.
Our threader wants cpufreq.h this package exist. It is written in C.
Well, kernel-devel is already installed, so that’s not what i need.
Shall i copy directly the linked file to /usr/src/linux/include/linux/cpufreq.h ?
Somewhere else ?
I think that would not be a good idea.
Hi
@OP, you need to raise a bug for this and ask the packagers to include it back in…
https://build.opensuse.org/package/view_file?file=cpufrequtils.spec&package=cpufrequtils&project=openSUSE%3A11.4&srcmd5=5e9d7ab6550c1fa6d5d37a05fef78d12
# Nobody uses these, remove them. If somebody needs them, we could
# create a devel subpackage
rm $RPM_BUILD_ROOT/usr/include/cpufreq.h
rm $RPM_BUILD_ROOT/%{_libdir}/libcpufreq.so
stamostolias > Actually, there is a cpufreq.h in /usr/src/linux/include/linux
Is it the good one ?
If i copy this cpufreq.h to /usr/include , the make commands insults me saying that it wants the linux/mutex.h file from /usr/include/cpufreq.h !!!
Well that’s logical. Shall i copy each needed*.h file to /usr/include until it compiles ?
malcolmlewis > That would be too long to file a bug report and i am not sure they’ll have time to do it…
I just picked the cpufreq.h from the 11.1 tree . And i did the same for the .a and .la libraries in the /usr/lib/
I know it’s a ugly hack, but that works…
Hi
Oh well, if you had filed a bug I would have taken ownership, fixed and
pushed to updates…
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.1-1.2-desktop
up 2 days 16:46, 5 users, load average: 0.00, 0.05, 0.10
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06
Try to install it.