Hello all,
I'm trying to provide a conda recipe for several FEniCS packages, and in
particular I wanted to use anaconda gcc to avoid incompatibilities
across Linux distributions[1]. However, while testing instant[2] in my
Ubuntu 14.04 machine, I get errors of this kind:
/home/.../_test/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include-fixed/features.h:338:25:
Fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
^
compilation terminated.
I've read that this error has to do with 32/64bit, but I don't
understand what's happening since I am on 64bit and it used to work with
system gcc and gfortran. The package uses SWIG to compile extension
modules, so I need some help to debug this since I don't know if it's a
problem on SWIG, gcc or some specific Anaconda issue. I have copied some
relevant information in gist[3].
Best,
Juan Luis Cano
[1]:
https://github.com/Juanlu001/fenics-recipes/issues/31
[2]:
https://github.com/Juanlu001/fenics-recipes/tree/master/instant
[3]:
https://gist.github.com/Juanlu001/02d678ab116d9eeba149