patthoyts/kitgen — Issue #1: configure can't find ../lib/tclConfig.sh
Author: zdia
Created: 2012-01-15 18:24:18+00:00
State: open

I am trying to build a tclkit on FreeBSD 8.2 and started with:

sh config.sh 8.5/kit-mybuild cli
cd 8.5/kit-mybuild
gmake

Compiling and linking went ok but the tclsh8.5 could not find package vfs when trying

tclsh8.5 critcl.kit

Looking into the build/tclvfs folder I have found a console.log with last line "exit 1"

The cause was:

configure:1472: checking for Tcl configuration
configure:1492: error: ../lib directory doesn't contain tclConfig.sh

My workaround was to create an new folder lib/ in kit-mybuild and to create a symlink to FreeBSD's /usr/local/lib/tcl8.5/tclConfig.sh

1) Wouldn't it be more stringent if the whole kitgen build stops if tclvfs configure exits with "1"?

2) Shouldn't the tclvfs configure look rather in path [info library] then in "../lib"?