<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Dear Andy,</div>
<div> With build in gcc</div>
<div>gcc --version<br>
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1<br>
Apple LLVM version 9.1.0 (clang-902.0.39.2)<br>
Target: x86_64-apple-darwin17.7.0<br>
Thread model: posix<br>
InstalledDir: /Library/Developer/CommandLineTools/usr/bin<br>
</div>
<div><br>
</div>
<div>python --version<br>
Python 2.7.10<br>
</div>
<div><br>
</div>
<div> g++ --version<br>
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1<br>
Apple LLVM version 9.1.0 (clang-902.0.39.2)<br>
Target: x86_64-apple-darwin17.7.0<br>
Thread model: posix<br>
InstalledDir: /Library/Developer/CommandLineTools/usr/bin<br>
</div>
<div><br>
</div>
<div>gfortran --version<br>
GNU Fortran (GCC) 6.3.0<br>
Copyright (C) 2016 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
</div>
<div><br>
</div>
<div>I get the following:</div>
<div><br>
</div>
<div> <br>
</div>
<div>File "/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py", line 12, in <module><br>
from rivet.core import *<br>
ImportError: dlopen(/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so, 10): Library not loaded: /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/local/lib/libRivet.dylib<br>
Referenced from: /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so<br>
Reason: image not found<br>
make[1]: *** [analyses.json] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
Using output file name 'analyses.html' and directory 'analyses'<br>
Traceback (most recent call last):<br>
File "mk-analysis-html", line 25, in <module><br>
import rivet<br>
File "/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py", line 12, in <module><br>
from rivet.core import *<br>
ImportError: dlopen(/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so, 10): Library not loaded: /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/local/lib/libRivet.dylib<br>
Referenced from: /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so<br>
Reason: image not found<br>
make[1]: *** [analyses.html] Error 1<br>
make: *** [all-recursive] Error 1<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Many Thanks, Sabah.</div>
<div><br>
</div>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><font size="2"><span style="font-size:10pt">From Sabah Salih<br>
Particle Physics Group,<br>
The School of Physics and Astronomy,<br>
The University of Manchester,<br>
Schuster Laboratory,<br>
Brunswick Street,<br>
Manchester M13 9PL.<br>
Tel: +44 1612754171 or x4171<br>
E-mail: sabah.salih@manchester.ac.uk</span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF741954" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Andy Buckley [andy.buckley@cern.ch]<br>
<b>Sent:</b> 19 July 2018 14:41<br>
<b>To:</b> Sabah Salih<br>
<b>Cc:</b> rivet@projects.hepforge.org<br>
<b>Subject:</b> Re: [Rivet] ruvet and osx<br>
</font><br>
</div>
<div></div>
<div>
<div>Hi Sabah,</div>
<div>I have no idea about compilation with GCC 8 -- it looks like our "autotools" build system assumes that a compiler flag will work, but GCC 8 has removed it. I suspect that new versions of autotools would fix it, but of course our existing tarball is built
with an older version.</div>
<br>
<div>You could try building the (final) Rivet step by hand, first rebuilding the autotools bits with a call to "autoreconf -i". It may even be possible to re-run the bootstrap script after doing that, and let it finish the build with the updated Makefiles.</div>
<br>
<div>Andy</div>
<br>
<div>
<div>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2">
<div style="padding-bottom:15px">
<div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div>
<div>Particle Physics Experiment Group, University of Glasgow</div>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top"></td>
<td>
<div style="font-size:0.9em; white-space:nowrap; border-left:2px solid gray; margin-left:20px; padding-left:20px">
<div>
<div></div>
<div></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gmail_quote_attribution">On Jul 19 2018, at 9:15 am, Sabah Salih <sabah.salih@manchester.ac.uk> wrote:</div>
<blockquote><br>
<div><br>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">Dear All,</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma"> I am trying to install rivet in a max osx 10.13.6</font></font></div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">I have</font></font></div>
</div>
<div><br>
</div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">gcc --version</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">gcc (Homebrew GCC 8.1.0) 8.1.0</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">Copyright (C) 2018 Free Software Foundation, Inc.</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">This is free software; see the source for copying conditions. There is NO</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></font></div>
</div>
<div><br>
</div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">gfortran --version</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">GNU Fortran (Homebrew GCC 8.1.0) 8.1.0</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">Copyright (C) 2018 Free Software Foundation, Inc.</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">This is free software; see the source for copying conditions. There is NO</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma"> </font></font></div>
</div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">g++ --version</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">g++ (Homebrew GCC 8.1.0) 8.1.0</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">Copyright (C) 2018 Free Software Foundation, Inc.</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">This is free software; see the source for copying conditions. There is NO</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></font></div>
<br>
</div>
<div><br>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">I got rivet from the following url</font></font></div>
<div><br>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">wget </font></font><font style="font-size:10pt"><font style="font-family:Tahoma"><a href="http://rivet.hepforge.org/hg/bootstrap/raw-file/2.6.0/rivet-bootstrap" title="http://rivet.hepforge.org/hg/bootstrap/raw-file/2.6.0/rivet-bootstrap" target="_blank">http://rivet.hepforge.org/hg/bootstrap/raw-file/2.6.0/rivet-bootstrap</a></font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">chmod +x rivet-bootstrap</font></font></div>
<div><br>
</div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">After I run the following</font></font></div>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">./rivet-bootstrap</font></font></div>
<div><br>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">I get the following in the end</font></font></div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">g++ -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g
-fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -DNDEBUG -I/usr/include -I/usr/include -pipe -I/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/include -I/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/include -I/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/pyext/yoda
-I/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/pyext/yoda -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/pyext/yoda/util.cpp -o /Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/pyext/build/temp.macosx-10.13-intel-2.7/Users/admin/madgraph/MG5_aMC_v2_6_3/rivet/YODA-1.7.0/pyext/yoda/util.o
-O3 -Wno-unused-but-set-variable -Wno-sign-compare</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">g++: error: unrecognized command line option '-Wshorten-64-to-32'</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">error: command 'g++' failed with exit status 1</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">make[2]: *** [all-local] Error 1</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">make[1]: *** [all-recursive] Error 1</font></font></div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma">make: *** [all-recursive] Error 1</font></font></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma"> What do I have to do to fix it please?</font></font></div>
<div><br>
</div>
<div><br>
</div>
<div><font style="font-size:10pt"><font style="font-family:Tahoma"> Maany Thanks, Sabah.</font></font></div>
<div><br>
<div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">From Sabah Salih</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">Particle Physics Group,</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">The School of Physics and Astronomy,</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">The University of Manchester,</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">Schuster Laboratory,</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">Brunswick Street,</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">Manchester M13 9PL.</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">Tel: +44 1612754171 or x4171</font></font></font></div>
<div><font style="font-size:13px"><font style="font-family:Tahoma"><font style="font-size:10pt">E-mail: sabah.salih@manchester.ac.uk</font></font></font></div>
</div>
</div>
</div>
<div>_______________________________________________</div>
<div>Rivet mailing list</div>
<div>Rivet@projects.hepforge.org</div>
<div>https://www.hepforge.org/lists/listinfo/rivet</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>