On Mon, Dec 20, 2010 at 01:24:39PM -0500, Ben Eisenbraun wrote: > I'm trying to build a 32-bit python+gtk2 Coot on CentOS 4 or 5 using the > build-it-gtk2-simple, and it's failing like this (from a CentOS 5 machine): > > coot_wrap_python_gtk2.cc: In function ‘int > SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)’: > coot_wrap_python_gtk2.cc:2053: error: invalid conversion from ‘const char*’ > to ‘char*’ > coot_wrap_python_gtk2.cc: In function ‘void > SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, > swig_type_info**)’: > coot_wrap_python_gtk2.cc:46995: error: invalid conversion from ‘const char*’ > to ‘char*’ > make[1]: *** [coot_wrap_python_gtk2.o] Error 1 > make[1]: Leaving directory > `/nfs/build/source/coot/build/autobuild/sbgrid-dev-vm-10_2010-12-20__T16_59_55/coot-0.6.2-pre-1/src' > make: *** [all-recursive] Error 1 > > Any ideas? It doesn't look like there are any recent python+gtk2 32-bit > builds on Red Hat-ish systems available on the nightlies page.
This was a Swig problem. I built a local version of the latest Swig, put it first in the PATH and Coot built fine. FYI, for the archives, etc. -ben -- | Ben Eisenbraun | SBGrid Consortium | http://sbgrid.org | | Harvard Medical School | http://hms.harvard.edu |
