Centos 6.6 x86\_64
kernel version 2.6(something)

I am trying to compile php-driver(downloaded the zip file from git) for mongoDB but it gives error during make all

This is the compile error 

/bin/sh /usr/local/mongo-php-driver/libtool --mode=compile cc -I./util -I. -I/usr/local/mongo-php-driver -DPHP\_ATOM\_INC -I/usr/local/mongo-php-driver/include -I/usr/local/mongo-php-driver/main -I/usr/local/mongo-php-driver -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/mongo-php-driver/api -I/usr/local/mongo-php-driver/util -I/usr/local/mongo-php-driver/exceptions -I/usr/local/mongo-php-driver/gridfs -I/usr/local/mongo-php-driver/types -I/usr/local/mongo-php-driver/batch -I/usr/local/mongo-php-driver/contrib -I/usr/local/mongo-php-driver/mcon -I/usr/local/mongo-php-driver/mcon/contrib -DHAVE\_CONFIG\_H -g -O2 -c /usr/local/mongo-php-driver/php\_mongo.c -o php\_mongo.lo 
mkdir .libs
 cc -I./util -I. -I/usr/local/mongo-php-driver -DPHP\_ATOM\_INC -I/usr/local/mongo-php-driver/include -I/usr/local/mongo-php-driver/main -I/usr/local/mongo-php-driver -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/mongo-php-driver/api -I/usr/local/mongo-php-driver/util -I/usr/local/mongo-php-driver/exceptions -I/usr/local/mongo-php-driver/gridfs -I/usr/local/mongo-php-driver/types -I/usr/local/mongo-php-driver/batch -I/usr/local/mongo-php-driver/contrib -I/usr/local/mongo-php-driver/mcon -I/usr/local/mongo-php-driver/mcon/contrib -DHAVE\_CONFIG\_H -g -O2 -c /usr/local/mongo-php-driver/php\_mongo.c -fPIC -DPIC -o .libs/php\_mongo.o
/usr/local/mongo-php-driver/php\_mongo.c:102: warning: initialization discards qualifiers from pointer target type
/usr/local/mongo-php-driver/php\_mongo.c: In function ‘zm\_globals\_ctor\_mongo’:
/usr/local/mongo-php-driver/php\_mongo.c:367: error: ‘empty\_fcall\_info’ undeclared (first use in this function)
/usr/local/mongo-php-driver/php\_mongo.c:367: error: (Each undeclared identifier is reported only once
/usr/local/mongo-php-driver/php\_mongo.c:367: error: for each function it appears in.)
make: \*\*\* [php\_mongo.lo] Error 1

I also tried to do "pecl search mongo" but it says 

> 
> 
> > 
> > 
> > > 
> > > Connection to `ssl://pecl.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 

Thanks in Advance

Regards,
Ricky