Hi All,
I'm trying to build Python 2.7.1 on Sun Solaris 10 amd64, however end up
with:
Python build finished, but the necessary bits to build these modules
were not found:
_bsddb _tkinter bsddb185
gdbm linuxaudiodev ossaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
Failed to build these modules:
_bisect _codecs_cn _codecs_hk
_codecs_iso2022 _codecs_jp _codecs_kr
_codecs_tw _collections _csv
_ctypes _ctypes_test _curses
_curses_panel _elementtree _functools
_hashlib _heapq _hotshot
_io _json _locale
_lsprof _multibytecodec _multiprocessing
_random _socket _sqlite3
_ssl _struct _testcapi
array audioop binascii
bz2 cmath cPickle
crypt cStringIO datetime
dbm dl fcntl
future_builtins grp imageop
itertools math mmap
nis operator parser
pyexpat resource select
spwd strop sunaudiodev
syslog termios time
unicodedata zlib
running build_scripts
I am using cc provided in Solaris 10, readline downloaded from GNU and
compiled in 32bit. Also, I added this entry:
readline readline.c -I/local32/include -L/local32/lib -R/local32/lib
-lreadline -ltermcap
to Modules/Setup.local in order to get readline running.
Currently:
dns# /opt/python/bin/python
Python 2.7.1 (r271:86832, Dec 31 2010, 07:21:22) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/python/lib/python2.7/hashlib.py", line 136, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/python/lib/python2.7/hashlib.py", line 71, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
I can not use hashlib and many other modules however I can use the rest
modules.
Thanks for all your kind reply.
--
OSQDU::Alex
--
http://mail.python.org/mailman/listinfo/python-list