|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-04-06 15:08 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-04-06 15:08 UTC] cmb@php.net
[2021-04-18 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
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 ==