[SciPy-dev] sparsetools_wrap.cxx
Nils Wagner
nwagner at iam.uni-stuttgart.de
Tue Jan 9 11:52:28 EST 2007
On Tue, 9 Jan 2007 11:40:25 -0500
"Jeremy Conlin" <jeremit0 at gmail.com> wrote:
> 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
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
AFAIK you should remove
the following directories first
rm -rf
build
scipy/Lib/sparse (don't forget svn update afterwards)
site-packages/scipy
HTH
Nils
More information about the SciPy-Dev
mailing list