Help - CASToR launch and install error

Hi All,

I am new to CASToR. I installed it and I am trying to convert the ROOT file from GATE simulation as Castor data file and geom file for analysis. But, I am getting the following message. Could anyone please let me know how to launch CASToR and use the tool?

  1. cd castor_v2.1/bin
  2. export CASTOR_CONFIG=/home/sowmiya/castor_v2.1/config/
  3. castor_v2.1$ castor-GATERootToCastor -i …/…/PET_eg_output.root -o PET_phantom -m …/…/PET_CylindricalPET_System.mac -geo -s PET_phantom

castor-GATERootToCastor: command not found

So, I tried to build CASToR with export CASTOR_ROOT=1. I am getting the following errors. Could anyone please let me know what is the problem and how to correct it?

Making dependencies for datafile/iEventListPET.cc …
Making dependencies for datafile/iDataFilePET.cc …
make: root-config: Command not found
Making dependencies for algorithm/oIterativeAlgorithm.cc …
Making dependencies for algorithm/oSensitivityGenerator.cc …
In file included from toolkits/castor-GATEMacToGeom.cc:42:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from toolkits/castor-GATERootToCastor.cc:38:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from src/management/gDataConversionUtilities.cc:32:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
toolkits/castor-datafileConversionEx.cc:49:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Making dependencies for toolkits/castor-datafileConversionEx.cc …
Making dependencies for toolkits/castor-GATEMacToGeom.cc …
make: root-config: Command not found
Making dependencies for toolkits/castor-GATERootToCastor.cc …
Making dependencies for management/gDataConversionUtilities.cc …
In file included from toolkits/castor-GATEMacToGeom.cc:42:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
toolkits/castor-datafileConversionEx.cc:49:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from toolkits/castor-GATERootToCastor.cc:38:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
In file included from src/management/gDataConversionUtilities.cc:32:0:
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory
compilation terminated.
make: root-config: Command not found
make: root-config: Command not found

Thanks & Regards
Sowmiya