[Centos] CentOS CPU Temperature - Mini-HowTo

Sat Feb 12 06:01:25 UTC 2005
Johnn Tan <waterbuffalo at fastmail.fm>

> go to your kernel source directory: 
> 
> edit Makefile to read the same as the installed kernel (uname -r)
> (delete the word "custom" at the end of the line: EXTRAVERSION =
> -27.0.2.Elcustom)
> 
> run make mrproper
> run make oldconfig
> run make dep
> run make clean
> 
> The above sets up the kernel source so you can build and install the i2c and
> lm sensors drivers correctly.
> 
> cd to i2c directory under /home
> 
> run make clean
> run make all
> run make install
> 
> cd to lm sensors directory under /home
> 
> run make clean
> run make all
> run make install
> 
> do an extra depmod -a (just in case :) )

By the way, you will need to do:
yum install kernel-source flex bison
... if you don't already have those packages installed. Without flex & 
bison, the "make all" for lm_sensors will fail, and you have to then 
"make clean" again before redoing the "make all."

johnn