make falha ao instalar o driver mongo php no Centos 6

Eu tentei duas maneiras diferentes de instalar o driver mongodb php.

Compilando-o com base em instruções dehttp://andres.jaimes.net/876/setup-mongo-php-module-centos-6/Emitindo (como root) pecl install mongo

O servidor é o Centos 6.6 (32 bits) que era originalmente uma imagem de caixa virtual 6.5 que (após uma atualização) agora se chama 6.6

O erro parece começar aqui:

In file included from /var/tmp/mongo/io_stream.c:34:
/var/tmp/mongo/contrib/php-ssl.h:33:25: error: openssl/evp.h: No such file or directory
/var/tmp/mongo/contrib/php-ssl.h:34:26: error: openssl/x509.h: No such file or directory
/var/tmp/mongo/contrib/php-ssl.h:35:28: error: openssl/x509v3.h: No such file or directory
In file included from /var/tmp/mongo/io_stream.c:34:
/var/tmp/mongo/contrib/php-ssl.h:38: error: expected ‘)’ before ‘*’ token
/var/tmp/mongo/contrib/php-ssl.h:39: error: expected ‘)’ before ‘*’ token
/var/tmp/mongo/contrib/php-ssl.h:40: error: expected ‘)’ before ‘*’ token
/var/tmp/mongo/io_stream.c: In function ‘php_mongo_io_stream_connect’:
/var/tmp/mongo/io_stream.c:189: error: ‘X509’ undeclared (first use in this function)
/var/tmp/mongo/io_stream.c:189: error: (Each undeclared identifier is reported only once
/var/tmp/mongo/io_stream.c:189: error: for each function it appears in.)
/var/tmp/mongo/io_stream.c:189: error: ‘cert’ undeclared (first use in this function)
/var/tmp/mongo/io_stream.c:194: error: expected expression before ‘)’ token
make: *** [io_stream.lo] Error 1
ERROR: `make' failed

-outros itens a serem observados:

php -v
PHP 5.6.6 (cli) (built: Feb 19 2015 10:19:59)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

mongo --version
MongoDB shell version: 2.6.8
openssl is installed 1.0.1e-30.e16_6_6.5.i686

Verifiquei outras postagens (aparentemente relacionadas) da pilha, comoO driver PHP do MongoDB não pode instalar o servidor de nuvem Centos 6 - mas não pareceu ajudar ou aplicar. Alguma ideia? Obrigado.

questionAnswers(2)

yourAnswerToTheQuestion