I have been trying to run GSL (GSL - GNU Scientific Library - GNU Project - Free Software Foundation (FSF)) programs in FreeBSD. The library was installed fisrt via make and later via the ports:
cd /usr/ports/math/gsl/ && make install clean
pkg_add -r gsl
Both installation methods worked, to the extent that no error message appeared. However when trying to compile code that uses GSL, the following error message appears:
configure: error: cannot find gsl headers
Also, when trying one of the sample programs from here Sample Codes Using GSL Routines
the following is the result:
g++ -Wall -c qagiu_test.cpp
qagiu_test.cpp:99:33: error: gsl/gsl_integration.h: No such file or directory
How to resolve the headers issue?