[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

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

Alan Mackenzie

3/6/2010 11:20:00 AM

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!".

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.

Either something is hugely amiss, or I'm missing some vital nugget of
information (possibly through not being a Python hacker).

Would somebody please give me a tip to get this sorted out? Thanks!

--
Alan Mackenzie (Nuremberg, Germany).

1 Answer

Anssi Saari

3/6/2010 4:24:00 PM

0

Alan Mackenzie <acm@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.