[Pkg-tcltk-devel] Bug#645273: FTBFS: probably tinfo split fallout

Sven Joachim svenjoac at gmx.de
Fri Oct 21 19:58:52 UTC 2011


Am 14.10.2011 um 00:36 schrieb Thorsten Glaser:

> Source: tclreadline
> Version: 2.1.0-10
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
>
> checking for tputs in -lncurses... no
> checking for tputs in -ltermlib... no
> checking for tputs in -ltermcap... no
> checking for tputs in -lcurses... no
> configure: error:
>             no terminal library found. Please retry with the --with-tlib argument.

I suspect that passing "--with-tlib=tinfo" to `configure' should work,
like in the following (untested) patch:

--8<---------------cut here---------------start------------->8---
--- debian/rules~	2011-10-20 14:04:20.000000000 +0200
+++ debian/rules	2011-10-21 21:53:19.956049531 +0200
@@ -52,6 +52,7 @@
 		    --prefix=/usr \
 		    --mandir=/usr/share/man \
 		    --with-tcl=/usr/lib \
+		    --with-tlib=tinfo \
 		    --with-tcl-includes=/usr/include/tcl && \
 	$(MAKE) CFLAGS="$(CFLAGS)"
 
--8<---------------cut here---------------end--------------->8---

A better fix is probably to remove the whole termlib check, since
linking against a termlib library is not necessary when you link against
readline.

Cheers,
       Sven





More information about the Pkg-tcltk-devel mailing list