At http://trac.macports.org/wiki/CommittersTipsAndTricks

there is a section titled:
Do Explorative Programming in tclsh with Readline SupportIt contains tcl
code to source after starting tclsh (8.4?) under rlwrap, as follows:

source /Library/Tcl/macports1.0/macports_fastload.tcl
package require macports 1.0
set portarchivemode no
package require port 1.0
package require Pextlib
set prefix /opt/local

In my bash aliases, there are:
alias tclsh='rlwrap /opt/local/bin/tclsh'
alias tclsh8.4='rlwrap /usr/bin/tclsh8.4'
alias tclsh8.5='rlwrap /opt/local/bin/tclsh8.5'

On loading the tcl script (using any of the above aliases), this is the
error given:

[ m...@xxx ~ ]$ tclsh8.4
% source /Users/dweber/bin/macports_testing.tcl
can't read "workpath": can't read "portbuildpath": no such variable
%

(Sorry I don't have time to track this down any further.)

Can we get a fix for this?  Should this be a ticket on port?  Should the
tips & tricks instructions get an update?

Take care,
Darren
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to