<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 &lt;<a href="mailto:flyingunicorns5724@gmail.com">flyingunicorns5724@gmail.com</a>&gt; 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:&quot;Andale Mono&quot;;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:&quot;Andale Mono&quot;;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> - &quot;/opt/local/include/&quot; to CPPPATH</div><div> - &quot;/opt/local/lib/&quot; 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:&quot;Andale Mono&quot;;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:&quot;Andale Mono&quot;;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:&quot;Andale Mono&quot;;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:&quot;Andale Mono&quot;;color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span style="font-variant-ligatures:no-common-ligatures">File &quot;/opt/anaconda3/lib/python3.8/site-packages/SCons/Script/Main.py&quot;, 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 &lt;<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>&gt; 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 &quot;/opt/local/include/&quot; in CPPPATH.<br>
<br>
You then likely have to add &quot;/opt/local/lib/&quot; 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>
&gt; Hello All,<br>
&gt; <br>
&gt; Appreciate if somebody can help out with this error:<br>
&gt; <br>
&gt; $ scons<br>
&gt; <br>
&gt; scons: Reading SConscript files ...<br>
&gt; <br>
&gt; scons: done reading SConscript files.<br>
&gt; <br>
&gt; scons: Building targets ...<br>
&gt; <br>
&gt; Compiling<br>
&gt; Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o<br>
&gt; <br>
&gt; Src/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.cc:16:10:<br>
&gt; fatal error: gsl/gsl_sf_ellint.h: No such file or directory<br>
&gt; <br>
&gt;    16 | #include &lt;gsl/gsl_sf_ellint.h&gt;<br>
&gt; <br>
&gt;       |          ^~~~~~~~~~~~~~~~~~~~~<br>
&gt; <br>
&gt; compilation terminated.<br>
&gt; <br>
&gt; scons: ***<br>
&gt; [Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o]<br>
&gt; Error 1<br>
&gt; <br>
&gt; scons: building terminated because of errors.<br>
&gt; <br>
&gt; the gsl library is already installed in my mac. I installed it both using<br>
&gt; MacPorts and brew<br>
&gt; <br>
&gt; $ ls /usr/local/Cellar/gsl/2.7/lib/<br>
&gt; <br>
&gt; libgsl.25.dylib libgsl.a libgsl.dylib libgslcblas.0.dylib libgslcblas.a<br>
&gt; libgslcblas.dylib pkgconfig<br>
&gt; <br>
&gt; $ ls /opt/local/lib/*gsl*<br>
&gt; <br>
&gt; /opt/local/lib/libgsl.25.dylib /opt/local/lib/libgsl.dylib<br>
&gt; /opt/local/lib/libgslcblas.a<br>
&gt; <br>
&gt; /opt/local/lib/libgsl.a /opt/local/lib/libgslcblas.0.dylib<br>
&gt; /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>