Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install on Fedora Core 5 #43997

Closed
mnsummerfield mannequin opened this issue Sep 20, 2006 · 3 comments
Closed

Fails to install on Fedora Core 5 #43997

mnsummerfield mannequin opened this issue Sep 20, 2006 · 3 comments

Comments

@mnsummerfield
Copy link
Mannequin

mnsummerfield mannequin commented Sep 20, 2006

BPO 1562171

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2006-09-21.07:05:34.000>
created_at = <Date 2006-09-20.12:33:49.000>
labels = ['expert-installation']
title = 'Fails to install on Fedora Core 5'
updated_at = <Date 2006-09-21.07:05:34.000>
user = 'https://bugs.python.org/mnsummerfield'

bugs.python.org fields:

activity = <Date 2006-09-21.07:05:34.000>
actor = 'mnsummerfield'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Installation']
creation = <Date 2006-09-20.12:33:49.000>
creator = 'mnsummerfield'
dependencies = []
files = []
hgrepos = []
issue_num = 1562171
keywords = []
message_count = 3.0
messages = ['29883', '29884', '29885']
nosy_count = 2.0
nosy_names = ['nnorwitz', 'mnsummerfield']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1562171'
versions = ['Python 2.5']

@mnsummerfield
Copy link
Mannequin Author

mnsummerfield mannequin commented Sep 20, 2006

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.

@mnsummerfield mnsummerfield mannequin closed this as completed Sep 20, 2006
@mnsummerfield mnsummerfield mannequin closed this as completed Sep 20, 2006
@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Sep 20, 2006

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.

@mnsummerfield
Copy link
Mannequin Author

mnsummerfield mannequin commented Sep 21, 2006

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants