[MacPorts] #39854: root: unable to use TGuiBuilder
#39854: root: unable to use TGuiBuilder ---------------------+----------------------------------- Reporter: mojca@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: root ---------------------+----------------------------------- I have the following version (variants) of root installed on 10.7: {{{ root @5.34.09_0+graphviz+gsl+minuit2+opengl+roofit+soversion+ssl+tmva+xml }}} If I try to launch {{{TGuiBuilder}}}, it fails with the following error: {{{ ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/09 26 June 2013 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/09 (v5-34-09@v5-34-09, Jun 26 2013, 17:10:36 on macosx64) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] new [] TGuiBuilder Error: Symbol TGuiBuilder is not defined in current scope (tmpfile):1: Error in <TCint::AutoLoadCallback>: failure loading dependent library libRIO.so for class TGuiBuilder Error in <TCint::AutoLoadCallback>: failure loading dependent library libGraf.so for class TGuiBuilder Error in <TCint::AutoLoadCallback>: failure loading dependent library libGpad.so for class TGuiBuilder Error in <TCint::AutoLoadCallback>: failure loading library libGui.so for class TGuiBuilder *** Interpreter error recovered *** root [1] }}} I will try if Qt solves the problem (it probably doesn't), but honestly I'm not sure where to start looking. The libraries are there, for example: {{{ /opt/local/lib/root/libRIO.5.34.so /opt/local/lib/root/libRIO.5.so /opt/local/lib/root/libRIO.rootmap /opt/local/lib/root/libRIO.so }}} but root indeed doesn't link against any particular dylib other than X11. {{{
otool -L /opt/local/bin/root /opt/local/bin/root: /opt/local/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0) }}}
-- Ticket URL: <https://trac.macports.org/ticket/39854> MacPorts <http://www.macports.org/> Ports system for OS X
#39854: root: unable to use TGuiBuilder ----------------------+----------------------------------- Reporter: mojca@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+----------------------------------- Comment (by jonesc@…): Hi, Why are you using operator [] to make a new instance ? This isn't an array, but a single object, so that isn't valid syntax I think. I don't have access to OSX right now, but on linux I get the same if I do {{{ root [1] new [] TGuiBuilder Error: Symbol TGuiBuilder is not defined in current scope (tmpfile):1: *** Interpreter error recovered *** }}} but {{{ root [0] new TGuiBuilder() (class TGuiBuilder*)0x2281c70 }}} works just fine. Chris -- Ticket URL: <https://trac.macports.org/ticket/39854#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39854: root: unable to use TGuiBuilder ----------------------+----------------------------------- Reporter: mojca@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+----------------------------------- Comment (by jonesc@…): Back at my Mac, and {{{ new TGuiBuilder() }}} Works perfectly, as I expected. Please could a committer close this report as invalid ? cheers Chris -- Ticket URL: <https://trac.macports.org/ticket/39854#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39854: root: unable to use TGuiBuilder ----------------------+----------------------------------- Reporter: mojca@… | Owner: mattiafrancescomoro@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: root | ----------------------+----------------------------------- Comment (by mojca@…): Gosh. Because I cleverly mistyped the example from http://root.cern.ch/drupal/content/how-use-root-gui-builder which says that one should use {{{ [] new TGuiBuilder }}} so I typed {{{ new [] TGuiBuilder }}} and kept copy-pasting to every further window. I "forgot to think about it" and the error looked like a misconfigured installation. I guess I should say "sorry for the noise (but it would be really nice if the error report was slightly more accurate)" ;). -- Ticket URL: <https://trac.macports.org/ticket/39854#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39854: root: unable to use TGuiBuilder ----------------------+----------------------------------- Reporter: mojca@… | Owner: mattiafrancescomoro@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: root | ----------------------+----------------------------------- Changes (by mojca@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/39854#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts