php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66970 php_mysqlnd_config.h does not exist
Submitted: 2014-03-27 18:01 UTC Modified: 2017-04-06 09:56 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: brian dot gaber at ssc dot gc dot ca Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.5.10 OS: AIX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
3 + 35 = ?
Subscribe to this entry?

 
 [2014-03-27 18:01 UTC] brian dot gaber at ssc dot gc dot ca
Description:
------------
ext/mysqlnd/mysqlnd_portability.h contains this code:

#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32)
#  include "ext/mysqlnd/config-win.h"
#else 
#  include <ext/mysqlnd/php_mysqlnd_config.h>
#endif /* _WIN32... */

Unfortunately ext/mysqlnd/php_mysqlnd_config.h does not exist.

When I compile on AIX the make fails with this statement:

"/home/downloads/php-5.5.10/ext/mysqlnd/mysqlnd_portability.h", line 40.12: 1506-296 (S) #include file <ext/mysqlnd/php_mysqlnd_config.h> not found.
make: *** [ext/mysqli/mysqli.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-31 17:59 UTC] brian dot gaber at ssc dot gc dot ca
I was able to successfully compile PHP 5.5.10 on AIX 7.1 following these procedures:

Compile environment:

export CC="xlc"
export CFLAGS="-qmaxmem=2097152 -DSYSV -D_AIX -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include"
export CXX="xlC"
export CXXFLAGS=$CFLAGS
export LD=ld
export LDFLAGS="-L/opt/freeware/lib"
export OBJECT_MODE=64

configure statement:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-pdo-mysql \
--without-pdo-sqlite \
--without-sqlite3 \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware \
--with-ldap \
--enable-mbstring \
--enable-opcache=no

After successful configure I modified the Makefile as follows:

append to PHP_CLI_OBJS this text $(PHP_BINARY_OBJS)
append to PHP_CGI_OBJS this text main/internal_functions.lo

Use gmake instead of AIX make:

/opt/freeware/bin/make
 [2017-04-02 14:49 UTC] tpunt@php.net
-Package: mysql +Package: MySQLi related
 [2017-04-06 09:56 UTC] johannes@php.net
-Package: MySQLi related +Package: Compile Failure
 [2017-04-06 09:56 UTC] johannes@php.net
This doesn't seem to be related to MySQL but the AiX build tool chain, somehow.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC