[Stackless] FreeBSD install question
Jacob Martinson
jmartinson at info234.com
Sun Sep 23 18:29:20 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
Everything appeared to go well, except that several files were created in my current directory, outside the source trees: uthread.py, python.h, continuationmodule.c, cevalpatch.py, ceval_pre.c, Setup.local.
./configure runs fine. make says it doesn't know how to make continuationmodule.c:
In file included from /usr/include/unistd.h:42,
from ./socketmodule.c:100:
/usr/include/sys/unistd.h:71: warning: `_POSIX_THREADS' redefined
../config.h:136: warning: this is the location of the previous definition
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./errnomodule.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./md5module.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./md5c.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./shamodule.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./rotormodule.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./newmodule.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./binascii.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./parsermodule.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./cStringIO.c
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I./../Include -I.. -DHAVE_CONFIG_H -c ./cPickle.c
make: don't know how to make ./continuationmodule.c. Stop
*** Error code 2
Stop in /usr/local/src/stackless/Python-2.0.1.
I grepped through the different Makefiles and Modules/Makefile looked like the one, so I copied continuationmodule.c (created outside the build tree by patch) into the Modules directory and ran make again...
./continuationmodule.c:4791: redefinition of `check_version'
./continuationmodule.c:2359: `check_version' previously defined here
./continuationmodule.c:4812: redefinition of `continuation_doc'
./continuationmodule.c:2380: `continuation_doc' previously defined here
./continuationmodule.c:4840: warning: function declaration isn't a prototype
./continuationmodule.c:4840: redefinition of `initcontinuation'
./continuationmodule.c:2408: `initcontinuation' previously defined here
*** Error code 1
Stop in /usr/local/src/stackless/Python-2.0.1/Modules.
*** Error code 1
Stop in /usr/local/src/stackless/Python-2.0.1.
Am I missing something? Does anyone have detailed instructions for building stackless on Unix?
Thanks!
Jacob
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless
More information about the Stackless
mailing list