You should report the bug to the developers of php-event so that they can fix it.
On Aug 30, 2013, at 11:53, Michael Newton wrote: > Yes, that is the error I was getting. Take a look at the code > <https://bitbucket.org/osmanov/pecl-event/src/74adb2980f6da7c70a00b801aa8e4865ac2f3acc/src/util.c?at=master#cl-64> > and you can see it's because PHP_EVENT_SOCKETS_SUPPORT is not defined. This > goes back to my original question; I think it's maybe because the extension > isn't getting compiled in a full PHP development environment: > > > > >I was able to download and compile the events module > ><http://pecl.php.net/package/event/1.7.5> without any > >errors, but when I try using it in a certain way, I get an error. Digging > >through the code (I know just enough to > >know that I'm in over my head) I found the problem is here in common.h > ><https://bitbucket.org/osmanov/pecl- > >event/src/74adb2980f6da7c70a00b801aa8e4865ac2f3acc/src/common.h#cl-37>: > > > >#if PHP_VERSION_ID >= 50301 && (HAVE_SOCKETS || defined(COMPILE_DL_SOCKETS)) > ># include <ext/sockets/php_sockets.h> > ># define PHP_EVENT_SOCKETS_SUPPORT > >#endif > > > >HAVE_SOCKETS and COMPILE_DL_SOCKETS are both undefined. Is this a part of > >the standard PHP install that's >missing? > > _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
