Edit report at https://bugs.php.net/bug.php?id=61839&edit=1

 ID:                 61839
 Updated by:         [email protected]
 Reported by:        bos at je-eigen-domein dot nl
 Summary:            [patch] Unable to cross-compile PHP with
                     --enable-fpm
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            FPM related
 Operating System:   Cross compiled Linux
 PHP Version:        5.4.0
 Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

thx for the patch


Previous Comments:
------------------------------------------------------------------------
[2012-05-23 09:41:37] [email protected]

Automatic comment on behalf of fat
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=0b44f16ea2f18a08eb1249db6621840527eab5e0
Log: - Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)

------------------------------------------------------------------------
[2012-05-23 09:41:09] [email protected]

Automatic comment on behalf of fat
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=0b44f16ea2f18a08eb1249db6621840527eab5e0
Log: - Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)

------------------------------------------------------------------------
[2012-04-24 15:12:48] bos at je-eigen-domein dot nl

Description:
------------
When cross-compiling PHP for a different architecture, configure fails if you 
specify the --enable-fpm option:

==
checking for ptrace... yes
checking whether ptrace works... configure: error: in 
`/hdd/max/dev/raspberry/buildroot-berryserver/output/build/php-5.4.0':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
==

Obviously it is impossible to execute a test program when the system you are 
compiling on is not the target system.

Attached a patch that skips running the test programs when cross-compiling.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61839&edit=1

Reply via email to