[Rivet] problem with yaml

Andy Buckley andy.buckley at ed.ac.uk
Mon Jan 31 16:19:35 GMT 2011


Thanks Robert... I'll take a look at your config.log file. In future can
you please only send to the Rivet mailing list, and make sure it's
copied on any replies. That way you'll get better answers more quickly,
and the rest of the developers on the list know when something is being
followed up.

Thanks,
Andy


On 31/01/11 16:11, Robert King wrote:
> Hi,
> 
> Thanks for getting back to me.
> 
> For the yaml problem your suggestion of explicitly 'make install' in the
> yaml-cpp dir worked. So that's fixed. (I haven't got any thing else
> installed in that directory so I don't understand what was causing the
> problem.)
> 
> I now fail make check because of the pyext configure problem. I checked
> the swig version and it is 1.3.40 as expected. I have attached the
> config.log. I wasn't really sure what I was looking for in this file...
> But perhaps it contains magic clues for you?
> 
> I have now been provided with a script by a colleague that has got me
> with a working version on lxplus, so I'm not completely stuck. But it
> would be nice to have it working on the local machine too for convenience.
> 
> Thanks for your help
> 
> Robert
> 
> 
> 
> 
> On 31 January 2011 16:23, Andy Buckley <andy.buckley at ed.ac.uk
> <mailto:andy.buckley at ed.ac.uk>> wrote:
> 
>     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>
>     >
>     <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++>
>     >
>     <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>
>     >
>     <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++>
>     >
>     <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>
>     <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>
>     <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
>     <http://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.
> 
> 


-- 
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