Whilst trying to set up AutoPilot for Windows, I've stumbled upon an error.
Background:
I checked out the source for AutoPilot, then I started to get all the needed packages. I've already installed ActiveTCL, with success. Then, I went into my MinGW/MSYS bash and typed "./autopilot.tcl", which is where I got the error:
Code: Select all
can't find package Expect
while executing
"package require Expect"
(file "./autopilot.tcl" line 23)
Code: Select all
teacup install Expect
After that is when I took a new approach...double-clicking on autopilot.tcl to try and start it. It worked much better then in MSYS, the error complaining about the package Expect was gone and it moved on to other errors which I proceeded to fix (see attached diff below for one fix for Windows systems). It worked well, I was even able to run a test server.
Question: After all this, here is my question. Does anyone know of a way to get the Expect package installed and working in an MSYS enviornment? I would prefer MSYS then regular TCL, but then I can have debug outputs in the MSYS window.
Thanks, Peter
Credits: Big thanks to Ammler on IRC today, without his help I wouldn't have gotten anywhere. Also thanks to people at #openttd.