This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients AndyP, legerf, skip.montanaro, tlesher
Date 2008-12-05.01:16:35
SpamBayes Score 5.825546e-07
Marked as misclassified No
Message-id <18744.33005.894750.112774@montanaro-dyndns-org.local>
In-reply-to <1228438822.63.0.92887227954.issue4483@psf.upfronthosting.co.za>
Content
Andrew> ImportError: No module named math
    Andrew> make: *** [sharedmods] Error 1

    Andrew> The has_function source in Lib/distutils/ccompiler.py has this
    Andrew> comment:

    Andrew> # this can't be included at module scope because it tries to
    Andrew> # import math which might not be available at that point - maybe
    Andrew> # the necessary logic should just be inlined?

*sigh* I guess that would explain why it wasn't used anywhere in setup.py.

Can you try this simplified version?  (It's probably almost exactly what you
came up with.)

Thanks,

Skip
Files
File name Uploaded
dbm.diff skip.montanaro, 2008-12-05.01:16:34
History
Date User Action Args
2008-12-05 01:16:39skip.montanarosetrecipients: + skip.montanaro, tlesher, legerf, AndyP
2008-12-05 01:16:38skip.montanarolinkissue4483 messages
2008-12-05 01:16:37skip.montanarocreate