﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
248	Readline egg will not build without libtermcap	ewfalor	felix winkelmann	"Running `chicken-install readline` fails with the following error message:

----------8<----------

installing readline: ...
changing current directory to /tmp/chicken-install-216.tmp/readline
  /usr/local/stow/chicken-4.5.0/bin/csi -bnq -setup-mode -e ""(require-library setup-api)"" -e ""(import setup-api)"" -e ""(extension-name-and-version '(\""readline\"" \""\""))"" /tmp/chicken-install-216.tmp/readline/readline.setup
  /usr/local/stow/chicken-4.5.0/bin/csc -feature compiling-extension -setup-mode    -s -o rlu-test rl-usable-test.scm -lreadline -lhistory -ltermcap
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: gcc rlu-test.o -o rlu-test -shared -lreadline -lhistory -ltermcap -L""/usr/local/stow/chicken-4.5.0/lib""  -Wl,-R""/usr/local/stow/chicken-4.5.0/lib"" -lchicken -lm -ldl

shell command failed with nonzero exit status 256:

  /usr/local/stow/chicken-4.5.0/bin/csc -feature compiling-extension -setup-mode    -s -o rlu-test rl-usable-test.scm -lreadline -lhistory -ltermcap

--------->8----------

It appears that the problem is with the check-rllibs syntax in readline.setup.  Instead of trying the next combination of -l flags, it completely bails out.
"	defect	closed	major		extensions	4.5.0	fixed	readline		
