Benjie
21st May 2008, 16:29
For anyone trying to install a pecl module (an extension for PHP), you'll need gcc. For gcc you need glibc-headers, and for that you need kernel-headers, which is blocked on flexiscale servers (for good reason - you wouldn't want to accidentally update your flexiscale kernel!).
To solve this, I removed the exclude=kernel* line from /etc/yum.conf, and then ran
yum install kernel-headers-2.6.18-53.1.14.el5
(you can tell what version you need by running "uname -r") and then I replaced the exclude line in yum.conf (to make sure I didn't accidentally update the kernel in the future!); however it took me a few valuable minutes to figure out, so it would be nice if the flexiscale servers had the relevant kernel-headers installed by default in the golden images to allow easy installation of gcc and other such applications.
Cheers,
Benjie.
To solve this, I removed the exclude=kernel* line from /etc/yum.conf, and then ran
yum install kernel-headers-2.6.18-53.1.14.el5
(you can tell what version you need by running "uname -r") and then I replaced the exclude line in yum.conf (to make sure I didn't accidentally update the kernel in the future!); however it took me a few valuable minutes to figure out, so it would be nice if the flexiscale servers had the relevant kernel-headers installed by default in the golden images to allow easy installation of gcc and other such applications.
Cheers,
Benjie.