Bug #77471 [NEW]: configure: error: cannot run test program while cross compiling
| From: | stephane at qnap dot com | Date: | Wed, 16 Jan 2019 15:44:06 +0000 |
| Subject: | Bug #77471 [NEW]: configure: error: cannot run test program while cross compiling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-219006@lists.php.net to get a copy of this message | ||
From: stephane at qnap dot com
Operating system: ubuntu 1404
PHP version: 7.2.14
Package: *Compile Issues
Bug Type: Bug
Bug description:configure: error: cannot run test program while cross compiling
Description:
------------
trying to cross compile PHP 7.2.14
autoconf is stuck on
checking for FlatFile support... builtin
checking whether to enable DBA interface... yes, shared
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /opt/PHPFPM/bin/xml2-config
checking whether libxml build works...
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... yes
checking for fileinfo support... yes
checking for strcasestr... configure: error: in
`/SRC/.MYSCRIPT/tmp/php-7.2.14':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
this error should passed and be inactiv when cross compiling
tried with PHP 7.3.1 .. it runs without issue with same config
config.log stuck at :
configure:28473: result: no
configure:28862: checking for CDB support
configure:28870: result: builtin
configure:28894: checking for INI File support
configure:28902: result: builtin
configure:28926: checking for FlatFile support
configure:28934: result: builtin
configure:28943: checking whether to enable DBA interface
configure:28947: result: yes, shared
configure:29235: checking whether to enable DOM support
configure:29270: result: yes
configure:29311: checking for xml2-config path
configure:29325: result: /opt/PHPFPM/bin/xml2-config
configure:29532: checking whether libxml build works
configure:29583: result:
configure:29934: checking for ENCHANT support
configure:29970: result: no
configure:30544: checking whether to enable EXIF (metadata from images)
support
configure:30579: result: yes
configure:30847: checking for fileinfo support
configure:30882: result: yes
configure:30897: checking for strcasestr
configure:30900: error: in `/SRC/.MYSCRIPT/tmp/php-7.2.14':
configure:30902: error: cannot run test program while cross compiling
See `config.log' for more details
Expected result:
----------------
--
Edit bug report at https://bugs.php.net/bug.php?id=77471&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77471&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77471&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77471&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77471&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77471&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77471&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77471&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77471&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77471&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77471&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77471&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77471&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77471&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77471&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77471&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77471&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77471&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77471&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77471&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77471&r=mysqlcfg