Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Alan Mackenzie

unread,
Mar 6, 2010, 6:20:11 AM3/6/10
to
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).

Anssi Saari

unread,
Mar 6, 2010, 11:24:24 AM3/6/10
to
Alan Mackenzie <a...@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.

0 new messages