tclsh testing - error on source for committers tips and tricks code

Darren Weber dweber at macports.org
Mon Oct 5 10:51:47 PDT 2009


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:

[ me at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20091005/3e9c603c/attachment.html>


More information about the macports-dev mailing list