From: Alan Mackenzie on 6 Mar 2010 06:20 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).
From: Anssi Saari on 6 Mar 2010 11:24 Alan Mackenzie <acm(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.
|
Pages: 1 Prev: Initial RSON prototype parser in subversion Next: Import problem |