[SciPy-user] Problems compiling scipy/sparse
Costas Malamas
costasm at hotmail.com
Sun Dec 15 10:54:06 EST 2002
After my recent inquiry into scipy/sparse, I bit the bullet, downloaded
SciPy CVS and started compiling everything to get scipy/sparse working. I
got through ATLAS, LAPACK, f2py, NumPy and most of sparsekit itself fine,
but then run into two really bizarre issues:
a) Scipy/sparse/Makefile requires the target _sparsemodule.so (and .o).
Yet, such a module is not compiled by any component in the directory (the
closest is _sparsekit.pyf). What gives?
b) After taking out the _sparsemodule.so target from the Makefile, I am
getting this error which I can't explain (disclaimer: my C is very rusty):
gcc -c -I/usr/include/python2.2 -I./SuperLU/SRC -fpic -O2 _zsuperlumodule.c
cc1: warning: -fpic ignored for target (all code is position independent)
In file included from SuperLU/SRC/zsp_defs.h:23,
from _zsuperlumodule.c:26:
SuperLU/SRC/supermatrix.h:19: parse error before numeric constant
SuperLU/SRC/supermatrix.h:21: parse error before numeric constant
make: *** [_zsuperlumodule.o] Error 1
All this is compiled on cygwin, gcc 3.2. Ideas?
Thanks in advance,
Costas
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
More information about the SciPy-User
mailing list