Re: "Cannot find plugin handler for TVirtualStreamerInfo!"

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Sat, 22 May 2010 13:01:00 -0500


Hi,

Since you have in your configure line:

     --prefix=/home/ian/Desktop/GATE_ROOT/root

you must finish the build with

     gmake install

also /home/ian/Desktop/GATE_ROOT/root must NOT be the same location as where you extract the source code. We usually recommend that you do not use --prefix (unless you want only one version of root installed on your system ... always at the same place) and instead rely on ROOTSYS (for example set via sourcing the script $ROOTSYS/bin/thisroot.sh

Cheers,
Philippe

On 5/22/10 12:54 PM, Sabuj Pattanayek wrote:
> Hi all,
>
> I'm trying to get root to work with gate
> (http://wiki.opengatecollaboration.org/index.php/InstallationGuide).
> For analyzing the benchmark data it says to run :
>
> root benchmarkPET.C
>
> When I do that I get the error :
>
> ian_at_ian-desktop:~/Desktop/GATE_ROOT/gate_v6.0.0/benchmarks/benchPET$
> root benchmarkPET.C
> rootx xpm error: XpmOpenFailed
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 5.27/02 26 April 2010 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> ROOT 5.27/02 (trunk_at_33224, May 22 2010, 09:04:00 on linux)
>
> CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0]
> Processing benchmarkPET.C...
> Error in<TPluginManager::FindHandler>: Cannot find plugin handler for
> TVirtualStreamerInfo! Does $ROOTSYS/etc/plugins/TVirtualStreamerInfo
> exist?
>
> *** Break *** segmentation violation
> sh: /etc/root/gdb-backtrace.sh: not found
> Root>
>
> The directory exists :
>
> ian_at_ian-desktop:~$ ls -l $ROOTSYS/etc/plugins/TVirtualStreamerInfo
> total 4
> -rw-r--r-- 1 ian ian 135 2010-04-27 04:38 P010_TStreamerInfo.C
>
> an strace/the .C code shows that it tries to open benchmarkPET.root in
> the same directory, which I generated using Gate. Is that .root file
> somehow corrupted or could this be some other problem ?
>
> Here's the .C file :
>
> http://docs.google.com/leaf?id=0Bz34VEeZ9iRZYWQ0OTQyNWUtNDM4Zi00YWQyLWJiNWQtODMxZDdhZDk4ZDQw&hl=en
>
> Here's the config.status for the root I built from source :
>
> http://docs.google.com/leaf?id=0Bz34VEeZ9iRZOTFmYTgzNGQtNzJlZi00NGJlLWFjZTEtYWNhMWU2YTIzMDEw&hl=en
>
> Here's the config.log for the root I built from source :
>
> http://docs.google.com/leaf?id=0Bz34VEeZ9iRZMGI3NDVkZDEtNzRhOS00ZTIwLThkMzQtYWI1YjAxNmM3ZDVh&hl=en
>
> Here's the strace -ff for the error above:
>
> http://docs.google.com/leaf?id=0Bz34VEeZ9iRZYzFkOWQzNmYtODNmOS00OGQ5LTk4MDUtOWE5ZmQyNGNlZDYw&hl=en
>
> I should also say that I had to make some modifications to
> $ROOTSYS/bin/thisroot.sh because it kept making LD_LIBRARY_PATH,
> SHLIB, DYLD_LIBRARY_PATH, etc point to $ROOTSYS/root/lib/root instead
> of $ROOTSYS/root/lib . Even then I had a to fix a bunch of errors by
> making symlinks when starting root because it couldn't find iostream
> and other "header" files because again it was looking for items in
> dirs like $ROOTSYS/lib/cint/cint/include rather than
> $ROOTSYS/cint/cint/include .
>
> Thanks,
> Sabuj Pattanayek
>
>
Received on Sat May 22 2010 - 20:01:11 CEST

This archive was generated by hypermail 2.2.0 : Mon May 24 2010 - 23:50:01 CEST