Reproduce: try to install python from sources (after doing `apt-get build-dep python 2.7` of course).
You'll see warnings about missing modules:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _sqlite3 bsddb185
dbm dl gdbm
imageop sunaudiodev zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
crypt nis
Please importance critical, as you'll lose half of your archive on next rebuild.
BTW, there's build failure with setuptools:
Traceback (most recent call last):
File "setup.py", line 94, in <module>
scripts = scripts,
File "/tmp/ibd3-1/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/tmp/ibd3-1/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/tmp/ibd3-1/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/ibd3-setup-bJCwNZ/setuptools-0.6c11/setuptools/command/install.py", line 76, in run
self.do_egg_install()
File "/tmp/ibd3-setup-bJCwNZ/setuptools-0.6c11/setuptools/command/install.py", line 96, in do_egg_install
self.run_command('bdist_egg')
File "/tmp/ibd3-1/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/tmp/ibd3-1/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/ibd3-setup-bJCwNZ/setuptools-0.6c11/setuptools/command/bdist_egg.py", line 236, in run
dry_run=self.dry_run, mode=self.gen_header())
File "/tmp/ibd3-setup-bJCwNZ/setuptools-0.6c11/setuptools/command/bdist_egg.py", line 527, in make_zipfile
z = zipfile.ZipFile(zip_filename, mode, compression=compression)
File "/tmp/ibd3-1/lib/python2.7/zipfile.py", line 679, in __init__
"Compression requires the (missing) zlib module"
RuntimeError: Compression requires the (missing) zlib module
Reproduce: try to install python from sources (after doing `apt-get build-dep python 2.7` of course).
You'll see warnings about missing modules:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _sqlite3 bsddb185
dbm dl gdbm
imageop sunaudiodev zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
crypt nis
Please importance critical, as you'll lose half of your archive on next rebuild.
BTW, there's build failure with setuptools:
Traceback (most recent call last): 1/lib/python2. 7/distutils/ core.py" , line 152, in setup run_commands( ) 1/lib/python2. 7/distutils/ dist.py" , line 953, in run_commands run_command( cmd) 1/lib/python2. 7/distutils/ dist.py" , line 972, in run_command setup-bJCwNZ/ setuptools- 0.6c11/ setuptools/ command/ install. py", line 76, in run do_egg_ install( ) setup-bJCwNZ/ setuptools- 0.6c11/ setuptools/ command/ install. py", line 96, in do_egg_install run_command( 'bdist_ egg') 1/lib/python2. 7/distutils/ cmd.py" , line 326, in run_command distribution. run_command( command) 1/lib/python2. 7/distutils/ dist.py" , line 972, in run_command setup-bJCwNZ/ setuptools- 0.6c11/ setuptools/ command/ bdist_egg. py", line 236, in run run=self. dry_run, mode=self. gen_header( )) setup-bJCwNZ/ setuptools- 0.6c11/ setuptools/ command/ bdist_egg. py", line 527, in make_zipfile ZipFile( zip_filename, mode, compression= compression) 1/lib/python2. 7/zipfile. py", line 679, in __init__
File "setup.py", line 94, in <module>
scripts = scripts,
File "/tmp/ibd3-
dist.
File "/tmp/ibd3-
self.
File "/tmp/ibd3-
cmd_obj.run()
File "/tmp/ibd3-
self.
File "/tmp/ibd3-
self.
File "/tmp/ibd3-
self.
File "/tmp/ibd3-
cmd_obj.run()
File "/tmp/ibd3-
dry_
File "/tmp/ibd3-
z = zipfile.
File "/tmp/ibd3-
"Compression requires the (missing) zlib module"
RuntimeError: Compression requires the (missing) zlib module