Hi Hannes,<div><div><br></div><div>So the configuration seems to have detected your ROOT installation and been happy with it. The problem is at runtime: did you have this working before?</div><div><br></div><div>ROOT's Python interface is not installed into the Python search path for some reason, so all (?) users need to add the ROOT library directory to their PYTHONPATH. I think if you do that then it should work ok.</div><div><br></div><div>I tested with ROOT6, and there have been some Python API changes between those versions, but I think we've managed to handle both... and your build log suggests that there wasn't a compilation problem, so hopefully everything will be fine once the path is set to point at ROOT.</div><div><br></div><div>Andy</div><br><signature><div><table cellpadding="0" cellspacing="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></signature></div>
          <div class="gmail_quote nylas-quote nylas-quote-id-38369B39-EC43-44AA-8938-307AC9625C7F@desy.de">
            <br>
            On Dec 30 2017, at 5:51 pm, Hannes Jung <hannes.jung@desy.de> wrote:
            <br>
            <blockquote class="gmail_quote"
              style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
              <span></span><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="padding-bottom: 20px;"></div><div><meta content="text/html charset=us-ascii">Dear experts<div><br></div><div>I am trying to use yoda2root with the latest version 2.6.0</div><div>and get the following error:</div><div>----------------</div><div><div>~/jung/cvs/myrivet2/DYjets/files-Jindrich> yoda2root Pythia.yoda</div><div>Traceback (most recent call last):</div><div>  File "/Users/jung/jung/cvs/rivet-2.6.0/bin/yoda2root", line 26, in <module></div><div>    import ROOT</div><div>ImportError: No module named ROOT</div><div>----------------</div><div><br></div><div>I didn't see any error in the installation, below is a part from the configure</div><div><br></div><div>Any idea, what goes wrong ?</div><div><div>Thanks a lot, and best wishes for 2018</div><div><br></div><div>Cheers</div><div>Hannes</div><div><br></div></div><div>PS:</div><div>Part from the configuration of yoda:</div><div>------------------</div><div><div style="margin: 0px; line-height: normal;">checking how to hardcode library paths into programs... immediate</div><div style="margin: 0px; line-height: normal;">checking if the g++ -std=c++11 compiler accepts the -pedantic flag... yes</div><div style="margin: 0px; line-height: normal;">checking if the g++ -std=c++11 compiler accepts the -Wall flag... yes</div><div style="margin: 0px; line-height: normal;">checking if zlib is wanted... yes</div><div style="margin: 0px; line-height: normal;">checking for inflateEnd in -lz... yes</div><div style="margin: 0px; line-height: normal;">checking zlib.h usability... yes</div><div style="margin: 0px; line-height: normal;">checking zlib.h presence... yes</div><div style="margin: 0px; line-height: normal;">checking for zlib.h... yes</div><div style="margin: 0px; line-height: normal;">checking for root-config... /Users/jung/bin/root-config</div><div style="margin: 0px; line-height: normal;">checking ROOT version... 5.34/34 (5,34,34)</div><div style="margin: 0px; line-height: normal;">configure: Building extra ROOT compatibility tools</div><div style="margin: 0px; line-height: normal;">checking for python... /usr/bin/python</div><div style="margin: 0px; line-height: normal;">checking for a version of Python >= '2.1.0'... yes</div><div style="margin: 0px; line-height: normal;">checking for a version of Python >= '2.7.3'... yes</div><div style="margin: 0px; line-height: normal;">checking for the distutils Python package... yes</div><div style="margin: 0px; line-height: normal;">checking for Python include path... -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7</div><div style="margin: 0px; line-height: normal;">checking for Python library path... -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7</div><div style="margin: 0px; line-height: normal;">checking for Python site-packages path... /Library/Python/2.7/site-packages</div><div style="margin: 0px; line-height: normal;">checking python extra libraries...</div><div style="margin: 0px; line-height: normal;">checking python extra linking flags...</div><div style="margin: 0px; line-height: normal;">checking consistency of all components of python development environment... yes</div><div style="margin: 0px; line-height: normal;">checking for python version... 2.7</div><div style="margin: 0px; line-height: normal;">checking for python platform... darwin</div><div style="margin: 0px; line-height: normal;">checking for python script directory... ${prefix}/lib/python2.7/site-packages</div><div style="margin: 0px; line-height: normal;">checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages</div><div style="margin: 0px; line-height: normal;">checking for Cython >= 0.23.5... no</div><div style="margin: 0px; line-height: normal;">checking for pyext/yoda/core.cpp... yes</div><div style="margin: 0px; line-height: normal;">checking if the g++ -std=c++11 compiler accepts the -Wno-unused-but-set-variable flag... no</div><div style="margin: 0px; line-height: normal;">checking if the g++ -std=c++11 compiler accepts the -Wno-sign-compare flag... yes</div><div style="margin: 0px; line-height: normal;">checking if the g++ -std=c++11 compiler accepts the -Wno-strict-prototypes flag... yes</div><div style="margin: 0px; line-height: normal;">configure: All Python build checks successful: 'yoda' Python extension will be built</div><div style="margin: 0px; line-height: normal;">checking for doxygen... /sw/bin/doxygen</div><div style="margin: 0px; line-height: normal;">checking that generated files are newer than configure... done</div><div style="margin: 0px; line-height: normal;">configure: creating ./config.status</div><div style="margin: 0px; line-height: normal;">config.status: creating Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating Doxyfile</div><div style="margin: 0px; line-height: normal;">config.status: creating include/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating include/YODA/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating src/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating src/tinyxml/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating src/yamlcpp/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating tests/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating pyext/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating pyext/setup.py</div><div style="margin: 0px; line-height: normal;">config.status: creating pyext/yoda/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating bin/Makefile</div><div style="margin: 0px; line-height: normal;">config.status: creating bin/yoda-config</div><div style="margin: 0px; line-height: normal;">config.status: creating yodaenv.sh</div><div style="margin: 0px; line-height: normal;">config.status: creating yoda.pc</div><div style="margin: 0px; line-height: normal;">config.status: creating include/YODA/Config/DummyConfig.h</div><div style="margin: 0px; line-height: normal;">config.status: include/YODA/Config/DummyConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;">config.status: creating include/YODA/Config/YodaConfig.h</div><div style="margin: 0px; line-height: normal;">config.status: include/YODA/Config/YodaConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;">config.status: creating include/YODA/Config/BuildConfig.h</div><div style="margin: 0px; line-height: normal;">config.status: include/YODA/Config/BuildConfig.h is unchanged</div><div style="margin: 0px; line-height: normal;">config.status: executing depfiles commands</div><div style="margin: 0px; line-height: normal;">config.status: executing libtool commands</div><div style="margin: 0px; line-height: normal; min-height: 14px;"><br></div><div style="margin: 0px; line-height: normal;">************************************************************</div><div style="margin: 0px; line-height: normal;">YODA CONFIGURED!</div><div style="margin: 0px; line-height: normal; min-height: 14px;"><br></div><div style="margin: 0px; line-height: normal;">Now build and install (to the /Users/jung/jung/cvs/rivet-2.6.0 tree) with e.g.</div><div style="margin: 0px; line-height: normal;">make -j2 && make -j2 install</div><div style="margin: 0px; line-height: normal;">************************************************************</div></div><div>------------------</div><div><br></div><div><br></div><div>
<span style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px;"><span style="border-collapse: separate; 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-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span style="border-collapse: separate; 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-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span style="font-size: 12px; ">***********************************************************************</span></div></div></span></div><span style="border-collapse: separate; 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-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span style="border-collapse: separate; 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-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span style="font-size: 12px; "><div>Hannes Jung </div><div>Email: <a href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> </div><div>mobile :+49 40 8998 93741</div><div><a href="http://www.desy.de/~jung">http://www.desy.de/~jung</a>                                        </div><div>Tel: +49 (0) 40 8998 3741         </div><div>Fax: +49 (0) 40 8994 3741</div></span></div></div></span><span style="border-collapse: separate; 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-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span style="font-size: 12px; "><div>DESY, CMS 01B/02.213</div><div>Notkestr.85, 22603 Hamburg, FRG   </div><div>***********************************************************************</div><br></span></div></div></span><br></div></span><br></div></div></span></span><br>
</div>

<br></div>_______________________________________________
<br>Rivet mailing list
<br>Rivet@projects.hepforge.org
<br>https://www.hepforge.org/lists/listinfo/rivet<br></div></body>
            </blockquote>
          </div>