<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all again<div class=""><br class=""></div><div class="">Strangely enough, I managed to get Rivet installed with its Python3 version.</div><div class=""><br class=""></div><div class="">Although I had to modify doc/mk-analysis-html, since the "unicode" function is no longer supported in Python3. This is on line 207, and should be just changed to:</div><div class=""><br class=""></div><div class="">outstr = str(head + page + foot)</div><div class=""><br class=""></div><div class="">As long as I have a working version I'm fine, but I didn't manage to debug the Python2 one.</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Stefan<br class=""><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 21 May 2018, at 17:47, Stefan von Buddenbrock <<a href="mailto:stefvonb@gmail.com" class="">stefvonb@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Holger<div class=""><br class=""></div><div class="">This is using Apple LLVM (clang), so it's gcc I believe.</div><div class=""><br class=""></div><div class="">The one in the build directory (pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so) does exist. But the other one in the install directory (/Users/stefvonb/programs/local/lib/libRivet.dylib) doesn't exist.</div><div class=""><br class=""></div><div class="">I've never had this problem before, and I suspect it may have to do with some sort of macOS update.</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Stefan<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 21 May 2018, at 16:52, Holger Schulz <<a href="mailto:iamholger@googlemail.com" class="">iamholger@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi Stefan,</p><p class="">is this compiling with icc or gcc?</p><p class="">Oh and could you check which ones of the libs mentioned in your<br class="">
email exist and which ones don't?<br class="">
</p><p class="">Also, feel free to try out the docker image
<a href="http://docker.io/hepstore/rivet:2.6.0" class="">docker.io/hepstore/rivet:2.6.0</a> (Instructions at
<a class="moz-txt-link-freetext" href="https://rivet.hepforge.org/trac/wiki/Docker">https://rivet.hepforge.org/trac/wiki/Docker</a>)<br class="">
</p>
<br class="">
Holger<br class="">
<br class="">
<br class="">
<br class="">
<div class="moz-cite-prefix">On 21/05/18 09:40, Stefan von
Buddenbrock wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:2F83E3C5-FABA-4358-9082-4EA78A83A78F@gmail.com" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
Dear Rivet developers
<div class=""><br class="">
</div>
<div class="">I have to come back to this issue now that I'm on my
Mac again. I am unable to compile Rivet 2.6.0 on macOS 10.13.4
with the following error:</div>
<div class=""><br class="">
</div>
<div class=""><font class="" color="#444444" size="1" face="Menlo">Traceback
(most recent call last):<br class="">
File "mk-analysis-json", line 18, in <module><br class="">
import rivet<br class="">
File
"/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py",
line 12, in <module><br class="">
from rivet.core import *<br class="">
ImportError:
dlopen(/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so,
10): Library not loaded:
/Users/stefvonb/programs/local/lib/libRivet.dylib<br class="">
Referenced from:
/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so<br class="">
Reason: image not found<br class="">
make[1]: *** [analyses.json] Error 1<br class="">
make[1]: *** Waiting for unfinished jobs....<br class="">
Using output file name 'analyses.html' and directory
'analyses'<br class="">
Traceback (most recent call last):<br class="">
File "mk-analysis-html", line 25, in <module><br class="">
import rivet<br class="">
File
"/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py",
line 12, in <module><br class="">
from rivet.core import *<br class="">
ImportError:
dlopen(/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so,
10): Library not loaded:
/Users/stefvonb/programs/local/lib/libRivet.dylib<br class="">
Referenced from:
/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so<br class="">
Reason: image not found<br class="">
make[1]: *** [analyses.html] Error 1<br class="">
make: *** [all-recursive] Error 1</font></div>
<div class=""><br class="">
</div>
<div class="">It seems to be trying to import Rivet in Python, but
can't because the library
/Users/stefvonb/programs/local/lib/libRivet.dylib is not loaded.
But that library doesn't seem to exist yet. My configuration for
the build is as follows:</div>
<div class=""><br class="">
</div>
<div class=""><font class="" color="#444444" size="1" face="Menlo">./configure
--prefix=/Users/stefvonb/programs/local
--with-hepmc=/Users/stefvonb/programs/local
--with-yoda=/Users/stefvonb/programs/local
--with-fastjet=/Users/stefvonb/programs/local</font></div>
<div class=""><br class="">
</div>
<div class="">Has anyone had any problems like this before?</div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Stefan</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
Rivet mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>
<a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></pre>
</blockquote>
<br class="">
</div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></body></html>