Cannot find php_pdo_driver.h

Discussion in 'Install/Configuration' started by cevo, Sep 3, 2013.

  1. cevo

    cevo New Member

    I got this error during install. Anyone got an idea of to solve?

    Full log can be found here: http://pastebin.com/gLE3Awa4

    Code:
    
    
    General settings
    checking whether to include gcov symbols... no
    checking whether to include debugging symbols... no
    checking layout of installed files... PHP
    checking path to configuration file... DEFAULT
    checking where to scan for configuration files...
    checking whether to enable PHP's own SIGCHLD handler... no
    checking whether to explicitly link against libgcc... no
    checking whether to enable short tags by default... yes
    checking whether to enable dmalloc... no
    checking whether to enable IPv6 support... yes
    checking whether to enable DTrace support... no
    checking how big to make fd sets... using system default
     
    Configuring extensions
    checking size of long... (cached) 8
    checking size of int... (cached) 4
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for sys/types.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for strtoll... yes
    checking for atoll... yes
    checking for strftime... (cached) yes
    ./configure: line 21337: ./build/shtool: No such file or directory
    ./configure: line 21424: ext/date/lib/timelib_config.h: No such file or directory
    checking which regex library to use... php
    ./configure: line 21810: ./build/shtool: No such file or directory
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... no
    checking for xml2-config path... /usr/bin/xml2-config
    checking whether libxml build works... yes
    checking for OpenSSL support... no
    checking for Kerberos support... no
    checking for PCRE library to use... bundled
    checking whether to enable the SQLite3 extension... yes
    checking bundled sqlite3 library... yes
    checking for ZLIB support... yes
    checking if the location of ZLIB install directory is defined... no
    checking for zlib version >= 1.2.0.4... 1.2.3.4
    checking for gzgets in -lz... yes
    checking whether to enable bc style precision math functions... no
    checking for BZip2 support... no
    checking whether to enable calendar conversion support... no
    checking whether to enable ctype functions... yes
    checking for cURL support... no
    checking for QDBM support... no
    checking for GDBM support... no
    checking for NDBM support... no
    checking for TCADB support... no
    checking for Berkeley DB4 support... no
    checking for Berkeley DB3 support... no
    checking for Berkeley DB2 support... no
    checking for DB1 support... no
    checking for DBM support... no
    checking for CDB support... no
    checking for INI File support... no
    checking for FlatFile support... no
    checking whether to enable DBA interface... no
    checking whether to enable DOM support... yes
    checking for xml2-config path... (cached) /usr/bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking for ENCHANT support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for fileinfo support... yes
    checking for utimes... yes
    checking for strndup... yes
    checking whether to enable input filter support... yes
    checking pcre install prefix... no
    checking whether to enable FTP support... no
    checking OpenSSL dir for FTP... no
    checking for GD support... yes
    checking for the location of libvpx... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD... no
    If configure fails try --with-vpx-dir=<DIR>
    If configure fails try --with-jpeg-dir=<DIR>
    checking for png_write_image in -lpng... yes
    If configure fails try --with-xpm-dir=<DIR>
    If configure fails try --with-freetype-dir=<DIR>
    checking for fabsf... yes
    checking for floorf... yes
    checking for GNU gettext support... no
    checking for GNU MP support... no
    checking for mhash support... no
    checking whether to enable hash support... yes
    checking whether byte ordering is bigendian... (cached) no
    checking size of short... 2
    checking size of int... (cached) 4
    checking size of long... (cached) 8
    checking size of long long... (cached) 8
    checking for iconv support... yes
    ./configure: line 45540: ./build/shtool: No such file or directory
    checking for iconv... yes
    checking if iconv is glibc's... yes
    checking if iconv supports errno... yes
    checking if your cpp allows macro usage in include lines... yes
    checking for IMAP support... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no
    checking for InterBase support... no
    checking whether to enable internationalization support... no
    checking whether to enable JavaScript Object Serialization support... yes
    checking for ANSI C header files... (cached) yes
    checking for LDAP support... no
    checking for LDAP Cyrus SASL support... no
    checking whether to enable multibyte string support... yes
    checking whether to enable multibyte regex support... yes
    checking whether to check multibyte regex backtrack... yes
    checking for external libmbfl... no
    checking for external oniguruma... no
    checking for variable length prototypes and stdarg.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking for stdarg.h... (cached) yes
    checking size of int... (cached) 4
    checking size of short... (cached) 2
    checking size of long... (cached) 8
    checking for an ANSI C-conforming const... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for working memcmp... yes
    checking for stdarg.h... (cached) yes
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56797: ./build/shtool: No such file or directory
    ./configure: line 56843: cd: ext/mbstring/libmbfl: No such file or directory
    ./configure: line 56962: ext/mbstring/oniguruma/config.h: No such file or directory
    ./configure: line 56962: ext/mbstring/libmbfl/config.h: No such file or directory
    checking for mcrypt support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... no
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQLi support... yes
    checking whether to enable embedded MySQLi support... no
    checking for Oracle Database OCI8 support... no
    checking whether to enable Zend OPcache support... yes
    checking for mprotect... yes
    checking for sysvipc shared memory support... yes
    checking for mmap() using MAP_ANON shared memory support... yes
    checking for mmap() using /dev/zero shared memory support... yes
    checking for mmap() using shm_open() shared memory support... yes
    checking for mmap() using regular file shared memory support... yes
    checking for known struct flock definition... done
    ./configure: line 65367: ./build/shtool: No such file or directory
    checking whether to enable pcntl support... no
    checking whether to enable PDO support... yes
    checking for PDO_DBLIB support via FreeTDS... no
    checking for Firebird support for PDO... no
    checking for MySQL support for PDO... no
    checking Oracle OCI support for PDO... no
    checking for ODBC v3 support for PDO... no
    checking for PostgreSQL support for PDO... no
    checking for sqlite 3 support for PDO... yes
    checking for PDO includes... checking for PDO includes...
    configure: error: Cannot find php_pdo_driver.h.
    **ERROR** Could not configure PHP build
    
  2. mistwang

    mistwang LiteSpeed Staff

    add "--disable-pdo" option to PHP build configuration.
  3. cevo

    cevo New Member

    Thx for helping, that let me past this point.
    But, it got stucked at this point now.

    Code:
    config.status: creating php5.spec
    config.status: creating main/build-defs.h
    config.status: creating scripts/phpize
    config.status: creating scripts/man1/phpize.1
    config.status: creating scripts/php-config
    config.status: creating scripts/man1/php-config.1
    config.status: creating sapi/cli/php.1
    config.status: creating sapi/cgi/php-cgi.1
    config.status: creating ext/phar/phar.1
    config.status: creating ext/phar/phar.phar.1
    config.status: creating main/php_config.h
    config.status: executing default commands
    configure: WARNING: unrecognized options: --enable-track-vars, --enable-magic-quotes
      .. work around for libtool problem: sys_lib_dlsearch_path_spec should use lib64
    /usr/local/lsws/phpbuild/buildphp_1378233082.3.install.sh: 92: /usr/local/lsws/phpbuild/buildphp_1378233082.3.install.sh: make: not found
    Compiling PHP (5-10 minutes)
    Wed Sep 4 01:34:19 ICT 2013
    /usr/local/lsws/phpbuild/buildphp_1378233082.3.install.sh: 96: /usr/local/lsws/phpbuild/buildphp_1378233082.3.install.sh: make: not found
    **ERROR** Could not compile PHP
    
  4. cevo

    cevo New Member

    apt-get install make solved above error.
  5. cevo

    cevo New Member

    Disable this module/addon will cause any impact ?
  6. cevo

    cevo New Member


    Seems like it cause an impact to some php script which depend on it.
    I need to fix it otherway.

Share This Page