[Tutor] Heeeeeeeeeeeeeeelp .... Please help me urgent

Remco Gerlich scarblac@pino.selwerd.nl
Tue, 29 May 2001 13:17:25 +0200


On  0, Holger Kipp <hoki0001@student-zw.fh-kl.de> wrote:
> Hi 2 everyone,
> I've got some problems installing Python 2.1 on SuSE-Linux 7.0.
> Perhaps, I'm too silly for installing ... here are my worksteps
> 
> a) after downloading http://www.python.org/ftp/python/2.1/Python-2.1.tgz
>    in directory "/installationen" 
>    => unpacking:  gunzip -c Python-2.1.tgz |tar xvf -
> 
> b) executing:  ./configure
>     used compiler: gcc
> 
> c) when I wanted to start "make", i became following message:
>     > make
> 
> 
> >gcc -c -g -O2 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H
> -o
> Modules/python.o Modules/python.c
>     >In file included from /usr/include/errno.h:36,
>     >            from Include/Python.h:48,
>     >            from Modules/python.c:3:
>     >/usr/include/bits/errno.h:25: linux/errno.h: No such file or
> directory
>     >make: *** [Modules/python.o] Error 1
> 
> What was wrong? What does the Errormessage mean? Do I have a
> misconfiguration on my system? How can I remove this Error?
> Please help me ... it's very important for my diploma ...

You need to have the Linux kernel source installed (some Python modules need
to work with the kernel, ie networking, and for that they need definitions
from the kernel source).

There should be a Suse rpm, probably kalled linux-src, linux-devel or
kernel-devel or something like that.

-- 
Remco Gerlich