[Developers] Fwd: Cactus_dev compilation with Intel Mac + gcc

David Rideout dprideout at gmail.com
Fri Nov 10 12:26:28 CST 2006


Hi Bernard,

I hope you don't mind my forwarding this to the developers list, but
it should be of general interest...  I get the same exact errors when
trying to compile Cactus on a powerpc Mac.  Some recent commit must
have broken Cactus on a Mac?

(Also maybe it was Erik which started this thread you speak of?  I
don't think it was me.)

Cheers,
David

---------- Forwarded message ----------
From: Bernard Kelly <bkelly at milkyway.gsfc.nasa.gov>
Date: Nov 9, 2006 1:52 PM
Subject: Cactus_dev compilation with Intel Mac + gcc
To: dprideout at gmail.com


Hi David.

I found the tail-end of a Cactus + Mac discussion that you initiated on
the cactus "Users" mailing list a few weeks ago. Does this mean you're
happily compiling Cactus on your Mac?

I checked out cactusdev recently, and totally failed to compile on my
Mac (both with gcc-4.0 or gcc-3.3). The errors set in early (after
config), with messages like the following appearing when working on
CactusBase/Boundary/ScalarBoundary

----------------------------------------------------------------------------------------
Users/kelly/Work/Cactus_Dev/src/include/cGH.h:43: error: parse error
before "CCTK_REAL8"
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:43: warning: no semicolon
at end of struct or union
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:44: warning: data
definition has no type or storage class
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:47: error: parse error
before '*' token
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:47: warning: data
definition has no type or storage class
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:73: error: parse error
before "cctk_time"
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:73: warning: data
definition has no type or storage class
/Users/kelly/Work/Cactus_Dev/src/include/cGH.h:89: error: parse error
before '}' token
[ and so on ...]
----------------------------------------------------------------------------------------


this seems to be something fundamental, and doesn't arise when compiling
the stable version of Cactus.

I could go to the Users mailing list with this, but thought you might
have some quick explanation of what's happening. Any input -- including
whom else I should bother -- is appreciated.

Thanks,

Bernard


More information about the Developers mailing list