Bug #61057 [NEW]: PHP 5.3.10 fails to cross compile when FPM is enabled (ptrace)
| From: | d dot albano at gmail dot com | Date: | Sat, 11 Feb 2012 17:15:22 +0000 |
| Subject: | Bug #61057 [NEW]: PHP 5.3.10 fails to cross compile when FPM is enabled (ptrace) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-167431@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux
PHP version: 5.3.10
Package: Compile Failure
Bug Type: Bug
Bug description:PHP 5.3.10 fails to cross compile when FPM is enabled (ptrace)
Description:
------------
I'm trying to cross compile php 5.3.10 (build x86, host x86, target x86)
but
when i enable FPM i get the following error
checking whether ptrace works... configure: error: can not run test program
while cross compiling
I know that FPM is experimental, btw the bug is related to configure script
and
not to FPM itself.
Wihtout fpm, enabling only cgi and cli works fine
Here more output, starting from SAPI modules
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for FPM build... yes
checking for setenv... yes
checking for clearenv... yes
checking for setproctitle... no
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for errno.h... yes
checking for fcntl.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/uio.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for arpa/inet.h... yes
checking for netinet/in.h... yes
checking for prctl... yes
checking for clock_gettime... yes
checking for ptrace... yes
checking whether ptrace works... configure: error: can not run test program
while cross compiling
make[1]: *** [/home/daniele/sviluppo/clew.js/br-rootfs/build/php-
5.3.10/.stamp_configured] Errore 1
make: *** [all] Errore 2
Expected result:
----------------
it should go ahead
Actual result:
--------------
checking whether ptrace works... configure: error: can not run test program
while
cross compiling
--
Edit bug report at https://bugs.php.net/bug.php?id=61057&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61057&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61057&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61057&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61057&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61057&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61057&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61057&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61057&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61057&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61057&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61057&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61057&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61057&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61057&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61057&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61057&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61057&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61057&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61057&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61057&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61057&r=mysqlcfg