|
[Rivet] Installing Rivet-2.6.0Andy Buckley andy.buckley at cern.chMon Jul 2 21:02:23 BST 2018
YODA is a prerequisite for Rivet. I think that Python-detection issue exists in both YODA and Rivet's configure scripts, so the easiest way is probably to run the bootstrap until it fails (which will install various dependencies), then manually hack and run the configure, build, install steps for each of YODA and Rivet. You should be able to read the bootstrap script steps as a guide -- it's pretty formulaic. Obviously this is a nasty hack -- we're currently working to get a new release out, in which this bug will be fixed (2.6.0 itself contained a fix to an even earlier version of that Python-detection script... seems that we're encountering new "environment" issues faster than we can make releases!) Andy Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Experiment Group, University of Glasgow On Jul 2 2018, at 1:27 pm, Remus-Andrei Pãun <paun.remus.andrei at gmail.com> wrote: > > Hello Andy, > > I did the modifications in the configure script and ran it. Now my problem is that it does not find the YODA libraries. > > This is how I try to install Rivet-2.6.0: > > - go to rivet.hepforge.org/trac/wiki/GettingStarted (http://rivet.hepforge.org/trac/wiki/GettingStarted) > - download the rivet-bootstrap script > - run the rivet-bootstrap script > > By performing the above mentioned steps I came across that error for which you sent me the modifications. > > You also provide us with the possibility of downloading the source code. > > When I run the configure script from the source code, I get this message: > > configure: WARNING: YODA library was not found > configure: WARNING: YODA header directory was not found > configure: error: YODA is require > > > When I run the rivet-bootstrap script, I come across that python error. > > What am I supposed to run here? The bootstrap script or the configure script from the source code? I am a bit confused :-) > > If I am supposed to run the configure script from the source code, is YODA a prerequisite? Do I need to have it installed and manually set the path to YODA? > > Thank you for taking the time to read my e-mail. > > Best regards, > Remus > > > > On 2 July 2018 at 18:46, Andy Buckley <andy.buckley at cern.ch (mailto:andy.buckley at cern.ch)> wrote: > > Hi Remus, > > > > Yes, this is a build-system bug in the autotools Python detection script that we've already fixed in what will be the next release. The problem is the "rc1" suffix which breaks interpretation of the version code as a number. A quick hack is to change the s.strip().split() to s.strip().replace("rc1", "").split() in the configure script: give that a try and let me know if it works. > > Andy > > Dr Andy Buckley, Lecturer / Royal Society University Research Fellow > > Particle Physics Experiment Group, University of Glasgow > > > > > > > > > > > > > > > > > > > > > > > > > > On Jul 2 2018, at 4:55 am, Remus-Andrei Pãun <paun.remus.andrei at gmail.com (mailto:paun.remus.andrei at gmail.com)> wrote: > > > > > > Hello Andy, > > > > > > I forgot to mention that the problem I have is that I have python version 2.7.15rc1 installed on my Linux Mint 19 OS and when I want to install Rivet-2.5.4 it requires a version of python that is higher than 2.7.3 > > > > > > Here are the lines with the error: > > > > > > checking for python... /usr/bin/python > > > checking for a version of Python >= '2.1.0'... yes > > > checking for a version of Python >= '2.7.3'... Traceback (most recent call last): > > > File "<string>", line 1, in <module> > > > File "ax_python_devel_vpy.py", line 6, in __init__ > > > self.vpy = self.vtup(platform.python_version()) > > > File "ax_python_devel_vpy.py", line 3, in vtup > > > return map(int, s.strip().split(".")) > > > ValueError: invalid literal for int() with base 10: '15rc1' > > > no > > > configure: error: this package requires Python >= '2.7.3'. > > > If you have it installed, but it isn't the default Python > > > interpreter in your system path, please pass the PYTHON_VERSION > > > variable to configure. See ``configure --help'' for reference. > > > > > > > > > Is there a way to make modifications in the installation script so that they could accept my version of python? > > > Thank you for taking the time to read my e-mail. > > > Best regards, > > > Remus > > > > > > > > > On 1 July 2018 at 21:12, Remus-Andrei Pãun <paun.remus.andrei at gmail.com (mailto:paun.remus.andrei at gmail.com)> wrote: > > > > Hello Andy, > > > > > > > > I included a file with the installation process until it gets stuck (you will see it at the end of the file). > > > > Thank you for taking the time to read my e-mail. > > > > > > > > Best regards, > > > > > > > > Remus > > > > > > > > On 30 June 2018 at 07:18, Andy Buckley <andy.buckley at cern.ch (mailto:andy.buckley at cern.ch)> wrote: > > > > > Hi Remus, > > > > > > > > > > No, not a known error, but also there's no specific information in that error report about why g++ failed. Just some generic linker error, apparently. Can you provide any more specific error message? > > > > > Thanks, > > > > > Andy > > > > > > > > > > Dr Andy Buckley, Lecturer / Royal Society University Research Fellow > > > > > Particle Physics Experiment Group, University of Glasgow > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Jun 28 2018, at 8:59 am, Remus-Andrei Pãun <paun.remus.andrei at gmail.com (mailto:paun.remus.andrei at gmail.com)> wrote: > > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > I am trying to install Rivet-2.6.0 on a Linux Mint OS. > > > > > > > > > > > > I've run the bootstrap script and get the following errors: > > > > > > > > > > > > collect2: error: ld returned 1 exit status > > > > > > error: command 'g++' failed with exit status 1 > > > > > > Makefile:667: recipe for target 'all-local' failed > > > > > > make[2]: *** [all-local] Error 1 > > > > > > make[2]: Leaving directory '/home/remus/Workspace/Rivet-2.6.0/YODA-1.7.0/pyext' > > > > > > Makefile:395: recipe for target 'all-recursive' failed > > > > > > make[1]: *** [all-recursive] Error 1 > > > > > > make[1]: Leaving directory '/home/remus/Workspace/Rivet-2.6.0/YODA-1.7.0/pyext' > > > > > > Makefile:515: recipe for target 'all-recursive' failed > > > > > > make: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > > > > I've checked the troubleshooting page and nothing came up. > > > > > > > > > > > > Is this a known issue? > > > > > > > > > > > > Looking forward to your response. > > > > > > > > > > > > Best regards, > > > > > > > > > > > > Remus > > > > > > _______________________________________________ > > > > > > Rivet mailing list > > > > > > Rivet at projects.hepforge.org (mailto:Rivet at projects.hepforge.org) > > > > > > https://www.hepforge.org/lists/listinfo/rivet > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180702/d11ec38d/attachment.html>
More information about the Rivet mailing list |