<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have a piece of software that requires tcl, tcl and tk at the same version.<div class="">I tried with latest tcl &amp; tk from macports but it is not working.</div><div class=""><br class=""></div><div class="">I managed to compile tcl from source code no problem but tk fails with the error message</div><div class=""><br class=""></div><div class=""><div class="">d: library not found for -lX11</div><div class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div class="">Makefile:406: recipe for target 'libtk8.4.dylib' failed</div><div class="">gmake: *** [libtk8.4.dylib] Error 1</div></div><div class=""><br class=""></div><div class="">configure for tk</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>./configure
--prefix=/Users/usr --with-x --x-includes=/opt/X11/include
--x-libraries=/opt/X11/lib</div><div class=""><p class="MsoListParagraph" style="margin-left:72.0pt;mso-add-space:auto"><o:p class=""></o:p></p>

<!--EndFragment--></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 15 May 2015, at 11:26, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><br class="">On May 15, 2015, at 3:22 AM, mysiar wrote:<br class=""><br class=""><blockquote type="cite" class="">I need to have tclx, tcl and tk at the same version.<br class="">latest tclx in macports 8.4.1<br class=""><br class="">I tried to install old ports as per instruction here<br class=""><a href="https://trac.macports.org/wiki/howto/InstallingOlderPort" class="">https://trac.macports.org/wiki/howto/InstallingOlderPort</a><br class=""><br class="">tcl ver 8.4.1 - revision 4163<br class="">tk ver 8.4.1 - revision 1334<br class=""><br class="">using subversion method<br class="">step 1:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>svn co -r 4163 http://svn.macports.org/repository/macports/trunk/dports/lang/tcl<br class="">step2: <br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>cd tcl<br class="">step 3:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>sudo port install <br class="">and I got error:<br class="">Can't map the URL 'file://.' to a port description file ("can't read "portname": no such variable").<br class="">Please verify that the directory and portfile syntax are correct.<br class="">To use the current port, you must be in a port's directory.<br class=""><br class="">the same problem is with tk <br class="">svn co -r 1334 http://svn.macports.org/repository/macports/trunk/dports/x11/tk<br class=""></blockquote><br class="">A lot of things have changed in MacPorts in the past 11-12 years, which is how far back you're going with those old revisions of tcl and tk. In this case, what used to be called "portname" is now called "name". You could edit this in the old portfiles, but you may run into other similar problems.<br class=""><br class="">A lot has changed in OS X too; it would be truly surprising if software 11-12 years old can build on a current version of OS X. I don't recommend continuing your attempt to install such old version of tcl and tk.<br class=""><br class="">Are you sure tclx 8.4.1 needs tcl 8.4.1 and tk 8.4.1? tclx 8.4.1 installed fine for me just now with tcl 8.6.3 and tk 8.6.3 installed.<br class=""><br class=""></div></blockquote></div><br class=""></div></body></html>