Edit report at https://bugs.php.net/bug.php?id=62708&edit=1
ID: 62708 Updated by: [email protected] Reported by: wongk at apt dot homeunix dot net Summary: fpm_sockets.[ch] uses reserved word, "sun" -Status: Open +Status: Duplicate Type: Bug Package: Compile Failure Operating System: Solaris PHP Version: 5.3.15 Block user comment: N Private report: N New Comment: Dupe of #62654 Previous Comments: ------------------------------------------------------------------------ [2012-07-31 19:22:01] wongk at apt dot homeunix dot net Description: ------------ Solaris has the reserved word, "sun", which is used in sapi/fpm/fpm/fpm_sockets.h and sapi/fpm/fpm/fpm_sockets.c Replacing those instances of "sun" with "s_un" results in a successful compile. Test script: --------------- cd /opt/pkgsrc/www/php-fpm; bmake Expected result: ---------------- The compilation should succeed. Actual result: -------------- Building via pkgsrc on SmartOS: In file included from /tmp/pkgsrc/www/php-fpm/work/php- 5.3.15/sapi/fpm/fpm/fpm_sockets.c:25:0: /tmp/pkgsrc/www/php-fpm/work/php-5.3.15/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' or ')' before numeric constant # uname -a SunOS pkgsrc.apt.homeunix.net 5.11 joyent_20120726T184637Z i86pc i386 i86pc Solaris ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62708&edit=1
