Problems with Install

David Porter jcm at bigskytel.com
Sat Jan 27 09:33:04 EST 2001


* Ben Ocean <zope at thewebsons.com>:

[...]
> I've run into this error while running *make*. D said it was due to an
> error in the myreadline.o So I re-ran make and copied what printed to
> screen. The myreadline.o stuff doesn't appear until the last few lines:
> 
> In file included from /usr/include/errno.h:36,
>                   from ../Include/Python.h:59,
>                   from myreadline.c:42:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make[1]: *** [myreadline.o] Error 1
> make[1]: Leaving directory `/apache/vhosts/Python-1.5.2/Parser'
> make: *** [Parser] Error 2

I have encountered this type of error (No such file or directory).

First check if /usr/include/linux/errno.h exists. If it doesn't, maybe you
need to install the Linux kernel headers. Perhaps something like
kernel-headers*.rpm?

if it *does* exist, you could try editing line 25 /usr/include/bits/errno.h
changing it from

# include linux/errno.h

to 

# include <linux/errno.h>

> Just for fun I tried installing an rpm as you mentioned. The strangest 
> thing happened. When I got to the actual installation command, the darn 
> thing just vanished into thin air! running a whereis for python turns up 
> *nothing*! Oh, geez, what'd I do wrong?

Maybe it installed python in a place that is off your path.


David

-- 
Import os.  Import os Import os Import os! 




More information about the Python-list mailing list