Hi,<br><br>I&#39;m trying to compile and install pymvpa-0.50-dev on 64bit architecture and I seem to be having trouble compiling &#39;svmc_wrap.cpp&#39;.<br><br>After running &#39;make 3rd&#39; and &#39;python setup.py build_ext&#39; I get the attached errors below. Output of mvpa.wtf() also attached. This reports &quot;have libsvm = no&quot; though it clearly compiles with &#39;make 3rd&#39;.<br>


<br>I can subsequently run &#39;python setup.py install --prefix=~&#39; however there are no SVM classifiers available in SVM.<br><br>Dan<br><br>PS. It may be related to <a href="http://osdir.com/ml/debian-bugs-rc/2010-06/msg00478.html" target="_blank">http://osdir.com/ml/debian-bugs-rc/2010-06/msg00478.html</a>?<br>


<br><br><br>###########################################<br><br>running build_ext<br>running build_src<br>build_src<br>building extension &quot;mvpa.clfs.libsmlrc.smlrc&quot; sources<br>building extension &quot;mvpa.clfs.libsvmc._svmc&quot; sources<br>


building data_files sources<br>build_src: building npy-pkg config files<br>customize UnixCCompiler<br>customize UnixCCompiler using build_ext<br>customize UnixCCompiler<br>customize UnixCCompiler using build_ext<br>building &#39;mvpa.clfs.libsvmc._svmc&#39; extension<br>


compiling C++ sources<br>C compiler: g++44 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -fPIC<br><br>compile options: &#39;-I/usr/include/numpy -I3rd/libsvm -I/usr/support/apps/apps/PYTHON/2.5.5/gcc/4.4.0/64/lib/python2.5/site-packages/numpy/core/include -I/usr/support/apps/apps/PYTHON/2.5.5/gcc/4.4.0/64/include/python2.5 -c&#39;<br>


g++44: build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)&#39;:<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2051: error: invalid conversion from &#39;const char*&#39; to &#39;char*&#39;<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In constructor &#39;swig::PyObject_ptr::PyObject_ptr(PyObject*, bool)&#39;:<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2518: warning: suggest explicit braces to avoid ambiguous &#39;else&#39;<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)&#39;:<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2846: error: cannot convert &#39;int*&#39; to &#39;Py_ssize_t*&#39; for argument &#39;3&#39; to &#39;int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)&#39;<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)&#39;:<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:6311: error: invalid conversion from &#39;const char*&#39; to &#39;char*&#39;<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;int SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)&#39;:<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2051: error: invalid conversion from &#39;const char*&#39; to &#39;char*&#39;<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In constructor &#39;swig::PyObject_ptr::PyObject_ptr(PyObject*, bool)&#39;:<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2518: warning: suggest explicit braces to avoid ambiguous &#39;else&#39;<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)&#39;:<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:2846: error: cannot convert &#39;int*&#39; to &#39;Py_ssize_t*&#39; for argument &#39;3&#39; to &#39;int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)&#39;<br>


build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp: In function &#39;void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)&#39;:<br>build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp:6311: error: invalid conversion from &#39;const char*&#39; to &#39;char*&#39;<br>


error: Command &quot;g++44 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/numpy -I3rd/libsvm -I/usr/support/apps/apps/PYTHON/2.5.5/gcc/4.4.0/64/lib/python2.5/site-packages/numpy/core/include -I/usr/support/apps/apps/PYTHON/2.5.5/gcc/4.4.0/64/include/python2.5 -c build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.cpp -o build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/mvpa/clfs/libsvmc/svmc_wrap.o&quot; failed with exit status 1<br>


<br><br>################################################################################<br>mvpa.wtf() output<br><br><br>Current date:   2010-06-22 15:01<br>PyMVPA:<br> Version:       0.5.0.dev<br> Path:          mvpa/__init__.pyc<br>


 Version control (GIT):<br> GIT information could not be obtained due &quot;mvpa/.. is not under GIT&quot;<br>SYSTEM:<br> OS:            posix Linux 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 23:02:51 EST 2009<br> Distribution:  redhat/5.4/Boron<br>


