Re: Build Python 2.7.5 - Modules missing

2013-06-11 Thread rusi
On Jun 10, 10:51 pm, Walter Hurry walterhu...@lavabit.com wrote:
 On building Python 2.7.5 I got the following message:

 Python build finished, but the necessary bits to build these modules
  were not found:
 dl                 imageop            linuxaudiodev
 spwd               sunaudiodev
 To find the necessary bits, look in setup.py in detect_modules()
  for the module's name.

 It carried on with the installation OK, but I don't understand the last
 sentence in the message. How can I find out exactly what modules are
 missing, and what I need to do to make sure they are built next time?

On a debian box (which includes ubuntu etc), doing:
# aptitude build-dep python
will get you all the packages you need to build python. You can use
apt-get instead of aptitude.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Build Python 2.7.5 - Modules missing

2013-06-11 Thread Walter Hurry
On Tue, 11 Jun 2013 16:18:58 -0500, Tony the Tiger wrote:

 On Mon, 10 Jun 2013 17:51:25 +, Walter Hurry wrote:
 
 On building Python 2.7.5 I got the following message:
 
 Python build finished, but the necessary bits to build these modules
  were not found:
 dl imageoplinuxaudiodev spwd sunaudiodev To
 find the necessary bits, look in setup.py in detect_modules()
  for the module's name.
 
 It carried on with the installation OK, but I don't understand the last
 sentence in the message. How can I find out exactly what modules are
 missing, and what I need to do to make sure they are built next time?
 
 And you build this on...? A toaster...?
 
No, not a toaster but FreeBSD 9.1. Why the sarcasm?
-- 
http://mail.python.org/mailman/listinfo/python-list


Build Python 2.7.5 - Modules missing

2013-06-10 Thread Walter Hurry
On building Python 2.7.5 I got the following message:

Python build finished, but the necessary bits to build these modules
 were not found:
dl imageoplinuxaudiodev   
spwd   sunaudiodev
To find the necessary bits, look in setup.py in detect_modules()
 for the module's name.

It carried on with the installation OK, but I don't understand the last 
sentence in the message. How can I find out exactly what modules are 
missing, and what I need to do to make sure they are built next time?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Build Python 2.7.5 - Modules missing

2013-06-10 Thread Skip Montanaro
 It carried on with the installation OK, but I don't understand the last
 sentence in the message. How can I find out exactly what modules are
 missing, and what I need to do to make sure they are built next time?

Some of them won't ever build, as they are platform-dependent.  For
example, if you're building on a Linux machine, sunaudiodev won't
build.

The last sentence is just telling you to poke around in the setup.py
code to figure out what it's looking for.  Many libraries have arcane
version naming schemes, and it might not stumble upon the right
spelling, and thus fail to find it.  For example tcl 8.5 might be
installed as libtcl85.so, libtcl8.5.dylib, etc.  I believe the modules
which failed for you are probably all named in a straightforward
fashion, so missing underlying libraries are probably the culprit.

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list