python2.7 lack necessary bit to build module

  • Thread starter 钟驰宇
  • Start date
É

钟驰宇

I'm in ubuntu10.04 and I decide to compile python2.7 from source myself to build a GAE app.As a result,when I done with make command,it comes out with the following warning:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _sqlite3 _tkinter _ssl
bsddb185 dbm gdbm
sunaudiodev
I ignore them and continue with make install.However when I run my GAE app,it comes out with no module named _ssl and _sqlite3.
I figure out _ssl problem by compile ssl myself and add --with-ssl option in configure.
I want to fix all this and install all of the package which annoys me.
Thanks!
 
U

Ulrich Eckhardt

Am 13.09.2012 10:47, schrieb 钟驰宇:
I'm in ubuntu10.04 and I decide to compile python2.7 from source
[...] However when I run my GAE app,it comes out with no module
named _ssl and _sqlite3.

There are Debian-specific ways to ease this task that should work in
Ubuntu, too. First is "apt-get build-dep", which will install all
libraries that are needed to build Python as it was built by the
distributor. The second is "apt-get source" and more specifically the
file debian/rules within the unpacked sources then, which contains the
command line that is used to configure the according package. Note that
using dpkg-buildpackage you could even build customized Debian packages,
in case you want to replace the system Python.


Uli
 
R

Ramchandra Apte

I'm in ubuntu10.04 and I decide to compile python2.7 from source myself to build a GAE app.As a result,when I done with make command,it comes out with the following warning:

Python build finished, but the necessary bits to build these modules werenot found:

_bsddb _sqlite3 _tkinter _ssl

bsddb185 dbm gdbm

sunaudiodev

I ignore them and continue with make install.However when I run my GAE app,it comes out with no module named _ssl and _sqlite3.

I figure out _ssl problem by compile ssl myself and add --with-ssl optionin configure.

I want to fix all this and install all of the package which annoys me.

Thanks!

You need to the install the development packages for the libraries requiredby the modules. They end with -dev.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,037
Messages
2,570,371
Members
47,013
Latest member
JewellChes

Latest Threads

Top