[Users] Trouble compiling ET with MacPorts: stdlib.h
physicsbeany at gmail.com
Tue Mar 20 00:10:51 CDT 2018
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!
On 19 March 2018 at 19:57, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> 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