[Users] Trouble compiling ET with MacPorts: stdlib.h

Bernard Kelly physicsbeany at gmail.com
Mon Mar 19 19:37:55 CDT 2018


Hi. I'm having trouble compiling the ET (current release and previous)
on Mac OS X with MacPorts.

I'm using the configuration options in
simfactory/mdb/optionlists/osx-macports.cfg

Initial make sim-config goes fine, but when I start the actual make, I
hit a problem in AHFinderDirect:

------------------------------
COMPILING arrangements/EinsteinAnalysis/AHFinderDirect/src/jtutil/array.cc
In file included from /opt/local/include/gcc/c++/bits/std_abs.h:38:0,
                 from /opt/local/include/gcc/c++/cmath:47,
                 from /opt/local/include/gcc/c++/complex:44,
                 from
/Users/bjkelly1/nobackup/codes/Cactus/src/include/cctk_Types.h:50,
                 from
/Users/bjkelly1/nobackup/codes/Cactus/configs/sim/bindings/include/AHFinderDirect/cctk_Arguments.h:14,
                 from
/Users/bjkelly1/nobackup/codes/Cactus/configs/sim/bindings/include/AHFinderDirect/cctk_ScheduleFunctions.h:1,
                 from
/Users/bjkelly1/nobackup/codes/Cactus/configs/sim/bindings/include/AHFinderDirect/cctk.h:6,
                 from
/Users/bjkelly1/nobackup/codes/Cactus/arrangements/EinsteinAnalysis/AHFinderDirect/src/jtutil/array.cc:29:
/opt/local/include/gcc7/c++/stdlib.h:30:16: fatal error: stdlib.h: No
such file or directory
 # include_next <stdlib.h>
------------------------------

The file /opt/local/include/gcc7/c++/stdlib.h definitely exists; I
think it's the "include_next" directive that's causing the problem. Is
it looking for a similarly named header file somewhere else?

Ideas/solutions welcome. Thanks!

Bernard


More information about the Users mailing list