<br><br><div><span class="gmail_quote">On 1/4/07, <b class="gmail_sendername">Anthony Michael Agelastos</b> &lt;<a href="mailto:iqgrande@gmail.com">iqgrande@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div><span class="e" id="q_10feb4bea3521c89_1"><div>On Jan 3, 2007, at 11:51 AM, Calum Robertson wrote:</div><blockquote type="cite"><br><br><div><span class="gmail_quote">On 1/2/07, <b class="gmail_sendername">
Anthony Michael Agelastos</b> &lt;<a href="mailto:iqgrande@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">iqgrande@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 <div><div><div><span><div>On Jan 2, 2007, at 10:34 AM, Calum Robertson wrote:</div><blockquote type="cite"><br><br><div><span class="gmail_quote">On 12/30/06, <b class="gmail_sendername"> Anthony Michael Agelastos</b> &lt;
<a href="mailto:iqgrande@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">iqgrande@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 <div><div><div><span><div>On Dec 30, 2006, at 3:40 PM, Calum Robertson wrote:</div><blockquote type="cite">Hi,<br><br>I encountered some problems when building SuiteSparse and have applied the patch using: <br><br>sudo patch -p1 &lt; patch-SuiteSparse-Portfile 
<br><br>and this appears to apply the patch:<br><br>patching file opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/SuiteSparse/Portfile <br>patching file files/patch-complex-type<br>patching file files/patch-config 
<br>patching file files/patch-disable-demos<br>patching file files/patch-macports-metis<br>patching file files/patch-powerpc-nanotime<br>patching file files/patch-size_t-fix <br><br>However, when I come to build octave, I do: 
<br><br>sudo port -v install octave<br><br>and get:<br><br>Portfile changed since last build; discarding previous state.<br>---&gt;&nbsp; Fetching SuiteSparse<br>---&gt;&nbsp; patch-complex-type doesn&#39;t seem to exist in /opt/local/var/db/dports/distfiles/SuiteSparse 
<br>---&gt;&nbsp; Attempting to fetch patch-complex-type from <a href="http://distfiles-od.opendarwin.org/SuiteSparse" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://distfiles-od.opendarwin.org/SuiteSparse 
</a><br>&nbsp; % Total&nbsp;&nbsp;&nbsp; % Received % Xferd&nbsp; Average Speed&nbsp;&nbsp; Time&nbsp;&nbsp;&nbsp; Time&nbsp;&nbsp;&nbsp;&nbsp; Time&nbsp; Current <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dload&nbsp; Upload&nbsp;&nbsp; Total&nbsp;&nbsp; Spent&nbsp;&nbsp;&nbsp; Left&nbsp; Speed<br>&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 --:--:--&nbsp; 0:00:56 --:--:--&nbsp;&nbsp;&nbsp;&nbsp; 0 
<br><br>Various attempts are made to find the file patch-complex-type to no avail. <br><br>Can someone tell me what I need to do to build SuiteSparse?<br></blockquote></span></div><div>It has been my experience that the patch is not needed if you do not mind doing some work yourself. The following steps should allow you to build SuiteSparse. 
</div><div><br></div><div>1) Go to&nbsp;<a href="http://www.cise.ufl.edu/research/sparse/SuiteSparse/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cise.ufl.edu/research/sparse/SuiteSparse/ 
</a> and download SuiteSparse-2.1.1.tar.gz. I will assume that you have this automatically download to ~/Desktop.</div><div><br></div><div>2) Do `sudo mv ~/Desktop/SuiteSparse-2.1.1.tar.gz&nbsp;/opt/local/var/db/dports/distfiles/SuiteSparse/SuiteSparse.tar.gz`. This command assumes that you have a standard MacPorts installation.&nbsp; 
</div><div><br></div><div>3) Do `sudo port install SuiteSparse` with the standard Portfile (no patch applied) and it should work.&nbsp;</div><br><blockquote type="cite"><br>Thanks.<br></blockquote><div>I hope this helps. Good luck.&nbsp; 
</div></div></div></blockquote><div><br><br>Thanks very much for the info - I got a bit further with the SuiteSparse build but got the following errors:<br><br>gfortran-dp-4.2 -o readhb readhb.f<br>make[2]: gfortran-dp-4.2
 : Command not found<br><br>I assume that I have to install gcc to get gfortran, but which version? Should I install gcc41 or gcc42?<br></div></div></blockquote></span></div>If you are on an Intel Mac, you will want to install gcc42.&nbsp; 
</div><span><div><br><blockquote type="cite"><div><div><br>Thanks.</div></div></blockquote></div></span></div></blockquote><div><br><br>Anthony,<br><br>Finally got octave to build - thanks very much for all of your help! 
<br></div></div></blockquote></span></div>No problem; I am glad my advice helped. Now that you have Octave installed, are you able to plot with it, i.e.</div><div>t=linspace(0,2*pi),y=sin(t),plot(t,y)</div><div>? This does not work for me, so I am wondering if everyone has the same problem. Thank you for your reply. Good luck.
</div><span class="sg"><div><br></div><div>-Anthony</div></span></div></blockquote><div><br><br>Hi,<br><br>I&#39;m afraid that I have the same problem as well - octave crashes when trying to plot. I&#39;ve tested gnuplot independently with some simple examples and it works fine...
<br><br>Calum.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><span class="q"><div><blockquote type="cite"><div>
<div>Calum. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span><div><blockquote type="cite"><div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><blockquote type="cite"><div style="margin: 0px;">_______________________________________________ </div><div style="margin: 0px;">macports-users mailing list</div><div style="margin: 0px;"><a href="mailto:macports-users@lists.macosforge.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 macports-users@lists.macosforge.org </a></div><div style="margin: 0px;"><a href="http://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.macosforge.org/mailman/listinfo/macports-users 
</a></div> </blockquote></div><br></div> </blockquote></div><br></blockquote></div><br></span></div> </blockquote></div><br></blockquote></div><br></span></div>
</blockquote></div><br>