Edit report at https://bugs.php.net/bug.php?id=61859&edit=1

 ID:                 61859
 User updated by:    gencer at cmail dot cm
 Reported by:        gencer at cmail dot cm
 Summary:            pdo fails on make
 Status:             Open
 Type:               Bug
-Package:            PDO related
+Package:            Compile Failure
 Operating System:   CentOS 5.8 x86_64
 PHP Version:        5.4.1
 Block user comment: N
 Private report:     N

 New Comment:

Switched to the Compile Failure.
Issue seems to be applied on all version of PHP 5.4 with updated CentOS 5.8.


Previous Comments:
------------------------------------------------------------------------
[2012-04-26 19:55:49] gencer at cmail dot cm

Description:
------------
PDO (mysql, pgsql, mssql, sqlite ...) fails on make.

After i update my Centos to the latest version i got these errors...

When i configure (./configure) i changed the pdo, pdo_mysql, pdo_sqlite 
directories and .h files inside them:

#include "pdo/php_pdo.h"
#include "pdo/php_pdo_driver.h"

to

#include "ext/pdo/php_pdo.h"
#include "ext/pdo/php_pdo_driver.h"

And it worked.

Expected result:
----------------
make should build fine

Actual result:
--------------
/installers/php/php-5.4.1/ext/pdo_pgsql/pdo_pgsql.c:28:25: error: 
pdo/php_pdo.h: No such file or directory
/installers/php/php-5.4.1/ext/pdo_pgsql/pdo_pgsql.c:29:32: error: 
pdo/php_pdo_driver.h: No such file or directory


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61859&edit=1

Reply via email to