Bug #72763 [Opn->Fbk]: mysqlnd: unable to cross-compile due to use of PHP_CHECK_TYPES
Edit report at https://bugs.php.net/bug.php?id=72763&edit=1
ID: 72763
Updated by: cmb@php.net
Reported by: bos at je-eigen-domein dot nl
Summary: mysqlnd: unable to cross-compile due to use of
PHP_CHECK_TYPES
-Status: Open
+Status: Feedback
Type: Bug
Package: MySQL related
Operating System: Cross-compiling for Linux
PHP Version: 5.5.38
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Is this still an issue for you with any of the actively supported
PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2016-08-05 12:16:28] bos at je-eigen-domein dot nl
Description:
------------
Cross-compiling PHP fails when mysqlnd is enabled with the error message:
==
mysqlnd_portability.h:40:46: error: ext/mysqlnd/php_mysqlnd_config.h: No such file or directory
make[1]: *** [ext/pdo_mysql/pdo_mysql.lo] Error 1
==
php_mysqlnd_config.h is supposed to be created by the PHP_CHECK_TYPES macro in
ext/mysqlnd/config9.m4:
==
PHP_CHECK_TYPES([int8 uint8 int16 uint16 int32 uint32 uchar ulong int8_t uint8_t int16_t uint16_t
int32_t uint32_t int64_t uint64_t], [
ext/mysqlnd/php_mysqlnd_config.h
==
However that apparently performs a test that always fails when cross-compiling.
config.log:
==
configure:101002: checking whether to enable mysqlnd
configure:101037: result: yes
configure:101046: checking whether to disable compressed protocol support in mysqlnd
configure:101060: result: yes
configure:101114: checking for DSA_get_default_method in -lssl
configure:101148: result: no
configure:101156: checking for X509_free in -lcrypto
configure:101190: result: yes
configure:101428: checking for OpenSSL version
configure:101442: result: >= 0.9.6
configure:101583: checking for CRYPTO_free in -lcrypto
configure:101617: result: yes
configure:101760: checking for SSL_CTX_set_ssl_version in -lssl
configure:101794: result: yes
configure:102243: checking whether int8 exists
configure:102319: result: no
configure:102243: checking whether uint8 exists
configure:102319: result: no
configure:102243: checking whether int16 exists
configure:102319: result: no
configure:102243: checking whether uint16 exists
configure:102319: result: no
configure:102243: checking whether int32 exists
configure:102319: result: no
configure:102243: checking whether uint32 exists
configure:102319: result: no
configure:102243: checking whether uchar exists
configure:102319: result: no
configure:102243: checking whether ulong exists
configure:102319: result: no
configure:102243: checking whether int8_t exists
configure:102319: result: no
configure:102243: checking whether uint8_t exists
configure:102319: result: no
configure:102243: checking whether int16_t exists
configure:102319: result: no
configure:102243: checking whether uint16_t exists
configure:102319: result: no
configure:102243: checking whether int32_t exists
configure:102319: result: no
configure:102243: checking whether uint32_t exists
configure:102319: result: no
configure:102243: checking whether int64_t exists
configure:102319: result: no
configure:102243: checking whether uint64_t exists
configure:102319: result: no
==
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72763&edit=1
Thread (3 messages)