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

A

Alan Mackenzie

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!
 
A

Anssi Saari

Alan Mackenzie said:
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.
 

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

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top