[SciPy-User] error compiling csr_wrap in sparsetools

Pauli Virtanen pav@iki...
Wed Oct 6 04:02:30 CDT 2010

Tue, 05 Oct 2010 22:05:03 -0700, Barry Olddog wrote:
> I'm trying to build scipy 0.8 in python 2.7 on a centos 5.5 machine, but
> failing when I get to csr_wrap. Searching shows this error has been
> around for a while, but I never found a solution.
> Specifically, I it's an error and two warnings:
> scipy/sparse/sparsetools/csr_wrap.cxx: In function 'int
> require_size(PyArrayObject*, npy_intp*, int)':
> scipy/sparse/sparsetools/csr_wrap.cxx:2910: error: expected `)' before
> 'PRIdPTR' scipy/sparse/sparsetools/csr_wrap.cxx:2910: warning: spurious
> trailing '%' in format
> scipy/sparse/sparsetools/csr_wrap.cxx:2910: warning: too many arguments
> for format

That should be fixed by r6645 in SVN.

More information about the SciPy-User mailing list