[Users] fatal error: gsl/gsl_sf_ellint.h: No such file or directory

Krishiv Bhatia flyingunicorns5724 at gmail.com
Wed Oct 6 13:13:37 CDT 2021


Hello Dr. Haas,

Many thanks for your reply.  I sincerely appreciate your time.

The file is there:

$ ls /opt/local/include/gsl/gsl_sf_ellint.h

/opt/local/include/gsl/gsl_sf_ellint.h

Per your advice, I added:
 - "/opt/local/include/" to CPPPATH
 - "/opt/local/lib/" to LIBPATH

Now I get:

$ scons


scons: *** No SConstruct file found.

File "/opt/anaconda3/lib/python3.8/site-packages/SCons/Script/Main.py",
line 944, in _main


On Wed, Oct 6, 2021 at 10:14 AM Roland Haas <rhaas at illinois.edu> wrote:

> Hello Krishiv,
>
> you need to check that the include file is present eg for macports this
> would be (something like):
>
> /opt/local/include/gsl/gsl_sf_ellint.h
>
> If that is not found the you will have to edit the SConstruct file you
> are using to have the path "/opt/local/include/" in CPPPATH.
>
> You then likely have to add "/opt/local/lib/" to LIBPATH.
>
> Maybe someone on this list has a macOS+macports SConstruct file for
> SelfForce1D that you could use.
>
> Yours,
> Roland
>
> > Hello All,
> >
> > Appreciate if somebody can help out with this error:
> >
> > $ scons
> >
> > scons: Reading SConscript files ...
> >
> > scons: done reading SConscript files.
> >
> > scons: Building targets ...
> >
> > Compiling
> >
> Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o
> >
> >
> Src/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.cc:16:10:
> > fatal error: gsl/gsl_sf_ellint.h: No such file or directory
> >
> >    16 | #include <gsl/gsl_sf_ellint.h>
> >
> >       |          ^~~~~~~~~~~~~~~~~~~~~
> >
> > compilation terminated.
> >
> > scons: ***
> >
> [Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o]
> > Error 1
> >
> > scons: building terminated because of errors.
> >
> > the gsl library is already installed in my mac. I installed it both using
> > MacPorts and brew
> >
> > $ ls /usr/local/Cellar/gsl/2.7/lib/
> >
> > libgsl.25.dylib libgsl.a libgsl.dylib libgslcblas.0.dylib libgslcblas.a
> > libgslcblas.dylib pkgconfig
> >
> > $ ls /opt/local/lib/*gsl*
> >
> > /opt/local/lib/libgsl.25.dylib /opt/local/lib/libgsl.dylib
> > /opt/local/lib/libgslcblas.a
> >
> > /opt/local/lib/libgsl.a /opt/local/lib/libgslcblas.0.dylib
> > /opt/local/lib/libgslcblas.dylib
>
>
>
> --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from http://pgp.mit.edu .
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20211006/966070a5/attachment-0001.html 


More information about the Users mailing list