Bug #69132 [Com]: PHP 5.6.6 will not cross-compile
| From: | claudi0 dot beatric3 at gmail dot com | Date: | Sun, 25 Dec 2016 10:52:58 +0000 |
| Subject: | Bug #69132 [Com]: PHP 5.6.6 will not cross-compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206197@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69132&edit=1
ID: 69132
Comment by: claudi0 dot beatric3 at gmail dot com
Reported by: mike at flyn dot org
Summary: PHP 5.6.6 will not cross-compile
Status: Open
Type: Bug
Package: *General Issues
Operating System: Linux
PHP Version: 5.6.6
Block user comment: N
Private report: N
New Comment:
Having the same issue trying to cross-compile php 7.1.0 for an Atmel board (ARM processor)
Previous Comments:
------------------------------------------------------------------------
[2016-07-08 18:43:43] back_ag at mail dot ru
I have the same situation when cross compile php-5.6.23 for mips64 Cavium/Octeon
------------------------------------------------------------------------
[2015-02-27 03:10:18] mike at flyn dot org
Description:
------------
I am interested in updating the PHP package for OpenWrt, a Linux distribution for routers and other
similar devices. Due to the wide variety of devices supported, packagers generally cross compile
OpenWrt packages.
It seems that PHP 5.6.4 is a little more difficult to cross compile than OpenWrt's last
supported version, 5.4.36. For example, 5.6.4's "./configure ..." prints an error
which states that the test program responsible for checking for the existence of strcasestr cannot
run. (The reason it cannot run is that it was not compiled for the host architecture.)
Actual result:
--------------
[...]
checking whether to enable EXIF (metadata from images) support... yes, shared
checking for fileinfo support... yes, shared
checking for strcasestr... configure: error: in
`/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
Makefile:518: recipe for target
'/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6/.configured_nynyyynnnnnyynnynnynynnynynynnnnnnnynnnyyy'
failed
make[2]: ***
[/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6/.configured_nynyyynnnnnyynnynnynynnynynynnnnnnnynnnyyy]
Error 1
make[2]: Leaving directory '/home/mike/Source/openwrt/openwrt/feeds/packages/lang/php5'
package/Makefile:173: recipe for target 'package/feeds/packages/php5/compile' failed
make[1]: *** [package/feeds/packages/php5/compile] Error 2
make[1]: Leaving directory '/home/mike/Source/openwrt/openwrt'
/home/mike/Source/openwrt/openwrt/include/toplevel.mk:171: recipe for target
'package/php5/compile' failed
make: *** [package/php5/compile] Error 2
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69132&edit=1