Since my PHP script require PDO extension so, I need to include PDO support in my PHP compilation. But I endup got the same error Full log: http://pastebin.com/h94AZMEC
Even I have prepared my machine by running these commands
Anyone got any idea how to make it compile?
apt-get install build-essential
# apt-get install gcc
apt-get install libz-dev
apt-get install libxml2-dev
apt-get install libpng-dev
apt-get install libjpeg-dev
apt-get install libmysqlclient15-dev
apt-get install zlib1g-dev
apt-get install autoconf
apt-get install patch binutils libtool
apt-get install libxml++2.6-dev
apt-get install libpng12-dev
apt-get install libxml2-dev libssl-dev libbz2-dev libcurl3-dev libdb5.1-dev libjpeg-dev libpng-dev libXpm-dev libfreetype6-dev libt1-dev libgmp3-dev libc-client-dev libldap2-dev libmcrypt-dev libmhash-dev freetds-dev libz-dev libmysqlclient15-dev ncurses-dev libpcre3-dev unixODBC-dev postgresql-server-dev-9.1 libsqlite-dev libaspell-dev libreadline6-dev librecode-dev libsnmp-dev libtidy-dev libxslt-dev libt1-dev
apt-get install php-db
Even I have prepared my machine by running these commands
Anyone got any idea how to make it compile?
apt-get install build-essential
# apt-get install gcc
apt-get install libz-dev
apt-get install libxml2-dev
apt-get install libpng-dev
apt-get install libjpeg-dev
apt-get install libmysqlclient15-dev
apt-get install zlib1g-dev
apt-get install autoconf
apt-get install patch binutils libtool
apt-get install libxml++2.6-dev
apt-get install libpng12-dev
apt-get install libxml2-dev libssl-dev libbz2-dev libcurl3-dev libdb5.1-dev libjpeg-dev libpng-dev libXpm-dev libfreetype6-dev libt1-dev libgmp3-dev libc-client-dev libldap2-dev libmcrypt-dev libmhash-dev freetds-dev libz-dev libmysqlclient15-dev ncurses-dev libpcre3-dev unixODBC-dev postgresql-server-dev-9.1 libsqlite-dev libaspell-dev libreadline6-dev librecode-dev libsnmp-dev libtidy-dev libxslt-dev libt1-dev
apt-get install php-db
Code:
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
Last edited: