I have a piece of software that requires tcl, tcl and tk at the same version.
I tried with latest tcl & tk from macports but it is not working.

I managed to compile tcl from source code no problem but tk fails with the 
error message

d: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:406: recipe for target 'libtk8.4.dylib' failed
gmake: *** [libtk8.4.dylib] Error 1

configure for tk
        ./configure --prefix=/Users/usr --with-x --x-includes=/opt/X11/include 
--x-libraries=/opt/X11/lib






> On 15 May 2015, at 11:26, Ryan Schmidt <[email protected]> wrote:
> 
> 
> On May 15, 2015, at 3:22 AM, mysiar wrote:
> 
>> I need to have tclx, tcl and tk at the same version.
>> latest tclx in macports 8.4.1
>> 
>> I tried to install old ports as per instruction here
>> https://trac.macports.org/wiki/howto/InstallingOlderPort
>> 
>> tcl ver 8.4.1 - revision 4163
>> tk ver 8.4.1 - revision 1334
>> 
>> using subversion method
>> step 1:
>>      svn co -r 4163 
>> http://svn.macports.org/repository/macports/trunk/dports/lang/tcl
>> step2: 
>>      cd tcl
>> step 3:
>>      sudo port install 
>> and I got error:
>> Can't map the URL 'file://.' to a port description file ("can't read 
>> "portname": no such variable").
>> Please verify that the directory and portfile syntax are correct.
>> To use the current port, you must be in a port's directory.
>> 
>> the same problem is with tk 
>> svn co -r 1334 
>> http://svn.macports.org/repository/macports/trunk/dports/x11/tk
> 
> 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.
> 
> 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.
> 
> 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.
> 

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to