<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Update submitted<div><br></div><div><div><div><a href="https://trac.macports.org/ticket/32491">https://trac.macports.org/ticket/32491</a></div><div><br></div><div>On 10 Dec 2011, at 3:42pm, Rodolfo Aramayo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Chris,<br><br>Thank You. I will wait for you to submit your solution<br><br>Thanks again<br><br>--R<br><br><div class="gmail_quote">On Sat, Dec 10, 2011 at 07:59, Chris Jones <span dir="ltr"><<a href="mailto:jonesc@hep.phy.cam.ac.uk">jonesc@hep.phy.cam.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Yes, I'm aware of this. The problem is the opengl variant requires glew to be installed with the x11 variant, which is not the default. For some reason with the latest root update this is now causing problems..<br>
<br>
I'm working on a solution, which is to use a feature of root which is to build its own built-in GLEW support, and not rely on the external version, which it previously was doing. I have a few checks to run, but so far this seems to be working, so I hope to submit an update soon.<br>


<br>
In the meantime, you have two work arounds<br>
<br>
 - install without the opengl variant. If you are upgrading from a version with this enabled (which was the default) you will need to uninstall then reinstall from scratch.<br>
<br>
- reinstall glew with the x11 variant.<br>
<br>
Chris<br>
<div><div class="h5"><br>
On 10 Dec 2011, at 3:51am, Rodolfo Aramayo wrote:<br>
<br>
> Folks,<br>
><br>
> Am I the only one having issues building root?<br>
><br>
> It is failing to build in all my 12 machines<br>
><br>
> The last 50 lines of the log say:<br>
><br>
> ==:info:build /usr/bin/g++-4.2 -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name /opt/local/lib/root/libRooStats.so -O2 -m64 -mmacosx-version-min=10.6 -o lib/libRooStats.so roofit/roostats/src/AsymptoticCalculator.o roofit/roostats/src/BayesianCalculator.o roofit/roostats/src/BernsteinCorrection.o roofit/roostats/src/ConfidenceBelt.o roofit/roostats/src/FeldmanCousins.o roofit/roostats/src/FrequentistCalculator.o roofit/roostats/src/HLFactory.o roofit/roostats/src/Heaviside.o roofit/roostats/src/HybridCalculator.o roofit/roostats/src/HybridCalculatorOriginal.o roofit/roostats/src/HybridPlot.o roofit/roostats/src/HybridResult.o roofit/roostats/src/HypoTestCalculatorGeneric.o roofit/roostats/src/HypoTestInverter.o roofit/roostats/src/HypoTestInverterOriginal.o roofit/roostats/src/HypoTestInverterPlot.o roofit/roostats/src/HypoTestInverterResult.o roofit/roostats/src/HypoTestPlot.o roofit/roostats/src/HypoTestResult.o roofit/roostats/src/LikelihoodInterval.o roofit/roostats/src/LikelihoodIntervalPlot.o roofit/roostats/src/MCMCCalculator.o roofit/roostats/src/MCMCInterval.o roofit/roostats/src/MCMCIntervalPlot.o roofit/roostats/src/MarkovChain.o roofit/roostats/src/MetropolisHastings.o roofit/roostats/src/ModelConfig.o roofit/roostats/src/NeymanConstruction.o roofit/roostats/src/NumberCountingPdfFactory.o roofit/roostats/src/NumberCountingUtils.o roofit/roostats/src/PdfProposal.o roofit/roostats/src/PointSetInterval.o roofit/roostats/src/ProfileInspector.o roofit/roostats/src/ProfileLikelihoodCalculator.o roofit/roostats/src/ProfileLikelihoodTestStat.o roofit/roostats/src/ProposalHelper.o roofit/roostats/src/RatioOfProfileLikelihoodsTestStat.o roofit/roostats/src/RooStatsUtils.o roofit/roostats/src/SPlot.o roofit/roostats/src/SamplingDistPlot.o roofit/roostats/src/SamplingDistribution.o roofit/roostats/src/SequentialProposal.o roofit/roostats/src/SimpleInterval.o roofit/roostats/src/SimpleLikelihoodRatioTestStat.o roofit/roostats/src/ToyMCSampler.o roofit/roostats/src/ToyMCStudy.o roofit/roostats/src/UniformProposal.o roofit/roostats/src/UpperLimitMCSModule.o roofit/roostats/src/G__RooStats.o -ldl -Llib -lRooFit -lRooFitCore -lTree -lRIO -lHist -lMatrix -lMathCore -lMinuit -lFoam -lGraf -lGpad -Llib -lCore -lCint<br>


> :info:build Undefined symbols:<br>
> :info:build   "FTGLBitmapFont::FTGLBitmapFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build   "FTGLTextureFont::FTGLTextureFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build   "FTGLOutlineFont::FTGLOutlineFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build   "FTGLPolygonFont::FTGLPolygonFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build       TGLText::SetGLTextFont(short) in TGLText.o<br>
> :info:build   "___GLXEW_ARB_multisample", referenced from:<br>
> :info:build       TGLFormat::InitAvailableSamples()      in TGLFormat.o<br>
> :info:build   "FTGLPixmapFont::FTGLPixmapFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build   "FTFont::BBox(char const*, float&, float&, float&, float&, float&, float&)", referenced from:<br>
> :info:build       TGLFont::BBox(char const*, float&, float&, float&, float&, float&, float&) constin TGLFontManager.o<br>
> :info:build       TGLFont::MeasureBaseLineParams(float&, float&, float&, char const*) constin TGLFontManager.o<br>
> :info:build       TGLText::BBox(char const*, float&, float&, float&, float&, float&, float&)in TGLText.o<br>
> :info:build       TGLText::PaintBBox(char const*)in TGLText.o<br>
> :info:build       TGLText::PaintGLText(double, double, double, char const*)in TGLText.o<br>
> :info:build   "FTGLExtrdFont::FTGLExtrdFont(char const*)", referenced from:<br>
> :info:build       TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o<br>
> :info:build ld: symbol(s) not found<br>
> :info:build collect2: ld returned 1 exit status<br>
> :info:build make: *** [lib/libRGL.so] Error 1<br>
> :info:build make: *** Waiting for unfinished jobs....<br>
> :info:build ==> lib/libRooStats.so done<br>
> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root'<br>
> :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root" && /usr/bin/make -j2 -w all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= " returned error 2<br>


> :error:build Target org.macports.build returned: shell command failed (see log for details)<br>
> :debug:build Backtrace: shell command failed (see log for details)<br>
>     while executing<br>
> "command_exec build"<br>
>     (procedure "portbuild::build_main" line 8)<br>
>     invoked from within<br>
> "$procedure $targetname"<br>
> :info:build Warning: the following items did not execute (for root): org.macports.install org.macports.build org.macports.destroot<br>
> :notice:build Log for root is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/main.log<br>
> ==<br>
</div></div>> _______________________________________________<br>
> macports-users mailing list<br>
> <a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>
> <a href="http://lists.macosforge.org/mailman/listinfo.cgi/macports-users" target="_blank">http://lists.macosforge.org/mailman/listinfo.cgi/macports-users</a><br>
<br>
</blockquote></div><br>
</blockquote></div><br></div></body></html>