[Users] Trouble compiling ET with MacPorts: stdlib.h
schnetter at cct.lsu.edu
Mon Mar 19 19:57:55 CDT 2018
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.
On Mon, Mar 19, 2018 at 8:37 PM, Bernard Kelly <physicsbeany at gmail.com> 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
> 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,
> /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!
> Users mailing list
> Users at einsteintoolkit.org
Erik Schnetter <schnetter at cct.lsu.edu>
More information about the Users