Using latest CVS HEAD there are no problems: cd ext/sockets && phpize && ./configure && make && make install
$ php -r 'dl("sockets.so"); socket_create();' Command line code(1) : Warning - socket_create() expects exactly 3 parameters, 0 given $ autoconf --version Autoconf version 2.13 $ automake --version automake (GNU automake) 1.4 $ libtool --version ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) (Though I *think* never version are already recommended in the meantime, someone else may know this better, but it works here on debian/linux). On Thu, Sep 12, 2002 at 11:27:53AM -0700, Brian Lalor wrote : > > I just grabbed PHP from CVS and tried to go through the procedure outlined in > README.SELF-CONTAINED-EXTENSIONS and found that it doesn't work. Can someone > help? I'm looking at revision 1.10 of the README. > > The php4 module's checked out into my ~/devel directory. So under CONVERTING > AN EXISTING EXTENSION, I do > mkdir /tmp/newext > cd /tmp/newext > cp -rp ~/devel/php4/ext/sockets/* . > phpize > > phpize gives some warnings: > aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never >used > aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used > You should update your `aclocal.m4' by running aclocal. > > I ran aclocal, which gave the same output as phpize, save for the last line; > finally: > ./configure > > configure dies with: > configure: error: can not find sources in . or .. > > I've tried running buildconf and configure in the cvs working directory, but > still no dice. Can anyone help? > > B > > -- > Brian Lalor > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc - It's not a fug, it's a beature. - -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php