On Thu, Apr 03, 2003, Bill Campbell wrote:
> There appears to be a dependency loop between expect and tcl.
>
> Building the changes from yesterday, the tcl install failed saying:
> tcl = 8.4.1 is needed by expect-5.38-20021023
>
> Attempting a ``openpkg build expect'' returns:
> tcl = 8.4.2 is needed by expect-5.38-20030304
Not exactly a loop.
expect _embeds_ tcl because it requires part of the tcl build
environment that is not available even when you have installed
the tcl package.
However, it must embed exactly the same tcl version that you
have installed to prevent run-time conflicts.
You are not allowed to upgrade tcl because this would break the
dependency of an already existing expect package.
You are not allowed to upgrade expect because this requires the
new tcl already installed.
The ugly truth is that you have to _delete_ the expect package
and then install expect again (which then updates tcl first).
The "correct" solution is to add the missing parts to the tcl
package that allows expect to build without embedding tcl.
--
,eM""=. a"-. Michael van Elst
dWWMWM" - :GM==; [EMAIL PROTECTED]
:WWMWMw=--. "W=' cable & wireless
9WWMm==-.
"-Wmw-" CABLE & WIRELESS
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]