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 jgarrison
Recipients jgarrison, tarek
Date 2009-04-02.21:22:34
SpamBayes Score 1.479618e-09
Marked as misclassified No
Message-id <1238707356.06.0.784964091736.issue5674@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to build 3.1a1 on Fedora 9, the following extensions get skipped
even though the requisite packages are installed

_dbm               
_gdbm              
_hashlib        
_sqlite3           
_ssl               
bz2             
readline           
zlib                               

After looking at the code in distutils I *think* the problem is because
setup.py isn't coping with library filenames such as "libreadline.so.5"
and "libgdm.so.2" (with the .n) second extension.  

It looks like ccompiler.py#library_filename() just appends the
extension, which is .so for unix, and then
unixccompiler.py#find_library_file() does a simple os.path.exists() on
the name, not allowing for the additional numeric extension.  

Note that some library filenames in Linux have two or even three such
extensions, as in libreadline.so.5.2, and some extensions are not
all-numeric, as in libssl.so.0.9.8g.
History
Date User Action Args
2009-04-02 21:22:36jgarrisonsetrecipients: + jgarrison, tarek
2009-04-02 21:22:36jgarrisonsetmessageid: <1238707356.06.0.784964091736.issue5674@psf.upfronthosting.co.za>
2009-04-02 21:22:35jgarrisonlinkissue5674 messages
2009-04-02 21:22:34jgarrisoncreate