<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Finally I compile Tcl &amp; Tk both version 8.4.1 with:<div class=""><br class=""></div><div class="">Tcl:&nbsp;<span style="text-indent: -108pt; font-size: 7pt; font-family: 'Times New Roman';" class="">&nbsp;</span><span style="text-indent: -108pt;" class="">./configure
--prefix=/Users/piotr/usr/ --x-include=/opt/X11/include
--x-libraries=/opt/X11/lib&nbsp;</span>--enable-threads</div><div class=""><span style="text-indent: -108pt;" class="">Tk:&nbsp;</span><span style="text-indent: -108pt; font-size: 7pt; font-family: 'Times New Roman';" class="">&nbsp;</span><span style="text-indent: -108pt;" class="">./configure
--prefix=/Users/piotr/usr --with-x --x-includes=/opt/X11/include
--x-libraries=/opt/X11/lib&nbsp;</span>--enable-threads</div><div class=""><span style="text-indent: -108pt;" class=""><br class=""></span></div><div class=""><span style="text-indent: -108pt;" class="">for some reason this didn’t see Tclx installed from macports so I&nbsp;downloaded Tclx source codes and try to compile it</span></div><div class=""><span style="text-indent: -108pt;" class=""><br class=""></span></div><div class=""><span style="text-indent: -108pt;" class="">Tclx:&nbsp;</span>./configure --prefix=/Users/piotr/usr --enable-threads &nbsp;--with-tcl=/Users/piotr/usr/src/tcl8.4.1/unix --with-help=Help</div><div class=""><br class=""></div><div class="">during compilation I have error message:</div><div class=""><br class=""></div><div class=""><div class="">./generic/tclXmath.c:205:2: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; GET_DOUBLE_VALUE(d0, args[0], t0);</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; ^</div><div class="">./generic/tclXmath.c:34:42: note: expanded from macro 'GET_DOUBLE_VALUE'</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; (doubleVar) = Tcl_WideAsDouble((argPtr).wideValue); &nbsp; &nbsp; \</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:398:51: note: expanded from macro 'Tcl_WideAsDouble'</div><div class=""># &nbsp; define Tcl_WideAsDouble(val) &nbsp; &nbsp; &nbsp; &nbsp;((double)((long)(val)))</div><div class="">&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;^</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">./generic/tclXmath.c:206:2: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; GET_DOUBLE_VALUE(d1, args[1], t1);</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; ^</div><div class="">./generic/tclXmath.c:34:42: note: expanded from macro 'GET_DOUBLE_VALUE'</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; (doubleVar) = Tcl_WideAsDouble((argPtr).wideValue); &nbsp; &nbsp; \</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:398:51: note: expanded from macro 'Tcl_WideAsDouble'</div><div class=""># &nbsp; define Tcl_WideAsDouble(val) &nbsp; &nbsp; &nbsp; &nbsp;((double)((long)(val)))</div><div class="">&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;^</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">./generic/tclXmath.c:221:14: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args[0].wideValue;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intValue</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">./generic/tclXmath.c:223:14: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args[1].wideValue;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intValue</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">./generic/tclXmath.c:227:17: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resultPtr-&gt;wideValue = (w0 &lt; w1) ? w1 : w0;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;intValue</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">./generic/tclXmath.c:229:17: error: no member named 'wideValue' in 'struct Tcl_Value'; did you mean 'intValue'?</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resultPtr-&gt;wideValue = (w0 &gt; w1) ? w1 : w0;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;intValue</div><div class="">/Users/piotr/usr/src/tcl8.4.1/generic/tcl.h:637:10: note: 'intValue' declared here</div><div class="">&nbsp; &nbsp; long intValue; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* Integer value. */</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class="">6 errors generated.</div><div class="">make: *** [tclXmath.o] Error 1</div></div><div class=""><span style="text-indent: -108pt;" class=""><br class=""></span></div><div class=""><span style="text-indent: -108pt;" class=""><br class=""></span></div><div class=""><span style="text-indent: -108pt;" class=""><br class=""></span></div><div class=""><div><blockquote type="cite" class=""><div class="">On 15 May 2015, at 23:11, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">On May 15, 2015, at 3:44 PM, mysiar wrote:<br class=""><br class=""><blockquote type="cite" class="">On 15 May 2015, at 22:36, Ryan Schmidt wrote:<br class=""><br class=""><br class=""><blockquote type="cite" class="">On May 15, 2015, at 3:35 PM, mysiar wrote:<br class=""><br class=""><blockquote type="cite" class="">On 15 May 2015, at 22:10, mysiar wrote:<br class=""><br class=""><blockquote type="cite" class="">On 15 May 2015, at 20:50, Ryan Schmidt wrote:<br class=""><br class="">On May 15, 2015, at 06:11, mysiar wrote:<br class=""><blockquote type="cite" class=""><br class="">I have a piece of software that requires tcl, tcl and tk at the same version.<br class="">I tried with latest tcl &amp; tk from macports but it is not working.<br class=""></blockquote><br class="">What piece of software? How is it not working?<br class=""></blockquote>tksu<br class=""><br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">I managed to compile tcl from source code no problem but tk fails with the error message<br class=""><br class="">d: library not found for -lX11<br class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)<br class="">Makefile:406: recipe for target 'libtk8.4.dylib' failed<br class="">gmake: *** [libtk8.4.dylib] Error 1<br class=""><br class="">configure for tk<br 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<br class=""></blockquote><br class="">Does libX11.dylib exist in /opt/X11/lib? The error message suggests it does not.<span class="Apple-converted-space">&nbsp;</span><br class=""><br class="">"--prefix=/Users/usr" is also unusual. Do you really have an OS X user account named "usr"? Is that the user you're logged in with now? If not, does the user you're logged in with have permission to modify user usr's home directory? Or are you just creating a directory /Users/usr to use as a prefix for software installation, without having a corresponding "usr" user? If so, that's also unusual.<br class=""></blockquote><br class="">my mistake the prefix path for install is /Users/piotr/usr<br class="">and piotr is my user<br class=""></blockquote><br class="">forgot to mention that libX11.dylib exists<br class="">/opt/X11/lib/libX11.dylib -&gt; libX11.6.dylib<br class=""><br class=""></blockquote><br class="">Hmm, then maybe tksu does not actually use the value of the --x-libraries configure argument correctly. You could try adding "-L/opt/X11/lib" to LDFLAGS when you configure and/or build.<br class=""></blockquote>tksu is a package of tcl scripts that uses tclx and tk<br class="">the problem I have is to compile tk 8.4.1, I managed to compile tcl 8.4.1, I have tclx 8.4.1 from macports<br class="">when I run tksu it checks if packages are not at the same version if fails.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Sorry, I meant tk, not tksu.</span><br style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Have you tried removing that check from tksu? Maybe there is no reason why the versions of tcl and tk need to be the same as the version of tclx. I note that tclx 8.4.1 was released in 2012; it seems odd that they would release in 2012 a version of tclx only compatible with a versions of tcl and tk released in 2002.</span><br style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Please remember to Reply All so that the conversation stays on the mailing list.</span></div></blockquote></div><br class=""></div></body></html>