old ports install problem

Ryan Schmidt ryandesign at macports.org
Fri May 15 02:26:45 PDT 2015


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.



More information about the macports-users mailing list