When I'm recompiling apache and php, it doesn't go through and I get this error:
Code:
checking for atomic.h... no
/usr/include/mysql/my_global.h:364:24: error: asm/atomic.h: No such file or directory
That file is there though:
Code:
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-generic/atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-generic/bitops/atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-generic/bitops/ext2-atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-generic/bitops/ext2-non-atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-generic/bitops/non-atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-i386/atomic.h
/usr/src/kernels/2.6.18-194.32.1.el5-x86_64/include/asm-x86_64/atomic.h
Someone mentioned the glibc headers might be corrupt, I forced a reinstall of glibc, glibc-common, glibc-devel, and glibc-headers, but I'm still getting that error.
Also I tried booting with a different kernel.
Any ideas?
TIA