|
[Rivet] Problem with installationDmitry Popov Dmitry.Popov at mpi-hd.mpg.deWed Nov 4 16:34:25 GMT 2009
Hello James, Thank you very much for the fast response! This "Can't find Boost include dir boost-1_38/boost to symlink" error appears both on SL4 and on SLC5: > cat /etc/redhat-release Scientific Linux SL release 4.5 (Beryllium) > lsb_release -rs 4.5 > cat /etc/redhat-release Scientific Linux CERN SLC release 5.4 (Boron) > lsb_release -rs 5.4 Cheers, Dmitry | -----Original Message----- | From: James Monk [mailto:jmonk at hep.ucl.ac.uk] | Sent: Wednesday, November 04, 2009 3:51 PM | To: Dmitry Popov | Cc: rivet at projects.hepforge.org | Subject: Re: [Rivet] Problem with installation | | 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=m | esh | > 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 |