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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 10:03:51 2022 UTC