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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brian dot gaber at ssc dot gc dot ca
New email:
PHP Version: OS:

 

 [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-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 16:01:27 2019 UTC