tags 645112 + patch thanks The full error message for the failing build reads
,---- | checking for library containing tigetflag... no | checking for library containing tgetent... no | configure: error: in `/tmp/zsh-4.3.12/obj-static': | configure: error: "No terminal handling library was found on your system. | This is probably a library called 'curses' or 'ncurses'. You may | need to install a package called 'curses-devel' or 'ncurses-devel' on your | system." | See `config.log' for more details `---- Ubuntu has hit this bug as well, see [1]. The attached patch against git is stolen from [2], with the commit message edited to close the Debian bug for your convenience. Note that libtinfo is only available since ncurses 5.9-2, so you should probably bump the libncursesw5-dev build-dependency. Or come up with something more sophisticated if you want the package to build unmodified in Squeeze. Cheers, Sven 1. https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/841489 2. http://launchpadlibrarian.net/81041627/zsh_4.3.11-4ubuntu2.is.3ubuntu1_4.3.11-4ubuntu2.is.3ubuntu2.diff.gz
>From 43ed25360bc4179b79bd5c623f44c7a69f7c51d6 Mon Sep 17 00:00:00 2001 From: Mitsuya Shibata <mty.shib...@gmail.com> Date: Wed, 12 Oct 2011 18:51:36 +0200 Subject: [PATCH] Add "tinfo" to --with-term-lib flag (Closes: #645112) --- debian/rules | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian/rules b/debian/rules index 2e45172..1257c76 100755 --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ CONFIGFLAGS += --enable-max-jobtable-size=256 --enable-etcdir=/etc/$(package) CONFIGFLAGS += --enable-function-subdirs CONFIGFLAGS += --enable-site-fndir=/usr/local/share/$(package)/site-functions CONFIGFLAGS += --enable-fndir=/usr/share/$(package)/functions -CONFIGFLAGS += --with-tcsetpgrp --with-term-lib="ncursesw" +CONFIGFLAGS += --with-tcsetpgrp --with-term-lib="ncursesw tinfo" CONFIGFLAGS += --enable-cap --enable-pcre CONFIGFLAGS += --enable-readnullcmd=pager CONFIGFLAGS += --enable-custom-patchlevel=Debian -- 1.7.7