Menu

#122 configure fails when with-termcap specified

open
nobody
5
2003-02-20
2003-02-20
Anonymous
No

gry@ll.mit.edu
scigraphica-0.8.0, linux(SuSE 8.0)

./configure (with no args)
fails to find termcap:
checking for tgoto in -ltermcap... no
configure: error: Termcap not found

./configure --with-termcap-path=/usr/lib/termcap
--with-termcap-include-path=/usr/include/termcap
fails same. config.log:

configure:5443: checking for tgoto in -ltermcap
configure:5462: gcc -o conftest -g -O2
-I/usr/include/termcap -I conftest.c -ltermcap
-L/usr/lib/termcap -L 1>&5
gcc: argument to `-L' is missing
configure: failed program was:
#line 5451 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an
error. */
/* We use char because int might match the return type
of a gcc2
builtin and then its argument prototype would still
apply. */
char tgoto();

int main() {
tgoto()
; return 0; }

I was able to force it to work by specifying readline paths
too:

./configure --with-termcap-path=/usr/lib/termcap
--with-termcap-include-path=/usr/include/termcap
--with-readline-path=/usr/lib
--with-readline-include-path=/usr/include/readline

Discussion


Log in to post a comment.