<div dir="ltr">Like this: &quot;sudo port install tk +x11&quot;<div><br></div><div>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 3:49 PM, Zhu, Jianxin <span dir="ltr">&lt;<a href="mailto:jxzhu@lanl.gov" target="_blank">jxzhu@lanl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>David, </div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
<div>How do we set in MacPorts to install tk with variant +x11?</div>
<div><br>
</div>
<div>Thanks, </div>
<div><br>
</div>
<div>Jianxin</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>David Strubbe &lt;<a href="mailto:dstrubbe@civet.berkeley.edu" target="_blank">dstrubbe@civet.berkeley.edu</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>XCrySDen mailing list &lt;<a href="mailto:xcrysden@democritos.it" target="_blank">xcrysden@democritos.it</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Saturday, November 9, 2013 12:09 PM<br>
<span style="font-weight:bold">To: </span>&quot;tone. kokalj&quot; &lt;<a href="mailto:tone.kokalj@ijs.si" target="_blank">tone.kokalj@ijs.si</a>&gt;, XCrySDen mailing list &lt;<a href="mailto:xcrysden@democritos.it" target="_blank">xcrysden@democritos.it</a>&gt;<br>

<span style="font-weight:bold">Subject: </span>Re: [xcrysden] xcrysden mesa/tc/tk on MacOS<br>
</div><div><div class="h5">
<div><br>
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">
<div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I would like to follow up on this report and give some good news. I found there is a very simple solution to get tcl/tk 8.5.13 and 8.6.1 to work from MacPorts in XCrySDen: just make sure tk installed with variant +x11 rather than the default +quartz, since
 XCrySDen is using X11. The only problem with the newer tk versions in MacPorts was that +quartz became the default. All variants for tcl were fine for compilation and runnning, using &quot;<span style="font-family:arial,sans-serif;font-size:13px">-DUSE_INTERP_RESULT&quot;
 in CFLAGS as Tone recommended.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">David</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jan 24, 2013 at 12:49 PM, Tone Kokalj <span dir="ltr">
&lt;<a href="mailto:tone.kokalj@ijs.si" target="_blank">tone.kokalj@ijs.si</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, 2013-01-18 at 12:59 -0500, David Strubbe wrote:<br>
<br>
&gt; As I mentioned originally, the program compiles and runs fine for me<br>
&gt; with Tcl and Tk 8.5.12. Also, I checked that the same is true if I use<br>
&gt; the cflag -DUSE_INTERP_RESULT. Is this what you are asking?<br>
<br>
</div>
More or less. This indicates that other fixes besides<br>
-DUSE_INTERP_RESULT are needed. I guess that due to backward<br>
incompatibility of Tcl/Tk8.6 with the 8.5 and older versions some code<br>
adjustment will probably be necessary.<br>
<div>
<div><br>
Regards,<br>
<br>
--<br>
Anton Kokalj<br>
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia<br>
(tel: <a href="tel:%2B386-1-477-3523" value="+38614773523" target="_blank">+386-1-477-3523</a> // fax:<a href="tel:%2B386-1-477-3822" value="+38614773822" target="_blank">+386-1-477-3822</a>)<br>
<br>
Please, if possible, avoid sending me Word or PowerPoint attachments.<br>
See:  <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br>
<br>
_______________________________________________<br>
XCrySDen mailing list<br>
<a href="mailto:XCrySDen@democritos.it" target="_blank">XCrySDen@democritos.it</a><br>
<a href="http://www.democritos.it/mailman/listinfo/xcrysden" target="_blank">http://www.democritos.it/mailman/listinfo/xcrysden</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div></div></span>
</div>

<br>_______________________________________________<br>
XCrySDen mailing list<br>
<a href="mailto:XCrySDen@democritos.it">XCrySDen@democritos.it</a><br>
<a href="http://www.democritos.it/mailman/listinfo/xcrysden" target="_blank">http://www.democritos.it/mailman/listinfo/xcrysden</a><br>
<br></blockquote></div><br></div>