Tag: errors

  • configure: error: XML configuration could not be found

    When i install php from source, i get the error

    Running FastCGI Process Manager checks
    checking for php-fpm config file path... $prefix/etc/php-fpm.conf
    checking for php-fpm log file path... $prefix/logs/php-fpm.log
    checking for php-fpm pid file path... $prefix/logs/php-fpm.pid
    checking for XML configuration
    checking for xml2-config... no
    checking for xml-config... no
    configure: error: XML configuration could not be found
    

    The problem is fixed by installing libxml2-devel

    yum install libxml2-devel
    

    See Errors

  • configure: error: Please reinstall the libcurl distribution

    When compiling php from source for nginx web server, i get error

    checking for cURL support... yes
    checking if we should use cURL for url streams... yes
    checking for cURL in default path... not found
    configure: error: Please reinstall the libcurl distribution -
        easy.h should be in /include/curl/
    
    

    On checking, found curl-devel not installed

    [root@vps1 php-5.2.8]# yum list|grep curl
    curl.x86_64                              7.15.5-2.el5           installed
    curl.i386                                7.15.5-2.el5           installed
    curl-devel.x86_64                        7.15.5-2.el5           base
    curl-devel.i386                          7.15.5-2.el5           base
    [root@vps1 php-5.2.8]#
    

    The problem is fixed by installing curl-devel

    yum -y install curl-devel
    

    See Errors

  • configure: error: No curses/termcap library found

    On installing MySQL from source, i get error

    checking for tgetent in -lncurses... no
    checking for tgetent in -lcurses... no
    checking for tgetent in -ltermcap... no
    checking for tgetent in -ltinfo... no
    checking for termcap functions library... configure: error: No curses/termcap library found
    

    SOLUTION

    Lets search for ncurses

    [root@server52 mysql-5.1.23-ndb-6.2.15]# yum list|grep ncurses
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    ncurses.x86_64                           5.5-24.20060715        installed
    ncurses.i386                             5.5-24.20060715        installed
    ncurses-devel.i386                       5.5-24.20060715        base
    ncurses-devel.x86_64                     5.5-24.20060715        base
    php-ncurses.x86_64                       5.1.6-15.el5           base
    [root@server52 mysql-5.1.23-ndb-6.2.15]#
    

    To fix the problem, install ncurses-devel

    yum -y install ncurses-devel
    

    On Debian/Ubuntu do

    apt-cache search ncurses
    apt-get install libncurses5-dev
    
    [root@server52 mysql-5.1.23-ndb-6.2.15]# yum install ncurses-devel
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for ncurses-devel to pack into transaction set.
    ncurses-devel-5.5-24.2006 100% |=========================|  98 kB    00:00
    ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated
    ---> Downloading header for ncurses-devel to pack into transaction set.
    ncurses-devel-5.5-24.2006 100% |=========================|  98 kB    00:00
    ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated
    --> Running transaction check
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Installing:
     ncurses-devel           x86_64     5.5-24.20060715  base              1.7 M
     ncurses-devel           i386       5.5-24.20060715  base              1.6 M
    
    Transaction Summary
    =============================================================================
    Install      2 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)
    
    Total download size: 3.3 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): ncurses-devel-5.5- 100% |=========================| 1.7 MB    00:00
    (2/2): ncurses-devel-5.5- 100% |=========================| 1.6 MB    00:00
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing: ncurses-devel                ######################### [1/2]
      Installing: ncurses-devel                ######################### [2/2]
    
    Installed: ncurses-devel.x86_64 0:5.5-24.20060715 ncurses-devel.i386 0:5.5-24.20060715
    Complete!
    [root@server52 mysql-5.1.23-ndb-6.2.15]#
    

    See Errors