Compilation of Python 2.0c1

Skip Montanaro skip at mojam.com
Tue Oct 10 10:27:44 EDT 2000


    Frédéric> I've problems with python compilation (be it 1.6 or 2.0c1) on
    Frédéric> my Mandrake system : the executable python produces a
    Frédéric> segmentation fault in Modules/getbuildinfo.c, in the sprintf
    Frédéric> call... according to gdb at least...

Worked fine for me.  Here's my config:

    % cat /etc/issue.net 
    Linux Mandrake release 7.1 (helium)
    Kernel 2.2.16-9mdk on an i686
    % gcc -v
    Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs
    gcc version 2.95.3 19991030 (prerelease)
    % rpm -q -a | egrep cc
    gcc-cpp-2.95.2-7mdk
    ...

I configured with "./configure", compiled using "make OPT=-O3" and ran "make
test" with no trouble:

    ...
    test_xmllib
    test_zipfile
    test_zlib
    test test_zlib skipped --  No module named zlib
    81 tests OK.
    25 tests skipped: test_al test_audioop ...

-- 
Skip Montanaro (skip at mojam.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list