Bug #72763 [NEW]: mysqlnd: unable to cross-compile due to use of PHP_CHECK_TYPES

From: Date: Fri, 05 Aug 2016 12:16:30 +0000
Subject: Bug #72763 [NEW]: mysqlnd: unable to cross-compile due to use of PHP_CHECK_TYPES
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202957@lists.php.net to get a copy of this message
From: bos at je-eigen-domein dot nl Operating system: Cross-compiling for Linux PHP version: 5.5.38 Package: MySQL related Bug Type: Bug Bug description:mysqlnd: unable to cross-compile due to use of PHP_CHECK_TYPES 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 bug report at https://bugs.php.net/bug.php?id=72763&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72763&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72763&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72763&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72763&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72763&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72763&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72763&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72763&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72763&r=support Expected behavior: https://bugs.php.net/fix.php?id=72763&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72763&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72763&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72763&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72763&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72763&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72763&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72763&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72763&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72763&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72763&r=mysqlcfg

« previous php.bugs (#202957) next »