Castor not found

Hello,

I am building root-6.06.06 and during the first cmake configuration step I get this strange output.

cmake -D builtin_xrootd=ON -D rfio=ON …/root-6.06.06

– Found Castor LIB AT /root/root/root-6.06.06-build/lib/libshift.so
– Castor not found. Switching off castor/rfio option

So, first it says it found Castor LIB and then it says it was not found. I have libshift library and headers
as stated. Maybe I am missing some additional package ?

Thanks a lot for any hints.

Best
Balint

Hi Balint,
I agree the message is very confusing. The shift library is found but the header rfio_api.h is not, so the “CASTOR” package is not found. The logic to find the header is the following

find_path(CASTOR_INCLUDE_DIR NAMES rfio_api.h PATHS 
  ${CASTOR_DIR}/include $ENV{CASTOR_DIR}/include
  /cern/pro/include
  /cern/new/include
  /cern/old/include
  /opt/shift/include
  /usr/local/shift/include
  /usr/include/shift
  /usr/local/include/shift
  PATH_SUFFIXES shift
)

So, where is it in your system?
Pere

Hi Pere,

thanks. Sorry for late reply. The problem was solved by installing the eos-client on my CentOS7 VM.
This eos-client picked up the necessary shift libraries correctly, and then the ROOT installation worked OK.

Best,
Balint