Bug #69132 [NEW]: PHP 5.6.6 will not cross-compile
| From: | mike at flyn dot org | Date: | Fri, 27 Feb 2015 03:10:19 +0000 |
| Subject: | Bug #69132 [NEW]: PHP 5.6.6 will not cross-compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-190975@lists.php.net to get a copy of this message | ||
From: mike at flyn dot org
Operating system: Linux
PHP version: 5.6.6
Package: *General Issues
Bug Type: Bug
Bug description:PHP 5.6.6 will not cross-compile
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 bug report at https://bugs.php.net/bug.php?id=69132&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69132&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69132&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69132&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69132&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69132&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69132&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69132&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69132&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69132&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69132&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69132&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69132&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69132&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69132&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69132&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69132&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69132&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69132&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69132&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69132&r=mysqlcfg