List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 16 2001 2:11pm
Subject:Re: problems with configure
View as plain text  
You need to load the "ncurses" headers and libraries.
I am not familiar with Debian, but they are on your CD.

André Estel wrote:
> 
> Hello,
> 
> i mail you from germany, so please excuse my "special" english! I just want
> to compile mysql 3.23.36 under Debian Potato for use with PHP(classic LAMP).
> But get the following error:
> 
> configure:8016: checking for tgetent in -lncurses
> configure:8035: gcc -o conftest -O6 -DDBUG_OFF     -rdynamic conftest.c
> -lncurses  -ldl -lz -lcrypt -lnsl -lm  -lpthread 1>&5
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8024 "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 tgetent();
> 
> int main() {
> tgetent()
> ; return 0; }
> configure:8054: checking for tgetent in -lcurses
> configure:8073: gcc -o conftest -O6 -DDBUG_OFF     -rdynamic conftest.c
> -lcurses  -ldl -lz -lcrypt -lnsl -lm  -lpthread 1>&5
> /usr/bin/ld: cannot find -lcurses
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8062 "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 tgetent();
> 
> int main() {
> tgetent()
> ; return 0; }
> configure:8092: checking for tgetent in -ltermcap
> configure:8111: gcc -o conftest -O6 -DDBUG_OFF     -rdynamic conftest.c
> -ltermcap  -ldl -lz -lcrypt -lnsl -lm  -lpthread 1>&5
> /usr/bin/ld: cannot find -ltermcap
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8100 "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 tgetent();
> 
> int main() {
> tgetent()
> ; return 0; }
> configure:8139: checking for termcap functions library
> 
> But ncurses is installed, but i dont know where to get termcap!
> 
> Please help and thanks a lot
> 
> André Estel
> 
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread71561@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
problems with configureAndrĂ© Estel15 Apr
  • Re: problems with configureGerald Clark16 Apr