[Rivet] problem with yaml

Andy Buckley andy.buckley at ed.ac.uk
Mon Jan 31 15:23:15 GMT 2011


On 28/01/11 15:43, Robert King wrote:
> p.s. I should possibly add that I'm trying to compile this in SL5.
> The option '--disable-pyext' was added to stop the python extension
> failing at the ./configure stage. This gives the error:
> checking if
> /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig
> <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig>
> is compatible with the
> /afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/bin/g++
> <http://cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/bin/g++>
> compiler... no
> configure: error: Can't build Python extension since
> /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig
> <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig>
> is not compatible with
> /afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/bin/g++
> <http://cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/bin/g++>.
> Get a newer SWIG version!
> 
> I did do the
> 
> export PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH>
> source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh <http://cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh>
> 
> stage, which I thought should have fixed this.

Hmm, it sounds like it should have fixed it, and indeed the configure
printout suggests that that swig version is being tested. While the
version number is ok, perhaps that particular binary is not
compatible... can you try running something like

/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig
-version

from your build machine and see if that works? If that seems ok, have a
look in config.log and see if you can find the place where that test
goes wrong: there might be helpful printout there.

Cheers,
Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list