Building 2.1.1 on Python
Tim Roberts
timr at probo.com
Wed Jul 25 01:20:03 EDT 2001
I upgraded by old Linux RedHat 6.1 machine from Python 1.5 to Python 2.1.1
today, and I encountered a surprise.
After untarring, I did:
./configure --with-threads
make
make install
I then tried loading a Webware page as a test, and to my dismay got an
error. In socket.py, the line "from _socket import *" failed saying that
module _socket was not found.
Eventually, I went into Modules/Setup and uncommented one of the two
_socket declarations, rebuilt, and it worked fine, but I was surprised that
the out-of-the-box installation didn't work.
SHould I have been surprised? Or did I miss something?
Almost everything in Modules/Setup is commented out, although many of the
commented-out modules work perfectly well. Are those loaded in some other
way?
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list