Root 5.10 does not compile on os x 10.4.*

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.

Have I missed some setup step out?

Thanks,

Mark
make.txt (340 KB)
config.txt (4.05 KB)

Hi,

can you try with setting in your shell before running make:

export MACOSX_DEPLOYMENT_TARGET=10.4

Using 10.4 we have no problems compiling ROOT.

Cheers, Fons.

I tried the suggestion and get even less far with make:

make: gfortran: Command not found
gcc -O2 -pipe -W -Wall -Wno-long-double -fsigned-char -fno-common -I/usr/X11R6/include -Iinclude -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c
gcc -O2 -pipe -W -Wall -Wno-long-double -fsigned-char -fno-common -I/usr/X11R6/include -Iinclude -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/ifparser.o -c build/rmkdepend/ifparser.c
gcc -O2 -pipe -W -Wall -Wno-long-double -fsigned-char -fno-common -I/usr/X11R6/include -Iinclude -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/include.o -c build/rmkdepend/include.c
gcc -O2 -pipe -W -Wall -Wno-long-double -fsigned-char -fno-common -I/usr/X11R6/include -Iinclude -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/main.o -c build/rmkdepend/main.c
In file included from build/rmkdepend/main.c:55:
/usr/include/AvailabilityMacros.h:101:6: #error MAC_OS_X_VERSION_MAX_ALLOWED must be >= MAC_OS_X_VERSION_MIN_REQUIRED
build/rmkdepend/main.c: In function redirect': build/rmkdepend/main.c:739: warning: implicit declaration of functionfchmod’
make: *** [build/rmkdepend/main.o] Error 1
^X^C

Do I need to do something else? I am using os x 10.4.6 currently.

Thanks,

Mark