Re: "make test" fails on linux box

Guido.van.Rossum@cwi.nl
Thu, 16 Mar 1995 10:55:42 +0100

> The subject line says it all. My python compiles and loads
> without too many warnings (the only noteworthy ones were
> some complaints about incompatible pointer types in the
> "signal" part of readline, and something in the "traceback"
> part of python: gcc said that the declaration of a struct
> "frame" was only valid within a certain limited scope, which
> was probably not what I wanted.)
>
> However, when I do a "make test", I get a segmentation violation.
> Below is the edited output from "make" and "make test".
> I have edited out the things which go smoothly.

>From a not yet released update to the FAQ:

| 3.11. Q. Trouble building Python on Linux.
|
| A. In 1.1 and 1.1.1, there's a bug in the reference counting logic of
| ternary pow() which is only tripped by very picky mallocs, like the
| GNU malloc on Linux. This has been fixed in 1.2. To continue the
| tests, just disable the tests of pow() with three arguments from
| Lib/test/test_b2.py.

Note that 1.2 isn't out yet, but a beta version can be found on
ftp.cwi.nl in pub/guido. If you use this you're expected to ket me
know about anything that doesn't work!

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>