missing flags in INCLUDES
Posted: Fri Mar 04, 2011 1:30 pm
Hello,
following some comments in the previous thread and some emails, I believe something is missing from CFLAGS, but have no idea how to put it back: when specifying
with_math_flavor="gsl"
with_math_incs="-I/gpfs/apps/GSL/1.9/64/include"
with_math_libs="-L/gpfs/apps/GSL/1.9/64/lib/gsl -lgsl"
the configure claims that gsl is unusable because the include header files are missing. In the test compilation line it is _not_ using the given -I option, so I think that the _incs are not added to CFLAGS / FCFLAGS
If I add (thanks jmb):
CFLAGS_EXTRA = -I/gpfs/apps/GSL/1.9/64/include
then it works for the configure but fails to find the includes at 01_gsl compile time...
I think the with_math_incs should be included by default, no?
In config/scripts/make-makefiles-corelibs I find:
# FIXME: hard-coded include list
include_dirs = ["incs"]
which begs for the addition of the other (fft, math etc...) inc variables. This goes into the INCLUDES variable, and compiles correctly. Yann? Some feedback when you get back?
Matthieu
following some comments in the previous thread and some emails, I believe something is missing from CFLAGS, but have no idea how to put it back: when specifying
with_math_flavor="gsl"
with_math_incs="-I/gpfs/apps/GSL/1.9/64/include"
with_math_libs="-L/gpfs/apps/GSL/1.9/64/lib/gsl -lgsl"
the configure claims that gsl is unusable because the include header files are missing. In the test compilation line it is _not_ using the given -I option, so I think that the _incs are not added to CFLAGS / FCFLAGS
If I add (thanks jmb):
CFLAGS_EXTRA = -I/gpfs/apps/GSL/1.9/64/include
then it works for the configure but fails to find the includes at 01_gsl compile time...
I think the with_math_incs should be included by default, no?
In config/scripts/make-makefiles-corelibs I find:
# FIXME: hard-coded include list
include_dirs = ["incs"]
which begs for the addition of the other (fft, math etc...) inc variables. This goes into the INCLUDES variable, and compiles correctly. Yann? Some feedback when you get back?
Matthieu