php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14085 configure error
Submitted: 2001-11-16 11:21 UTC Modified: 2001-11-16 16:25 UTC
From: dextra at angelfire dot com Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 4.0.6 OS: Linux Mandrake 8.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dextra at angelfire dot com
New email:
PHP Version: OS:

 

 [2001-11-16 11:21 UTC] dextra at angelfire dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-16 13:01 UTC] derick@php.net
What are the last (40) lines of config.log ?

Derick
 [2001-11-16 16:13 UTC] dextra at angelfire dot com
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 16:17 UTC] dextra at angelfire dot com
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:25 UTC] derick@php.net
Fairly simple to fix: install ncurses (and the devel package if needed).

Derick
 [2004-04-20 11:32 UTC] ajmal dot khan at eximsoft dot com
Thanks buddy, Infact ncurses were there, eventhen it was giving the same error. After installed 'ncurses-devel' package everything went fine.

Thanks a lot.
-Ajmal
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC