Compilation of Python 2.0c1

Neil Schemenauer nas at arctrix.com
Tue Oct 10 01:08:35 EDT 2000


On Tue, Oct 10, 2000 at 01:42:39PM +0200, Frédéric Gobry wrote:
> I've problems with python compilation (be it 1.6 or 2.0c1) on my
> Mandrake system : the executable python produces a segmentation fault
> in Modules/getbuildinfo.c, in the sprintf call... according to gdb at
> least...

It should be a compiler bug.  Do you have a package that gives
you kgcc?  You could try using that compiler by runnning:

    make clean
    CC=kgcc ./configure
    make

You could also try turning off the optimizer:

    make clean
    OPT=-g ./configure
    make

If you still get a segfault then it is possible that there is a
bug in Python.

  Neil




More information about the Python-list mailing list