[Rivet] problem with yaml

Robert King r.king1 at physics.ox.ac.uk
Fri Jan 28 15:43:46 GMT 2011


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 is
compatible with the /afs/
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 is not
compatible with /afs/
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
source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh

stage, which I thought should have fixed this.

Let me know if there's any more information I can provide that would be
useful...

On 28 January 2011 14:19, Robert King <r.king1 at physics.ox.ac.uk> wrote:

> Hi,
>
> I've been having problems installing Rivet, both on my department central
> machine, and on lxplus at CERN.
>
> I configure with the following lines:
>
>  ./configure
> --with-hepmc=/data/atlas/atlasdata3/king/HepSoftware/HepMC-2.04.02/install
> --with-boost-incpath=/data/atlas/atlasdata3/king/HepSoftware/RivetBootstrap/build/boost_1_44_0/
> --with-fastjet=/data/atlas/atlasdata3/king/HepSoftware/fastjet-2.4.2/install/
> --disable-pyext --prefix=$PWD
>
> 'make' would then work correctly, but
>
> 'make check'
> would then throw a errors regarding yaml:
>
> make[4]: Entering directory `/afs/
> cern.ch/user/r/rking/scratch0/HepSoftware/Rivet-1.4.0/src/Tools/yaml-cpp'
> terminate called after throwing an instance of 'YAML::BadDereference'
>   what():  yaml-cpp: error at line 0, column 0: bad dereference
> /bin/sh: line 5: 17488 Aborted                 ${dir}$tst
> FAIL: testYAML
> ============================================
> 1 of 1 test failed
> Please report to rivet at projects.hepforge.org
> ============================================
>
> If I try to compile using 'make install' it will fail.
>
> Do you have any ideas as to how I should rectify this issue?
>
> Regards
>
> Robert
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110128/f6f8ec81/attachment.html>


More information about the Rivet mailing list