Building Python-2.6.4 on G/L: can't build in _ssl support.

Anssi Saari as at sci.fi
Sat Mar 6 17:24:24 CET 2010


Alan Mackenzie <acm at muc.de> writes:

> Hi, Python!
>
> I build Python-2.6.4 on my GNU/Linux (Debian Sarge) box.  I get a warning
> message "Failed to find the necessary bits to build these modules: ....
> _ssl ...  RTFS to find out what!".

At a guess, you're missing libssl-dev. You might consider installing
python2.6 or python2.6-minimal from unstable or testing too.

> I need _ssl for an application.  So, I look at setup.py in the top
> directory.  It seems that _ssl needs to find certain .h files, but is
> looking in /usr/local/ssl and /usr/contrib (or subdirectories thereof).
> These look like highly non-standard directories.

Looks to me like it looks in those non-standard directories, but in
addition to normal /usr/include.



More information about the Python-list mailing list