Trouble building ROOT 5.32.03 from source on MAC OS X 10.5.8

Hello,

I’m experiencing an error when I try to build ROOT from source on this MAC OS X 10.5.8 with gcc 4.0.1

bin/rmkdepend -R -fcint/cint/src/Api.d -Y -w 1000 -- -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/Users/ricky/Desktop/root/cint/cint/inc -I/Users/ricky/Desktop/root/cint/cint/src -I/Users/ricky/Desktop/root/cint/cint/src/dict -Wno-unused-but-set-variable -pthread -I. -D__cplusplus -- cint/cint/src/Api.cxx g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/Users/ricky/Desktop/root/cint/cint/inc -I/Users/ricky/Desktop/root/cint/cint/src -I/Users/ricky/Desktop/root/cint/cint/src/dict -Wno-unused-but-set-variable -pthread -I. -o cint/cint/src/Api.o -c cint/cint/src/Api.cxx cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable" make: *** [cint/cint/src/Api.o] Error 1

Could someone tell me how to fix it? Thanks :slight_smile:

Hi

I seem to be getting the same error not sure what the issue is any help would be much appreciated.

cheers

Mark

Anyone got a solution for this? Still need some help :frowning:

Unfortunately no…
I just installed 5.28 and it seems to have worked fine, is there any reason you need 5.32?

I don’t need the latest version, but I also encountered other problems when I tried to build the older versions of ROOT…

Hi,

You could try to comment out the line:CINTCXXFLAGS += -Wno-unused-but-set-variablefrom
cint/cint/Module.mk

Cheers,
Philippe.