Thanks, Erik. I think I figured out what was wrong, after reading a bit more about how include_next works --- I'd accumulated a lot of additions to my environment variables (PATH, LD_LIBRARY_PATH, INCLUDE_DIR) in .bashrc, and these extra paths were confusing the preprocessor.
So I cleared that all out and it looks like it's compiling now. Thanks again! Bernard On 19 March 2018 at 19:57, Erik Schnetter <[email protected]> wrote: > Bernard > > Yes, this is looking for another file of that name. It might be that > Macports's GCC is mis-installed. I would try a fresh checkout of the > ET first, and then look at re-installing GCC. > > Be careful: this might be a quite laborious route. > > -erik > > > On Mon, Mar 19, 2018 at 8:37 PM, Bernard Kelly <[email protected]> wrote: >> 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 >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.einsteintoolkit.org/mailman/listinfo/users > > > > -- > Erik Schnetter <[email protected]> > http://www.perimeterinstitute.ca/personal/eschnetter/ _______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
