autoexpect : can't find package Expect

Yvon Thoraval yvon.thoraval at gmail.com
Fri Sep 30 22:48:30 PDT 2011


I do have the MacPorts one :

imyt% which tclsh
/opt/local/bin/tclsh
imyt%

then, as far as i understand, i do have to clean expect first and then
reinstall it ?
i think after a port selfupdate ?

best,

Yvon

2011/10/1 Ryan Schmidt <ryandesign at macports.org>

>
> On Sep 30, 2011, at 23:16, Yvon Thoraval wrote:
>
> > i wanted to run autoexpect and got the folowing :
> > imyt% autoexpect
> > can't find package Expect
> >     while executing
> > "package require Expect"
> >     (file "/opt/local/bin/autoexpect" line 6)
> > imyt%
> >
> > This is strange because everything like that has been installed by
> MacPorts :
> > $ which expect
> > /opt/local/bin/expect
> >
> >
> > $ which autoexpect
> > /opt/local/bin/autoexpect
> >
> >
> > what sould I do in order to have autoexpect running ?
> What about "which tclsh"? I expect (ha) that you get /usr/bin/tclsh, but
> autoexpect would require it to be /opt/local/bin/tclsh. You probably
> uninstalled the tcl port, which the expect port did not prevent you from
> doing, because it only declared tcl as a build dependency; it should be
> declared as a library dependency since it is also used at runtime. I've
> fixed this in r84766.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111001/12f5b3f7/attachment.html>


More information about the macports-users mailing list