<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Philipp,<div><br></div><div>Your email was extremely useful.&nbsp;</div><div><br></div><div>My initial version of asy failed all of your tests, unfortunately.</div><div><br></div><div>Compiling on Leopard Intel, &nbsp;I managed to find, compile, and install the fftw and gsl libraries. Then I threw away the .dylib versions of the lib files. After recompiling asy, I got a version which passed your first two tests, even after throwing away the fftw and gsl libraries. So I claim that I managed to statically link those libraries. (I still have to test by doing this on my actual build machines, which run Tiger rather than Leopard. But I suspect I can use those libraries.)</div><div><br></div><div>According to ./configure, the gc library was found and included.</div><div><br></div><div>Initially the OpenGL test failed, but that may be because Ghostscript wasn't installed. After rebuilding as above, all of your tests including the OpenGL test work. This means that if I compile on Leopard and then test on Leopard, all of the libraries work.&nbsp;</div><div><br></div><div>But actually we compile on Tiger and then run on Tiger AND Leopard AND Snow Leopard. So more tests follow. I'll let you know the results ...</div><div><br></div><div>Dick Koch</div><div><br></div><div><div><div><div><div>On Jun 28, 2009, at 9:34 AM, Philipp Stephani wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>Here is a very short piece of code. This should fail if one of the<br>libraries is not there. The garbage collector cannot be tested in this<br>way, unfortunately. If a shared library is expected but missing, the<br>loader simply refuses to execute the program.<br><br>size(4cm, 0);<br><br>// Test GSL<br>access gsl;<br>write(gsl.sinc(0));<br>write();<br><br>// Test FFTW<br>int n = 4;<br>pair[] f = sequence(n);<br>write(f);<br>pair[] g = fft(f, -1);<br>write();<br>write(g);<br>f=fft(g, 1);<br>write();<br>write(f/n);<br>write();<br><br>// Test OpenGL<br>access settings;<br>access three;<br>settings.render = -1;<br>settings.outformat = "png";<br>three.draw(three.unitsphere);<br><br></div></blockquote></div><br></div></div></div></body></html>