Edit report at https://bugs.php.net/bug.php?id=61057&edit=1
ID: 61057
Comment by: hotseason007 at gmail dot com
Reported by: d dot albano at gmail dot com
Summary: PHP 5.3.10 fails to cross compile when FPM is
enabled (ptrace)
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Linux
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
I also reach it ,but php.net don't regard it as a bug !
here is my report:
https://bugs.php.net/bug.php?id=61063
I have fix and Here is the guid:
https://github.com/Qzi/webstore/wiki
the page attaches the patch
enjoy it !!
Previous Comments:
------------------------------------------------------------------------
[2012-02-11 17:15:22] d dot albano at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=61057&edit=1