Compiling error

Hi rooter
I am trying to recompile cint from root 5.28.00
my command are
sudo make clean
sudo ./configure
sudo make

it goes fine, but at the end I receive the following message

cd cint/src/dict && PATH=…/…/…/lib:$PATH LD_LIBRARY_PATH=…/…/…/lib:$LD_LIBRARY_PATH DYLD_LIBRARY_PATH=…/lib:.:$DYLD_LIBRARY_PATH
…/…/…/bin/cint_tmp -nApiif.cxx -NG__API -Z0 -D__MAKECINT__
-c-1 -I…/…/inc -I…/…/…/reflex/inc -I… Api.h
Error: cannot open file “math.h” FILE:…/…/inc/G__ci.h LINE:459
!!!Removing Apiif.cxx Apiif.h !!!
make: *** [cint/src/dict/Apiif.cxx] Error 1

Hi,

I can not reproduce this problem. Is CINTSYSDIR set properly (or unset)? Can you re-try with a fresh check-out (of just the cint directories)?

Philippe.

hello mhoroub
I encounter the same problem as you when do the compiling 。Can you give some guide or clue ,Thank you very much

[quote=“Francis. Liu”]hello mhoroub
I encounter the same problem as you when do the compiling 。Can you give some guide or clue ,Thank you very much[/quote]

Hi Francis ,
I am not sure how I solved it, but perhaps you need to disable xrootd.
This can be done by reconfiguring root and then you can compile.

Cheers

Hi,

There is no need (nor is it possible) to compile CINT as part of ROOT. If you want to build CINT without ROOT then only check out the cint subdirectory, and run CINT’s ./configure (not ROOT’s!)

Cheers, Axel.