[gobolinux-users] Rootless problem with Expect Recipe "Can't find Tcl configuration definition"
Johannes Grosse
jo-grosse at web.de
Thu Mar 22 11:19:12 UTC 2007
Hi,
Background blurb
----------------
I am trying to write a recipe for FreeNX and NX.
NX is a compression system for X-tunneling, which also
dramatically reduces latency times to provide ssh
X-tunneling over long distances and slow lines.
FreeNX is a FOSS server providing an interface for
NX clients.
Basically I am halfway there: NX compiles, which was a
mess; FreeNX consists entirely of shell scripts,
so it is only a manifest recipe, though I am still
struggling with the path configuration.
( In particular all of its configuration is done in one
particular shell script. Should it be placed in the bin/
or in the Settings/ directory? Currently it's in bin,
but I don't know how to handle updates gracefully in
the future.)
Problem
-------
There are some dependencies however: FreeNX requires
Expect, which in turn needs Tcl (and optionally Tk).
I installed Tcl and Tk, but "Compile Expect" gives the
following messages:
-- [snip] --
checking for Tcl configuration... configure: warning: Can't find Tcl
configuration definitions
Dbgconfigure: line 742: #: No such file or directory
cp: cannot stat `./Dbg5625/tcldbgcf.h': No such file or directory
:
[snip]
:
configure: configuring in testsuite
configure: running /bin/sh './configure'
--prefix=/users/stud/jgrosse/Programs/Expect/5.44.1
'--prefix=/users/stud/jgrosse/Programs/Expect/5.44.1'
'--sysconfdir=/users/stud/jgrosse/Programs/Expect/Settings'
'--localstatedir=/users/stud/jgrosse/Programs/Expect/Variable'
'--exec-prefix=' --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for Tcl configuration... configure: warning: Can't find Tcl
configuration definitions
./configure: line 614: #: No such file or directory
configure: error: /bin/sh './configure' failed for testsuite
PrepareProgram: configure failed.
Compile: Preparation step failed.
-- [snip] --
tcldbgcf.h does not exist in the source directory, but
tcldbg.h and tcldbgcf.h.in do. So I guess the former
is generated from the latter ones.
I would also like to point out, that the --exec-prefix is
empty, though there is something about it in the recipe.
Manually setting it to the prefix value did not help.
System Info
-----------
I have no idea what makes a decent bug report.
So I give you my naive guess about which info you need:
I (am currently forced to) use
GNU bash, version 2.05b.0(1)-release-(i386-pc-linux-gnu)
and my GoboLinux consists of these:
] ls -la /Programs/*/Current | sed 's/^.*:.. //'
Atool/Current -> 0.32.0
Compile/Current -> 1.8.2
FindUtils/Current -> 4.2.29
FreeNX/Current -> 0.6.0
Mtail/Current -> 1.1.1
NX-X11/Current -> 2.1.0-3
Netcat/Current -> 0.7.1
Rootless/Current -> 1.0
Scripts/Current -> 2.6.2
Tcl/Current -> 8.5a4
Tk/Current -> 8.5a4
Any hints are welcome, thanks for your time and attention,
Johannes
More information about the gobolinux-users
mailing list