Problems compiling on a Red Hat 7.3 based system

Des Dougan des at DouganConsulting.com
Mon Apr 12 19:36:40 EDT 2004


On Mon, 2004-04-12 at 07:33, Jeff Epler wrote:
> I have compiled Python 2.3.3 on a RedHat 7.2 machine, though I didn't
> use an RPM.  I'm not sure about the "/lib/cpp fails sanity check"
> message, but maybe the second problem is due to a missing package.
> I have a <linux/errno.h> on my system:
>     $ rpm -qf /usr/include/linux/errno.h
>     kernel-headers-2.4.7-10

The package wasn't actually missing - but I did find two missing
symlinks. Linking them:

ln -s /usr/src/linux-2.4/include/linux /usr/include/linux
ln -s /usr/src/linux-2.4/include/asm /usr/include/asm

fixed the problem.

Many thanks for your help.
-- 

Des Dougan






More information about the Python-list mailing list