< sigh >
stamostolias, can you please explain why you believe to install cpufrequtils and cpufrequtils-bench ? Is it because you believe cpufreq.h is DIRECTLY inside those rpms ? If so, why do you believe that? What is the basis for that assumption ? Is it strictly the rpm name that leads you to believe that ?
Did you check the contents of those rpms ?
So, I downloaded cpufrequtils-008-5.1.x86_64.rpm and cpufrequtils-bench-008-5.1.x86_64.rpm and I looked inside those files. Did you do that ? If not, why not ?
Note the command:
rpm -qip cpufrequtils-008-5.1.x86_64.rpm -l
provides the following list of installed files inside cpufrequtils:
Distribution: openSUSE 11.4
/usr/bin/cpufreq-aperf
/usr/bin/cpufreq-info
/usr/bin/cpufreq-set
/usr/lib64/libcpufreq.so.0
/usr/lib64/libcpufreq.so.0.0.0
/usr/sbin/turbostat
/usr/share/locale/cs/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/de/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/fr/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/it/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/pt/LC_MESSAGES/cpufrequtils.mo
/usr/share/man/man1/cpufreq-info.1.gz
/usr/share/man/man1/cpufreq-set.1.gz
/usr/share/man/man8/turbostat.8.gz
so CLEARLY there is no cpufreq.h included.
Note the command
rpm -qip cpufrequtils-bench-008-5.1.x86_64.rpm -l
provides the following list of files included inside cpufrequtils-bench:
/etc/cpufreq-bench.conf
/usr/bin/cpufreq-bench_plot.sh
/usr/sbin/cpufreq-bench
/usr/share/doc/packages/cpufrequtils
/usr/share/doc/packages/cpufrequtils/README-BENCH
/usr/share/doc/packages/cpufrequtils/examples
/usr/share/doc/packages/cpufrequtils/examples/cpufreq-bench_script.sh
/usr/share/locale/cs/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/de/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/fr/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/it/LC_MESSAGES/cpufrequtils.mo
/usr/share/locale/pt/LC_MESSAGES/cpufrequtils.mo
so CLEARLY there is no cpufreq.h included.
So PLEASE explain one more time why you believe those files should be installed. There may be reason, and if here is, I am eager to learn. But if I read your post, you stated it was to obtain cpufreq.h, and I confess I am highly suspicious you simply do not know what you are recommending.
stamostolias, PLEASE I want you to do me a BIG favour. PLEASE do NOT post IN ANY THREAD if you do not know the answer, and if you think you know the answer, please TRIPLE check your answer BEFORE you post. If you can not check, then do NOT post. OK ?
Thankyou.