<div dir="ltr"><div dir="ltr">Sorry kindly ignore the email below. I ran scons from the wrong location. <div><br></div><div>I am still getting the same error and checking. </div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 11:13 AM Krishiv Bhatia <<a href="mailto:flyingunicorns5724@gmail.com">flyingunicorns5724@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hello Dr. Haas,</div><div><br></div><div>Many thanks for your reply. I sincerely appreciate your time. </div><div><br></div><div>The file is there:</div><div><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";margin:0px;color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">$ ls /opt/local/include/gsl/gsl_sf_ellint.h</span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";margin:0px;color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">/opt/local/include/gsl/gsl_sf_ellint.h</span></p></div><div><br></div><div>Per your advice, I added:</div><div> - "/opt/local/include/" to CPPPATH</div><div> - "/opt/local/lib/" to LIBPATH</div><div><br></div><div>Now I get:</div><div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">$ scons</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">scons: *** No SConstruct file found.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">File "/opt/anaconda3/lib/python3.8/site-packages/SCons/Script/Main.py", line 944, in _main</span></p></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 10:14 AM Roland Haas <<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Krishiv,<br>
<br>
you need to check that the include file is present eg for macports this<br>
would be (something like):<br>
<br>
/opt/local/include/gsl/gsl_sf_ellint.h<br>
<br>
If that is not found the you will have to edit the SConstruct file you<br>
are using to have the path "/opt/local/include/" in CPPPATH.<br>
<br>
You then likely have to add "/opt/local/lib/" to LIBPATH.<br>
<br>
Maybe someone on this list has a macOS+macports SConstruct file for<br>
SelfForce1D that you could use.<br>
<br>
Yours,<br>
Roland<br>
<br>
> Hello All,<br>
> <br>
> Appreciate if somebody can help out with this error:<br>
> <br>
> $ scons<br>
> <br>
> scons: Reading SConscript files ...<br>
> <br>
> scons: done reading SConscript files.<br>
> <br>
> scons: Building targets ...<br>
> <br>
> Compiling<br>
> Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o<br>
> <br>
> Src/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.cc:16:10:<br>
> fatal error: gsl/gsl_sf_ellint.h: No such file or directory<br>
> <br>
> 16 | #include <gsl/gsl_sf_ellint.h><br>
> <br>
> | ^~~~~~~~~~~~~~~~~~~~~<br>
> <br>
> compilation terminated.<br>
> <br>
> scons: ***<br>
> [Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o]<br>
> Error 1<br>
> <br>
> scons: building terminated because of errors.<br>
> <br>
> the gsl library is already installed in my mac. I installed it both using<br>
> MacPorts and brew<br>
> <br>
> $ ls /usr/local/Cellar/gsl/2.7/lib/<br>
> <br>
> libgsl.25.dylib libgsl.a libgsl.dylib libgslcblas.0.dylib libgslcblas.a<br>
> libgslcblas.dylib pkgconfig<br>
> <br>
> $ ls /opt/local/lib/*gsl*<br>
> <br>
> /opt/local/lib/libgsl.25.dylib /opt/local/lib/libgsl.dylib<br>
> /opt/local/lib/libgslcblas.a<br>
> <br>
> /opt/local/lib/libgsl.a /opt/local/lib/libgslcblas.0.dylib<br>
> /opt/local/lib/libgslcblas.dylib<br>
<br>
<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</blockquote></div></div>
</blockquote></div></div>