Hi,
I’m trying to install root to a new linux box with Fedora 17. I’m restricted from using yum to install this (since we don’t have the ability to designate the installation), but also wanted to get the latest and greatest of the source code. So I went ahead and svn co root.cern.ch/svn/root/trunk and built it and installed it to the appropriate directory. But when I had tried to verify this installation, there seems to be a lot of things wrong, that I’m at a lost of figuring out what’s wrong. Much of the errors seem to be reffering to functions not existing. For instance when trying to just spawn TBrowser, I get this error:
ROOT 5.99/01 (trunk@48161, Dec 21 2012, 00:32:25 on linuxx8664gcc)
cling C/C++ Interpreter: type .? for help.
root [0] TBrowser T
Error in TQObject::CheckConnectArgs: signal TGHtmlBrowser::Clicked(char*) does not exist
(class TBrowser) @0x7ffda37a5028
root [1]
And when I attempt to load a tree structure and tried to execute the StartViewer(), I get this crash:
root [0] .L libMyEvent.so
root [1] TFile f(“tree.root”)
(class TFile) @0x7fdfe82921f8
root [2] tr->StartViewer()
Warning in TClass::TClass: no dictionary for class TCling is available
Error in TCling::InspectMembers: Cannot find Decl for class TTree
Warning in TClass::TClass: no dictionary for class TMessageHandler is available
Error in TCling::InspectMembers: Cannot find Decl for class TAttLine
Error in TCling::InspectMembers: Cannot find Decl for class TAttFill
Error in TCling::InspectMembers: Cannot find Decl for class TAttMarker
Warning in TClass::TClass: no dictionary for class TStreamerArtificial is available
Warning in TClass::TClass: no dictionary for class TArrayD is available
Warning in TClass::TClass: no dictionary for class TArrayI is available
Warning in TClass::TClass: no dictionary for class TVirtualIndex is available
Stack dump:
0. input_line_850:2:2: current parser token ‘tr’
- input_line_850:1:25: parsing function body ‘__cling_Un1Qu314’
- input_line_850:1:25: in compound statement (’{}’)
*** Break *** segmentation violation
Nothing has changed in the code and this same code seems to run fine on a machine where root was installed via yum’ed installed. Is this not possible to build the whole root library with just downloading from the repository, building it and installing it? I thought that when I checked out the trunk, that this repository contained all the functionality (and all libs) that root offered. Is that not the case? Or is there some special option I need to set when I run configure, other than the --prefix?
I can attach the code that generated the root file I tried to load above, but I hardly think this code is the problem (since it seems to be able to generate and load this file on a machine that had root yum’ed installed). There’s something wrong with my root build such that I’m missing some necessary libraries. My hope is to be able to encapsulate ROOT software to a directory other than /usr/ (e.g. my local directory).