Install ncurses and ncurses-devel from the rpms on your RedHat CD.
Stan wrote:
> From: stan
> To: mysql@stripped
> Subject: INSTALL BUG (LINUX on i586 with apache and php)
>
>
>> Description:
>
>
> Configure errors and exits after trying to find ncurses lib (also curses
> and termcap aren't in my system). It's a LINUX on a Pentium. Is the
> configure not correctly detecting my LINUX O/S? THIS O/S doesn't use
> termcap, curses, and ncurses.
>
> Configure command: ./configure
> --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory
> --with-mit-threads=yes --without-perl --enable-thread-safe-client
> --with-berkeley-db --with-innodb
>
>
>> How-To-Repeat:
>
> <code/input/activities to reproduce the problem (multiple lines)>
>
>> Fix:
>
> <how to correct or work around the problem, if known (multiple lines)>
>
>> Submitter-Id: <submitter ID>
>> Originator: Debian User
>> Organization:
>
> <organization of PR author (multiple lines)>
>
>> MySQL support: [none | licence | email support | extended email support
>
> ]
>
>> Synopsis: <synopsis of the problem (one line)>
>> Severity: <[ non-critical | serious | critical ] (one line)>
>> Priority: <[ low | medium | high ] (one line)>
>> Category: mysql
>> Class: <[ sw-bug | doc-bug | change-request | support ] (one line)>
>> Release: mysql-3.23.43 (Source distribution)
>
>
>> Environment:
>
> <machine, os, target, libraries (multiple lines)>
> System: Linux merlin 2.2.19pre17-compact #1 Mon Apr 2 01:35:19 PDT 2001
> i586 unknown
> Architecture: i586
>
> Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
> GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
> gcc version 2.95.2 20000220 (Debian GNU/Linux)
> Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS=''
> LDFLAGS=''
> LIBC:
> lrwxrwxrwx 1 root root 13 May 16 12:38 /lib/libc.so.6
> -> libc-2.1.3.so
> -rwxr-xr-x 1 root root 887712 May 16 12:38
> /lib/libc-2.1.3.so
> -rw-r--r-- 1 root root 2089576 Mar 25 2001 /usr/lib/libc.a
> -rw-r--r-- 1 root root 178 Mar 25 2001 /usr/lib/libc.so
>
> -rw-r--r-- 1 root root 665216 Apr 24 2000
> /usr/lib/libc-client.so.4.7
> Perl: This is perl, version 5.005_03 built for i386-linux
> **************************************************************
>
> CONFIG.LOG Follows:
>
> configure:8135: checking if struct dirent has a d_ino member
> configure:8169: gcc -c -O3 -DDBUG_OFF conftest.c 1>&5
> configure:8190: checking whether signal handlers are of type void
> configure:8210: gcc -c -O3 -DDBUG_OFF conftest.c 1>&5
> configure:8236: checking for tgetent in -lncurses
> configure:8255: gcc -o conftest -O3 -DDBUG_OFF -rdynamic conftest.c
> -lncurses -lpthread -lz -lcrypt -lnsl -lm -lpthread 1>&5
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8244 "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:8274: checking for tgetent in -lcurses
> configure:8293: gcc -o conftest -O3 -DDBUG_OFF -rdynamic conftest.c
> -lcurses -lpthread -lz -lcrypt -lnsl -lm -lpthread 1>&5
> /usr/bin/ld: cannot find -lcurses
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8282 "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:8312: checking for tgetent in -ltermcap
> configure:8331: gcc -o conftest -O3 -DDBUG_OFF -rdynamic conftest.c
> -ltermcap -lpthread -lz -lcrypt -lnsl -lm -lpthread 1>&5
> /usr/bin/ld: cannot find -ltermcap
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8320 "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:8359: checking for termcap functions library
>
>
>
> ---------------------------------------------------------------------
> 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-thread89139@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Gerald L. Clark
gerald_clark@stripped