ID: 14085 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Compile Issues Operating System: Linux Mandrake 8.1 PHP Version: 4.0.6 New Comment:
Fairly simple to fix: install ncurses (and the devel package if needed). Derick Previous Comments: ------------------------------------------------------------------------ [2001-11-16 16:17:26] [EMAIL PROTECTED] um oeps sorry. wrong file :(. This is the right one. configure:8109: (Each undeclared identifier is reported only once configure:8109: for each function it appears in.) configure: failed program was: #line 8105 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/ioctl.h> int main() { int x = TIOCSTAT; ; return 0; } 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 ------------------------------------------------------------------------ [2001-11-16 16:13:18] [EMAIL PROTECTED] This is about 40 lines back till the end of the error :(. This is what you needed i think. checking if struct timespec has a ts_sec member... no checking if we have tzname variable... yes checking for type ulong... yes checking for type uchar... no checking for type uint... yes checking for type fp_except... no checking if c++ supports bool types... yes checking if conversion of longlong to float works... yes checking if pthread_yield takes zero arguments... yes checking if pthread_yield takes 1 argument... no checking for varargs.h... yes checking for stdarg.h... yes checking for dirent.h... yes checking for locale.h... yes checking for ndir.h... no checking for sys/dir.h... yes checking for sys/file.h... yes checking for sys/ndir.h... no checking for sys/ptem.h... no checking for sys/pte.h... no checking for sys/select.h... yes checking for sys/stream.h... no checking for sys/mman.h... (cached) yes checking for curses.h... no checking for termcap.h... no checking for termio.h... (cached) yes checking for termbits.h... no checking for asm/termbits.h... yes checking for grp.h... yes checking for paths.h... yes checking for lstat... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcoll... yes checking for tcgetattr... yes checking whether stat file-mode macros are broken... no checking return type of signal handlers... void checking for type of signal functions... posix checking whether programs are able to redeclare getpw functions... yes checking for TIOCGWINSZ in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking for TIOCSTAT in sys/ioctl.h... no checking if struct dirent has a d_ino member... yes checking whether signal handlers are of type void... yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for termcap functions library... :configure: error: No curses/termcap library found ------------------------------------------------------------------------ [2001-11-16 13:01:38] [EMAIL PROTECTED] What are the last (40) lines of config.log ? Derick ------------------------------------------------------------------------ [2001-11-16 11:21:14] [EMAIL PROTECTED] checking whether signal handlers are of type void... yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for termcap functions library... configure: error: No curses/termcap library found I get this when i just type ./configure. I tryed to install it with apachetoolbox after manual compiling but i get the same error. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14085&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]