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.

classification
Title: Fails to install on Fedora Core 5
Type: Stage:
Components: Installation Versions: Python 2.5
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: mnsummerfield, nnorwitz
Priority: normal Keywords:

Created on 2006-09-20 12:33 by mnsummerfield, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg29883 - (view) Author: Mark Summerfield (mnsummerfield) (Python committer) Date: 2006-09-20 12:33
I am using an up-to-date version of Fedora Core 5.
: gcc --version
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)

configure
I ran ./configure --prefix=/home/mark/opt/python25 and
this ran without problems.

Makefile
I hand edited the Makefile to add -fwrapv to the
BASECFLAGS as per the README file since I don't know
how to add flags using configure.

make
make worked fine

make test
This reported some failures, but nothing that seems
significant:
...
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of
disk-space bytes and a long time to run
test_zipimport
test_zlib
281 tests OK.
38 tests skipped:
    test_aepack test_al test_applesingle test_bsddb
test_bsddb185
    test_bsddb3 test_cd test_cl test_codecmaps_cn
test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr
test_codecmaps_tw test_curses
    test_dbm test_gdbm test_gl test_imgfile
test_linuxaudiodev
    test_macfs test_macostools test_nis test_normalization
    test_ossaudiodev test_pep277 test_plistlib
test_scriptpackages
    test_socket_ssl test_socketserver test_sqlite
test_startfile
    test_sunaudiodev test_timeout test_urllib2net
test_urllibnet
    test_winreg test_winsound test_zipfile64
3 skips unexpected on linux2:
    test_dbm test_gdbm test_bsddb


make install
This failed.
...
Compiling
/home/mark/opt/python25/lib/python2.5/zipfile.py ...
make: *** [libinstall] Error 1

Just in case for some reason a dbm is needed I
installed gdbm-devel and retried but the installation
still failed in the same place.
msg29884 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-20 17:53
Logged In: YES 
user_id=33168

This seems weird.  Did you run out of disk space?  Is the
error reproducible (ie, fail in the same place each time)? 
Can you debug this further?  The tests do a make install and
I don't recall seeing this error.
msg29885 - (view) Author: Mark Summerfield (mnsummerfield) (Python committer) Date: 2006-09-21 07:05
Logged In: YES 
user_id=1602435

I didn't run out of disk space, I've 28GB free...
I did try several times, (including make clean, rerun
configure, make, make tests, and make install), and yes, it
always failed in the same place.
And just to make really sure, I have just tried the whole
process again. I deleted my Python-2.5 directory, unpacked
the whole thing again, ran configure, added -fwrapv to the
Makefile, and ran make and make test. This time make test
had only one "unexpected" skipped test:
...
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space
bytes and a long time to run
test_zipimport
test_zlib
283 tests OK.
36 tests skipped:
    test_aepack test_al test_applesingle test_bsddb
test_bsddb185
    test_bsddb3 test_cd test_cl test_codecmaps_cn
test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw
test_curses
    test_gl test_imgfile test_linuxaudiodev test_macfs
test_macostools
    test_nis test_normalization test_ossaudiodev test_pep277
    test_plistlib test_scriptpackages test_socket_ssl
    test_socketserver test_sqlite test_startfile
test_sunaudiodev
    test_timeout test_urllib2net test_urllibnet test_winreg
    test_winsound test_zipfile64
1 skip unexpected on linux2:
    test_bsddb

Next I ran make install... and it worked!
Maybe there's some dependency on having a dbm of some sort?
Anyway, sorry for the false alarm.
History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 43997
2006-09-20 12:33:49mnsummerfieldcreate