Bug #54644 [NEW]: wrong pathes in php_pdo_mysql_int.h

From: Date: Sun, 01 May 2011 12:15:37 +0000
Subject: Bug #54644 [NEW]: wrong pathes in php_pdo_mysql_int.h
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160484@lists.php.net to get a copy of this message
From:             
Operating system: unix
PHP version:      5.3.6
Package:          PDO related
Bug Type:         Bug
Bug description:wrong pathes in php_pdo_mysql_int.h

Description:
------------
in ext/pdo_mysql/php_pdo_mysql_int.h you have
#if defined(PDO_USE_MYSQLND)
# include "ext/mysqlnd/mysqlnd.h"
# include "ext/mysql/mysql_mysqlnd.h"
# include "ext/mysqlnd/mysqlnd_libmysql_compat.h"
...
#if defined(PDO_USE_MYSQLND)
#include "ext/mysqlnd/mysqlnd_debug.h"


so when I tried to re-compile the pdo_mysql extension from the extension
folder 
using phpize;configure--with-pdo-mysql=mysqlnd;make, it barkled that
can't find 
"ext/mysqlnd/mysqlnd.h"
I changed to #include "../../ext/mysqlnd/mysqlnd_debug.h"
and compiled the extension, but that's obviously not a solution.

Test script:
---------------
none

Expected result:
----------------
Build complete.
Don't forget to run 'make test'.


Actual result:
--------------
In file included from /usr/src/web/php-5.3.6/ext/pdo_mysql/pdo_mysql.c:32:
/usr/src/web/php-5.3.6/ext/pdo_mysql/php_pdo_mysql_int.h:28:38: error: 
ext/mysql/mysql_mysqlnd.h: No such file or directory


-- 
Edit bug report at http://bugs.php.net/bug.php?id=54644&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=54644&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=54644&r=trysnapshot53
Try a snapshot (trunk):              http://bugs.php.net/fix.php?id=54644&r=trysnapshottrunk
Fixed in SVN:                        http://bugs.php.net/fix.php?id=54644&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54644&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=54644&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=54644&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=54644&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=54644&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=54644&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=54644&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=54644&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=54644&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=54644&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54644&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54644&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=54644&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=54644&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=54644&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=54644&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=54644&r=mysqlcfg



Thread (15 messages)

« previous php.bugs (#160484) next »