Bug #55111 [NEW]: Make fails with --enable-sockets
| From: | manuel at bouza dot ch | Date: | Sat, 02 Jul 2011 07:15:21 +0000 |
| Subject: | Bug #55111 [NEW]: Make fails with --enable-sockets | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-161487@lists.php.net to get a copy of this message | ||
From:
Operating system: Mac OSX 10.6.7
PHP version: 5.4SVN-2011-07-02 (SVN)
Package: Compile Failure
Bug Type: Bug
Bug description:Make fails with --enable-sockets
Description:
------------
PHP Version: 5.4.0alpha2-dev
Make fails with --enable-sockets configuration option. Without
--enable-sockets,
make & make install is successful.
Test script:
---------------
I used the following configuration options:
sudo ./configure \
--prefix=/opt/local/php-5.4-dev \
--with-config-file-path=/opt/local/php-5.4-dev/etc \
--with-fpm-user=_www \
--with-fpm-group=_www \
--enable-fpm \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-pdo-pgsql=/opt/local/lib/postgresql90/bin \
--enable-sockets
Expected result:
----------------
PHP should compile successfully with --enable-sockets.
Socket function should be available in PHP after successful compilation.
Actual result:
--------------
Confuguration runs ok, but make stops with the following error:
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c: In
function
âzif_socket_connectâ:
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:1556:
warning:
cast from pointer to integer of different size
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c: In
function
âzif_socket_set_optionâ:
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2206:
error:
âMCAST_BLOCK_SOURCEâ undeclared (first use in this function)
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2206:
error:
(Each undeclared identifier is reported only once
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2206:
error:
for each function it appears in.)
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2207:
error:
âMCAST_UNBLOCK_SOURCEâ undeclared (first use in this function)
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2208:
error:
âMCAST_JOIN_SOURCE_GROUPâ undeclared (first use in this function)
/Users/mbouza/Downloads/php5.4-201107012030/ext/sockets/sockets.c:2209:
error:
âMCAST_LEAVE_SOURCE_GROUPâ undeclared (first use in this function)
make: *** [ext/sockets/sockets.lo] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=55111&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55111&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55111&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55111&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55111&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55111&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55111&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55111&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55111&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55111&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55111&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55111&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55111&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55111&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55111&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55111&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55111&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55111&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55111&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55111&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55111&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55111&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55111&r=trysnapshot54