[SciPy-User] Scikits.sparse build issue
Anand Patil
anand.prabhakar.patil at gmail.com
Tue May 3 08:51:59 EDT 2011
Hi all,
I was excited to notice scikits.sparse this morning. I've been waiting
for something like that to appear for a while now! I'm trying to
install the HG head on a Mac, with EPD 7.0-2 and Numpy 1.5.1. I've
installed SuiteSparse from MacPorts.
First, the following line from cholmod.pyx doesn't work with MacPorts'
SuiteSparse:
cdef extern from "suitesparse/cholmod.h":
It needs to be
cdef extern from "ufsparse/cholmod.h":
Having done that, I get a sequence of errors like the following:
python setup.py build
running build
running build_py
running build_ext
skipping 'scikits/sparse/cholmod.c' Cython extension (up-to-date)
building 'scikits.sparse.cholmod' extension
gcc -DNDEBUG -g -O3 -arch x86_64 -isysroot /Developer/SDKs/
MacOSX10.5.sdk -I/Library/Frameworks/EPD64.framework/Versions/7.0/
include -I/opt/local/include -I/Library/Frameworks/EPD64.framework/
Versions/7.0/lib/python2.7/site-packages/numpy/core/include -I/Library/
Frameworks/EPD64.framework/Versions/7.0/include/python2.7 -c scikits/
sparse/cholmod.c -o build/temp.macosx-10.6-x86_64-2.7/scikits/sparse/
cholmod.o
scikits/sparse/cholmod.c: In function
‘__pyx_f_7scikits_6sparse_7cholmod__py_sparse’:
scikits/sparse/cholmod.c:1713: error: storage size of ‘__pyx_t_10’
isn’t known
I've never used Cython and am having a hard time figuring this out.
Thanks in advance for any help,
Anand
More information about the SciPy-User
mailing list