[Stackless] FreeBSD install question
Eric Huss
e-huss at netmeridian.com
Mon Sep 24 00:27:36 CEST 2001
> I am trying to build on FreeBSD 4.3, but my build fails. I couldn't
> find any details Unix install instructions so here's what I am
> doing...
>
> tar zxvf Python-2.0.1.tgz # the closest i could find to 2.0.42
> ln -s Python-2.0.1 Python-2.0 # the patch was against a 2.0 directory
> patch < Python-2.0.42-S1.4.18.patch
I can get it going with the original stackless source tree.
Note that the Modules/Setup.in file needs to be patched for everything to
work (it uses the wrong file for the socket module). I have attached a
patch that should fix it.
fetch http://www.python.org/ftp/python/2.0.1/Python-2.0.1.tgz
fetch http://www.stackless.com/spc-src-010514.zip
tar zxvf Python-2.0.1.tgz
unzip spc-src-010514.zip
cp -R src/common/* Python-2.0.1
cp -R src/2.0/* Python-2.0.1
patch < modules.patch
cd Python-2.0.1
./configure
make
HTH,
-Eric
-------------- next part --------------
*** Python-2.0.1/Modules/Setup.in.bak Sun Sep 23 15:20:55 2001
--- Python-2.0.1/Modules/Setup.in Sun Sep 23 15:21:03 2001
***************
*** 146,153 ****
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
select selectmodule.c # select(2); not on ancient System V
! socket socketmodule.c # socket(2); not on ancient System V
! #_socket socketmodule.c # socket(2); use this one for BeOS sockets
errno errnomodule.c # posix (UNIX) errno values
# The crypt module is now disabled by default because it breaks builds
--- 146,153 ----
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
select selectmodule.c # select(2); not on ancient System V
! #socket socketmodule.c # socket(2); not on ancient System V
! _socket socketmodule.c # socket(2); use this one for BeOS sockets
errno errnomodule.c # posix (UNIX) errno values
# The crypt module is now disabled by default because it breaks builds
More information about the Stackless
mailing list