[Rivet] Problem with installation

James Monk jmonk at hep.ucl.ac.uk
Wed Nov 4 14:51:20 GMT 2009


Hi Dimitry,

can you tell us what is the contents of the file /etc/redhat-release  
on your system, and what the command lsb_release -rs returns, too?

cheers,

James


On 4 Nov 2009, at 14:28, Dmitry Popov wrote:

>  Hello Rivet Dev team!
>
>  I'm trying to install Rivet tool under SLC4 and from the very  
> beginning
> encounter some problems. Step by step:
>
>  wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
>  chmod +x rivet-bootstrap
>  ./rivet-bootstrap --install-boost
>
>  Exits with (this error is the same for lines 44 and 145):
>    Traceback (most recent call last):
>      File "./rivet-bootstrap", line 243, in ?
>        parser.add_option("--lcgtag", default=compute_lcg_tag(),
> dest="LCGTAG",
>      File "./rivet-bootstrap", line 44, in compute_lcg_tag
>        slversion = [int(i) for i in sltest.split()[5].split(".")]
>    ValueError: invalid literal for int(): (Beryllium)
>
>  If to switch commented out line with uncommented one the script will
> continue
>    slversion = [int(i) for i in commands.getoutput("lsb_release
> -rs").split(".")]
>    #slversion = [int(i) for i in sltest.split()[5].split(".")]
>
>  But then it exits due to some problem with paths during or after  
> Boost
> compilation phase:
>
> ./rivet-bootstrap --install-boost
> Getting http://www.hepforge.org/archive/rivet/Rivet-1.1.3.tar.gz
> Downloading http://www.hepforge.org/archive/rivet/Rivet-1.1.3.tar.gz
> Installing a local copy of Boost
> Downloading
> http://downloads.sourceforge.net/boost/boost_1_38_0.tar.gz?use_mirror=mesh
> Configuring in /home/hfm/dpopov/Rivet/build/boost_1_38_0: ./configure
> --prefix=/home/hfm/dpopov/Rivet/local
> Building in /home/hfm/dpopov/Rivet/build/boost_1_38_0: make -j2 &&  
> make -j2
> install
> Can't find Boost include dir boost-1_38/boost to symlink
> Traceback (most recent call last):
>  File "./rivet-bootstrap", line 517, in ?
>    sys.exit(2)
> SystemExit: 2
> An error has occurred while bootstrapping Rivet or one of its  
> dependencies.
> Sorry!..
>
>> ls
> build/  downloads/  local/  rivet-bootstrap*
>> ls local/
> include/  lib/
>> ls local/include/
> boost-1_38/
>> ls local/include/boost-1_38/
> boost/
>> ls local/include/boost-1_38/boost/
> .. boost *.hpp files and related dirs here...
>
>> ll build/
>  boost_1_38_0/
>  rivet -> Rivet-1.1.3/
>  Rivet-1.1.3/
>
>  Looks like there is a problem with paths somewhere in the script,  
> I'll try
> to find it but could you please also look into this?
>
>  Cheers!
>  Dmitry
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet



More information about the Rivet mailing list