EXTERNALS:<br> Present:       cPickle, ctypes, gzip, nose, numpy<br> Absent:        atlas_fsl, atlas_pymvpa, elasticnet, glmnet, good scipy.stats.rdist, good scipy.stats.rv_discrete.ppf, griddata, h5py, hcluster, lars, libsvm, libsvm verbosity control, lxml, matplotlib, mdp, mdp ge 2.4, nibabel, nifti, nifti ge 0.20090205.1, nipy, openopt, pprocess, pylab, pylab plottable, pywt, pywt wp reconstruct, pywt wp reconstruct fixed, reportlab, rpy2, running ipython env, scipy, sg ge 0.6.4, sg ge 0.6.5, sg_fixedcachesize, shogun, shogun.krr, shogun.lightsvm, shogun.mpd, shogun.svrlight, weave<br>


 Versions of critical externals:<br>  numpy       : 1.4.1<br>  ctypes      : 1.0.3<br>  numpy       : 1.4.1<br>RUNTIME:<br> PyMVPA Environment Variables:<br>  PYTHONPATH          : &quot;/home/tcin/danmc/scripts/python&quot;<br>


 PyMVPA Runtime Configuration:<br>  [externals]<br>  have griddata = no<br>  have pprocess = no<br>  have good scipy.stats.rdist = no<br>  have pylab plottable = no<br>  have pywt wp reconstruct = no<br>  have mdp = no<br>


  have lxml = no<br>  have running ipython env = no<br>  have nibabel = no<br>  have sg_fixedcachesize = no<br>  have elasticnet = no<br>  have shogun.mpd = no<br>  have matplotlib = no<br>  have pywt wp reconstruct fixed = no<br>


  have scipy = no<br>  have reportlab = no<br>  have openopt = no<br>  have libsvm = no<br>  have h5py = no<br>  have shogun.krr = no<br>  have nifti ge 0.20090205.1 = no<br>  have nose = yes<br>  have weave = no<br>  have atlas_fsl = no<br>


  have ctypes = yes<br>  have hcluster = no<br>  have sg ge 0.6.4 = no<br>  have sg ge 0.6.5 = no<br>  have good scipy.stats.rv_discrete.ppf = no<br>  have libsvm verbosity control = no<br>  have mdp ge 2.4 = no<br>  have shogun.svrlight = no<br>


  have shogun = no<br>  have nipy = no<br>  have glmnet = no<br>  have lars = no<br>  have nifti = no<br>  have atlas_pymvpa = no<br>  have cpickle = yes<br>  have numpy = yes<br>  have pylab = no<br>  have rpy2 = no<br>

  have shogun.lightsvm = no<br>
  have pywt = no<br>  have gzip = yes<br><br>  [general]<br>  verbose = 1<br> Process Information:<br>  Name: python<br>  State:        R (running)<br>  SleepAVG:     96%<br>  Tgid: 26682<br>  Pid:  26682<br>  PPid: 9640<br>


  TracerPid:    0<br>  Uid:  5070    5070    5070    5070<br>  Gid:  3008    3008    3008    3008<br>  FDSize:       256<br>  Groups:       1005 3008 3065<br>  VmPeak:         147312 kB<br>  VmSize:         146292 kB<br>

  VmLck:               0 kB<br>
  VmHWM:           14820 kB<br>  VmRSS:           14820 kB<br>  VmData:          11436 kB<br>  VmStk:             192 kB<br>  VmExe:            1140 kB<br>  VmLib:            6080 kB<br>  VmPTE:             240 kB<br>  StaBrk:       12226000 kB<br>


  Brk:  12b09000 kB<br>  StaStk:       7fff163b40c0 kB<br>  Threads:      1<br>  SigQ: 0/69632<br>  SigPnd:       0000000000000000<br>  ShdPnd:       0000000000000000<br>  SigBlk:       0000000000000000<br>  SigIgn:       0000000001001000<br>


  SigCgt:       0000000180000002<br>  CapInh:       0000000000000000<br>  CapPrm:       0000000000000000<br>  CapEff:       0000000000000000<br>  Cpus_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff<br>


  Mems_allowed: 00000000,00000003<br><br>