Help needed building Python on Linux

Mike Causer (mike@setanta.demon.co.uk)
Tue, 7 Dec 93 18:47:38 GMT

I am trying to build Python to run under Linux 1.0.1 - a BSD based Un*x.
My two main handicaps are:
ignorance of C
ignorance of Linux
general stup......
My _three_ main handicaps are:
.... :-)

Anyway, using GCC 2.3.3, compiling posixmodule.c produces:

shiva.setanta.demon.co.uk% make
(If building posixmodule fails, try enabling SYSVDEF)
gcc -c -DDO_TIMES \
posixmodule.c
posixmodule.c:87: conflicting types for `getcwd'
/usr/include/unistd.h:200: previous declaration of `getcwd'
posixmodule.c: In function `rename':
posixmodule.c:424: argument `from' doesn't match prototype
posixmodule.c:424: argument `to' doesn't match prototype
posixmodule.c: In function `posix_getpgrp':
posixmodule.c:697: too many arguments to function `getpgrp'
posixmodule.c: In function `posix_setpgrp':
posixmodule.c:711: too many arguments to function `setpgrp'
make: *** [posixmodule.o] Error 1

#DEFINE wild_jump_to_conclusions
Now does this have anything to with the presence of 386-alloca.s in
the misc directory?

Has anyone built for a 386-BSD system, or have any suggestions to offer?

Complement Section
The reason for ignorance of C is because I prefer to work
at a higher level than that; Python's level in fact. It's
just what I've been looking for!

Thanks for any advice,

Mike Causer Setanta Technology mike@setanta.demon.co.uk
Cambridge UK Utrecht NL
"This new learning amazes me, Sir Bedevere. Explain again
how sheep's bladders may be employed to prevent earthquakes."