[gobolinux-users] Rootless problem with Expect Recipe "Can't find Tcl configuration definition"

Johannes Grosse jo-grosse at web.de
Fri Mar 23 20:56:17 UTC 2007


Hi, 

I managed to Compile Expect. I may have missed something,
because the Expect recipe claims to depend on Tcl-Tk,
while on http://www.gobolinux.org/?page=recipes&name=tcl
I only find Tcl and Tk as separate packages.

Anyway, the recipe could be made to work by first
symlinking the tcl8.5a4 and tk8.5a4 directories in /Files/Compile/Source
to tcl8 and tk8 respectively. The reason is that the 
configure file searches for "../tcl[regex]" and [regex] will
not match "8.5a4".  (In other words you can simulate
my troubles my simply renaming the tcl and tk directories
in /F/C/S to something different.) 
The correct solution (as opposed to the symlinking hack
would be to hand over the correct path with the 
--with-tcl configure option.
I don't think that the correct path is in the Source
directory however. More likely something like
--with-tcl=/Programs/Tcl/Current/lib/,
though I haven't tried.

The next problem I ran into was that the Recipe violates the
FiboSandbox. This can be solved by replacing in the Recipe
the line
   '--exec-prefix=${prefix}'
by
   "--exec-prefix=${target}"

Now it compiles. 

Regards,
Johannes


On Thursday 22 March 2007 12:19, Johannes Grosse wrote:
> 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
>
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users


More information about the gobolinux-users mailing list