[SciPy-dev] sparsetools_wrap.cxx

Jeremy Conlin jeremit0 at gmail.com
Tue Jan 9 10:40:25 CST 2007


I just checked out the latest version of scipy (revision 2512).  When
compiling I get the following errors:

g++: Lib/sparse/sparsetools/sparsetools_wrap.cxx
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int
SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1209: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int
SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1209: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*,
swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19802: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*,
swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19802: error: invalid
conversion from 'const char*' to 'char*'
lipo: can't figure out the architecture type of: /var/tmp//ccr6FDtl.out
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int
SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1209: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int
SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1209: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*,
swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19802: error: invalid
conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*,
swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19802: error: invalid
conversion from 'const char*' to 'char*'


How can I fix this so I can compile/install scipy?  I am using Mac OSX Intel.

Thanks,
Jeremy


More information about the Scipy-dev mailing list