Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47585 > unrolled thread

Build Python 2.7.5 - Modules missing

Started byWalter Hurry <walterhurry@lavabit.com>
First post2013-06-10 17:51 +0000
Last post2013-06-12 00:05 +0000
Articles 5 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Build Python 2.7.5 - Modules missing Walter Hurry <walterhurry@lavabit.com> - 2013-06-10 17:51 +0000
    Re: Build Python 2.7.5 - Modules missing Skip Montanaro <skip@pobox.com> - 2013-06-10 13:04 -0500
    Re: Build Python 2.7.5 - Modules missing rusi <rustompmody@gmail.com> - 2013-06-11 04:32 -0700
    Re: Build Python 2.7.5 - Modules missing Tony the Tiger <tony@tiger.invalid> - 2013-06-11 16:18 -0500
      Re: Build Python 2.7.5 - Modules missing Walter Hurry <walterhurry@lavabit.com> - 2013-06-12 00:05 +0000

#47585 — Build Python 2.7.5 - Modules missing

FromWalter Hurry <walterhurry@lavabit.com>
Date2013-06-10 17:51 +0000
SubjectBuild Python 2.7.5 - Modules missing
Message-ID<kp53mt$hj5$1@news.albasani.net>
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?

[toc] | [next] | [standalone]


#47586

FromSkip Montanaro <skip@pobox.com>
Date2013-06-10 13:04 -0500
Message-ID<mailman.2976.1370887497.3114.python-list@python.org>
In reply to#47585
> 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

[toc] | [prev] | [next] | [standalone]


#47655

Fromrusi <rustompmody@gmail.com>
Date2013-06-11 04:32 -0700
Message-ID<907d08e8-bf28-44e1-a984-f9a97acb4457@ow4g2000pbc.googlegroups.com>
In reply to#47585
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.

[toc] | [prev] | [next] | [standalone]


#47703

FromTony the Tiger <tony@tiger.invalid>
Date2013-06-11 16:18 -0500
Message-ID<vdKdnWAvz_ffCSrMnZ2dnUVZ7rmdnZ2d@giganews.com>
In reply to#47585
On Mon, 10 Jun 2013 17:51:25 +0000, 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                 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?

And you build this on...? A toaster...?


 /Grrr
-- 
          ___                  ___
 (\_--_/)  | _ ._    _|_|_  _   |o _  _ ._
 ( 9  9 )  |(_)| |\/  |_| |(/_  ||(_|(/_|
 stripes are forever - as overripe ferrets

[toc] | [prev] | [next] | [standalone]


#47714

FromWalter Hurry <walterhurry@lavabit.com>
Date2013-06-12 00:05 +0000
Message-ID<kp8e0f$nq6$1@news.albasani.net>
In reply to#47703
On Tue, 11 Jun 2013 16:18:58 -0500, Tony the Tiger wrote:

> On Mon, 10 Jun 2013 17:51:25 +0000, 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                 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?
> 
> And you build this on...? A toaster...?
> 
No, not a toaster but FreeBSD 9.1. Why the sarcasm?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web