<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Dear Andy
<div><br>
</div>
<div>thanks a lot for the updates, now this works, but another error appears:</div>
<div>.....</div>
<div>
<div>running install_egg_info</div>
<div>Removing build/yoda-1.1.0-py2.7.egg-info</div>
<div>Writing build/yoda-1.1.0-py2.7.egg-info</div>
<div>CC="clang" CXX="clang++" CXXFLAGS="-Wno-sign-compare -Wno-strict-prototypes" ARCHFLAGS=""  /usr/bin/python setup.py install --prefix=/Users/jung/software/rivet --force</div>
<div>running install</div>
<div>running build</div>
<div>running build_py</div>
<div>running build_ext</div>
<div>running install_lib</div>
<div>copying build/lib.macosx-10.9-intel-2.7/yoda/__init__.py -> /Users/jung/software/rivet/lib/python2.7/site-packages/yoda</div>
<div>copying build/lib.macosx-10.9-intel-2.7/yoda/core.so -> /Users/jung/software/rivet/lib/python2.7/site-packages/yoda</div>
<div>copying build/lib.macosx-10.9-intel-2.7/yoda/script_helpers.py -> /Users/jung/software/rivet/lib/python2.7/site-packages/yoda</div>
<div>copying build/lib.macosx-10.9-intel-2.7/yoda/util.so -> /Users/jung/software/rivet/lib/python2.7/site-packages/yoda</div>
<div>byte-compiling /Users/jung/software/rivet/lib/python2.7/site-packages/yoda/__init__.py to __init__.pyc</div>
<div>byte-compiling /Users/jung/software/rivet/lib/python2.7/site-packages/yoda/script_helpers.py to script_helpers.pyc</div>
<div>running install_egg_info</div>
<div>Removing /Users/jung/software/rivet/lib/python2.7/site-packages/yoda-1.1.0-py2.7.egg-info</div>
<div>Writing /Users/jung/software/rivet/lib/python2.7/site-packages/yoda-1.1.0-py2.7.egg-info</div>
<div>make[3]: Nothing to be done for `install-data-am'.</div>
<div>Making install in tests</div>
<div>make[2]: Nothing to be done for `install-exec-am'.</div>
<div>make[2]: Nothing to be done for `install-data-am'.</div>
<div>Making install in bin</div>
<div> .././install-sh -c -d '/Users/jung/software/rivet/bin'</div>
<div> /usr/bin/install -c yoda-config yodacnv yodamerge yodadiff yodahist yoda2aida yoda2flat aida2yoda aida2flat flat2yoda '/Users/jung/software/rivet/bin'</div>
<div>if [[ -d "/Users/jung/software/rivet/etc/bash_completion.d" && -w "/Users/jung/software/rivet/etc/bash_completion.d" ]]; then \</div>
<div>      install --mode 644 yoda-completion /Users/jung/software/rivet/etc/bash_completion.d/; fi</div>
<div>install: illegal option -- -</div>
<div>usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]</div>
<div>               [-o owner] file1 file2</div>
<div>       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]</div>
<div>               [-o owner] file1 ... fileN directory</div>
<div>       install -d [-v] [-g group] [-m mode] [-o owner] directory ...</div>
<div>make[2]: *** [install-data-local] Error 64</div>
<div>make[1]: *** [install-am] Error 2</div>
<div>make: *** [install-recursive] Error 1</div>
<div>~/jung/cvs/rivet2/build> </div>
<div><br>
</div>
<div><br>
</div>
<div>Hm.... is it only me, who has this enourmous problems with Rivet on a Mac ?</div>
<div><br>
</div>
<div>Cheers</div>
<div>Hannes</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>On 10.06.2014, at 11:10, Andy Buckley <<a href="mailto:andy.buckley@cern.ch">andy.buckley@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi Hannes,<br>
<br>
Looks like this is a FastJet bug in OS X Mavericks, which was fixed last<br>
year. From <a href="http://fastjet.fr/all-releases.html:">http://fastjet.fr/all-releases.html:</a><br>
<br>
29 October 2013: fastjet-3.0.6 (manual, doxygen, fjcore) is a minor<br>
maintenance release. Main changes:<br>
fixed compilation issues for two plugins using clang (clang-500.2.79,<br>
Apple LLVM version 5.0 based on LLVM 3.3svn) under OS X 10.9 (Mavericks)<br>
<br>
We hadn't updated the fastjet version in our bootstrap script, because<br>
until recently LCG had not installed releases later than 3.0.3, but I've<br>
done it now. Re-download the bootstrap and try again... hopefully it'll<br>
work this time.<br>
<br>
By the way, on Mavericks I think it is still necessary to set<br>
<br>
export CFLAGS=-Qunused-arguments<br>
export CPPFLAGS=-Qunused-arguments<br>
<br>
before running the bootstrap script, due to an OS X clang/Python bug:<br>
see <a href="http://stackoverflow.com/a/22322645/91808">http://stackoverflow.com/a/22322645/91808</a> if you want details.<br>
Otherwise it will fail late in the build as it tries to build the Rivet<br>
or YODA Python modules.<br>
<br>
Cheers,<br>
Andy<br>
<br>
<br>
<br>
On 10/06/14 09:24, Hannes Jung wrote:<br>
<blockquote type="cite">Dear Riveters<br>
<br>
still having problems to get rivet 2 installed on Mac OSX Mavericks<br>
<br>
following the advice of Andy at our CMS meeting on Friday, I tried<br>
to compile everything using clang and clang++ with the command:<br>
<br>
INSTALL_PREFIX=$HOME/software/rivet CC=clang CXX=clang++ MAKE="make -j8"<br>
./rivet-bootstrap<br>
<br>
<br>
but then I got an error on fastjet:<br>
<br>
libtool: compile:  clang++ -DHAVE_CONFIG_H -I.<br>
-I../../../include/fastjet -O3 -Wall -g -Woverloaded-virtual -DDROP_CGAL<br>
-I. -I./../../../include -MT libCDFcode_la-JetCluAlgorithm.lo -MD -MP<br>
-MF .deps/libCDFcode_la-JetCluAlgorithm.Tpo -c <a href="http://JetCluAlgorithm.cc">
JetCluAlgorithm.cc</a><br>
<<a href="http://JetCluAlgorithm.cc">http://JetCluAlgorithm.cc</a>>  -fno-common -DPIC -o<br>
.libs/libCDFcode_la-JetCluAlgorithm.o<br>
<a href="http://JetCluAlgorithm.cc">JetCluAlgorithm.cc</a> <<a href="http://JetCluAlgorithm.cc">http://JetCluAlgorithm.cc</a>>:81:16: error: use of<br>
undeclared identifier 'abs'; did you<br>
     mean 'fabs'?<br>
         int dIEta = abs(iEtaSeedTower - iEtaPreClusterTower);<br>
                     ^~~<br>
                     fabs<br>
/usr/include/math.h:431:15: note: 'fabs' declared here<br>
extern double fabs(double);<br>
             ^<br>
<a href="http://JetCluAlgorithm.cc">JetCluAlgorithm.cc</a> <<a href="http://JetCluAlgorithm.cc">http://JetCluAlgorithm.cc</a>>:82:16: error: use of<br>
undeclared identifier 'abs'; did you<br>
     mean 'fabs'?<br>
         int dIPhi = abs(iPhiSeedTower - iPhiPreClusterTower);<br>
                     ^~~<br>
                     fabs<br>
/usr/include/math.h:431:15: note: 'fabs' declared here<br>
extern double fabs(double);<br>
             ^<br>
2 errors generated.<br>
make[3]: *** [libCDFcode_la-JetCluAlgorithm.lo] Error 1<br>
<br>
<br>
Any idea to solve this ?<br>
Is this just a Mac problem ?<br>
<br>
Thanks a lot<br>
Cheers<br>
Hannes<br>
<br>
<br>
<br>
***********************************************************************<br>
Hannes Jung <br>
Email: <a href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> <<a href="mailto:Hannes.Jung@desy.de">mailto:Hannes.Jung@desy.de</a>>
<br>
mobile :+49 40 8998 93741<br>
<a href="http://www.desy.de/~jung">http://www.desy.de/~jung</a>                                  <br>
Tel: +49 (0) 40 8998 3741         <br>
Fax: +49 (0) 40 8994 3741<br>
DESY, CMS 01B/02.213<br>
Notkestr.85, 22603 Hamburg, FRG   <br>
***********************************************************************<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a><br>
https://www.hepforge.org/lists/listinfo/rivet<br>
<br>
</blockquote>
<br>
<br>
-- <br>
Dr Andy Buckley, Royal Society University Research Fellow<br>
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN<br>
</blockquote>
</div>
<br>
<div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>***********************************************************************<br>
Hannes Jung <br>
Email: <a href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> <br>
mobile :+49 40 8998 93741<br>
<a href="http://www.desy.de/~jung">http://www.desy.de/~jung</a>                                  <br>
Tel: +49 (0) 40 8998 3741         <br>
Fax: +49 (0) 40 8994 3741<br>
DESY, CMS 01B/02.213<br>
Notkestr.85, 22603 Hamburg, FRG   <br>
***********************************************************************</div>
<div><br>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</body>
</html>