I downloaded the source tar file for root 5.10 and tried to compile it on os x. After setting ROOTSYS and DYLD_LIBRARY_PATH=$ROOTSYS/lib I do:
./configure --enable-roofit
make
eventually it stops and complains:
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -ldl is not an object file (not allowed in a library)
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library)
make: *** [lib/libCint.dylib] Error 1
I have os x 10.4 newest version. I attach the log files for ./configure and make.