[CIG-SHORT] pylith install error

Birendra jha bjha7333 at yahoo.com
Wed Sep 25 15:29:48 PDT 2013


Brad,

I am getting following error during make. I have swig 2.0.11 in /usr/local/bin. *wrap.cxx and *.py files created by the installer were version 2.0.4. Since I modified a module and its module files are 2.0.11, I regenerated all of them using the new version. Except spatialdata-1.9.2/modulesrc/spatialdb.py and cxx files, because SimpleGridAscii.i and .hh files needed by spatialdb.i are missing from the installer (can I get these files?). 

/bin/bash ../../libtool --tag=CXX   --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../../pylith-1.9.0/modulesrc/topology -I../.. -I../../../pylith-1.9.0/libsrc -g -I/home/bjha/pylith-1.9.0/lib/python2.7/site-packages/pythia-0.8.1.15-py2.7.egg -I/home/bjha/pylith-1.9.0/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -I/home/bjha/pylith-1.9.0/include -I/home/bjha/pylith-1.9.0/include -I/home/bjha/pylith-1.9.0/include/sieve -I/home/bjha/pylith-1.9.0/include -I/usr/local/include  -DENABLE_HDF5 -DENABLE_CUBIT -I/home/bjha/pylith-1.9.0/include   -g -O2 -DMPICH_IGNORE_CXX_SEEK -MT topology_wrap.lo -MD -MP -MF .deps/topology_wrap.Tpo -c -o topology_wrap.lo ../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I../../../pylith-1.9.0/modulesrc/topology -I../.. -I../../../pylith-1.9.0/libsrc -g -I/home/bjha/pylith-1.9.0/lib/python2.7/site-packages/pythia-0.8.1.15-py2.7.egg -I/home/bjha/pylith-1.9.0/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -I/home/bjha/pylith-1.9.0/include -I/home/bjha/pylith-1.9.0/include -I/home/bjha/pylith-1.9.0/include/sieve -I/home/bjha/pylith-1.9.0/include -I/usr/local/include -DENABLE_HDF5 -DENABLE_CUBIT -I/home/bjha/pylith-1.9.0/include -g -O2 -DMPICH_IGNORE_CXX_SEEK -MT topology_wrap.lo -MD -MP -MF .deps/topology_wrap.Tpo -c ../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx  -fPIC -DPIC -o .libs/topology_wrap.o
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx: In function 'char* pytype_string(PyObject*)':
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3170:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3171:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3172:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3173:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3174:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3175:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3176:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3177:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3178:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3179:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3180:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3181:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3183:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx: In function 'char* typecode_string(int)':
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:3197:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx: In function 'PyObject* _wrap_new_SubMesh__SWIG_1(PyObject*, PyObject*)':
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:4731:72: error: cannot convert 'pylith::topology::Field<pylith::topology::SubMesh>::Mesh* {aka pylith::topology::SubMesh*}' to 'pylith::topology::Mesh*' in assignment
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx:4737:74: error: cannot convert 'pylith::topology::Field<pylith::topology::SubMesh>::Mesh* {aka pylith::topology::SubMesh*}' to 'pylith::topology::Mesh*' in assignment
../../../pylith-1.9.0/modulesrc/topology/topology_wrap.cxx: In function 'PyObject* _wrap_SubMesh_createSubMesh(PyObject*, PyObject*)':

Is it the swig version issue? Are 2.0.4 and 2.0.11 not compatible?  

Thanks and regards
Birendra


More information about the CIG-SHORT mailing list