Re: cvs: php4 /ext/sockets sockets.c

From: Date: Tue, 10 Apr 2001 17:40:48 +0000
Subject: Re: cvs: php4 /ext/sockets sockets.c
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2810@lists.php.net to get a copy of this message
On Tue, 10 Apr 2001, Jason Greene wrote: > Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD today. > However, I do not have an OpenBSD box, does anyone out there want to try and > build the latest cvs with --enable-sockets on OpenBSD? The socket part builds fine, but I had a lot of other problems on it building PHP: gcc -I. -I/home/derick/php4/ext/standard -I/home/derick/php4/main -I/home/derick/php4 -I/home/derick/php4/Zend -I/home/derick/php4/ext/mysql/libmysql -I/home/derick/php4/ext/xml/expat/xmltok -I/home/derick/php4/ext/xml/expat/xmlparse -I/home/derick/php4/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c url_scanner_ex.c && touch url_scanner_ex.lo /usr/src/web/php/php4/ext/standard/url_scanner_ex.re:19: php.h: Permission denied *** Error code 1 Stop in /home/derick/php4/ext/standard. *** Error code 1 Stop in /home/derick/php4/ext/standard (line 37 of /home/derick/php4/build/rules.mk). *** Error code 1 > > Thanks, > -Jason > > > ----- Original Message ----- > From: "Jani Taskinen" <sniper@iki.fi> > To: "Jason Greene" <jason@php.net> > Cc: <php-cvs@lists.php.net> > Sent: Tuesday, April 10, 2001 5:01 AM > Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > > > > > > Have you tested it on Linux, FreeBSD, OpenBSD... ? :) > > If you know for sure it will work on these, go ahead. > > > > --Jani > > > > On Mon, 9 Apr 2001, Jason Greene wrote: > > > > >Everyone, > > > > > >Can I merge this into the current RC? This should not cause > > >any problems. > > > > > >-Jason > > > > > >----- Original Message ----- > > >From: "Jason Greene" <jason@inetgurus.net> > > >To: <php-cvs@lists.php.net> > > >Sent: Monday, April 09, 2001 10:16 PM > > >Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > > > > > > > > >> jason Mon Apr 9 20:16:06 2001 EDT > > >> > > >> Modified files: > > >> /php4/ext/sockets sockets.c > > >> Log: > > >> Fix for PR #9729, 9664, 9656, 8667. > > >> All compilers on Solaris should build this extension correctly now. > > >> It turns out the SUN CC, by default, enables a define that enables the use of > > >> #pragma redefine extname in sun header files. This is why cc would work, > > >> and gcc wouldn't. > > >> > > >> -Jason > > >> > > >> > > >> Index: php4/ext/sockets/sockets.c > > >> diff -u php4/ext/sockets/sockets.c:1.33 php4/ext/sockets/sockets.c:1.34 > > >> --- php4/ext/sockets/sockets.c:1.33 Thu Mar 22 05:16:58 2001 > > >> +++ php4/ext/sockets/sockets.c Mon Apr 9 20:16:05 2001 > > >> @@ -17,7 +17,7 @@ > > >> +----------------------------------------------------------------------+ > > >> */ > > >> > > >> -/* $Id: sockets.c,v 1.33 2001/03/22 13:16:58 sniper Exp $ */ > > >> +/* $Id: sockets.c,v 1.34 2001/04/10 03:16:05 jason Exp $ */ > > >> > > >> #include "php.h" > > >> > > >> @@ -34,6 +34,10 @@ > > >> #define _XOPEN_SOURCE_EXTENDED > > >> #define _XPG4_2 > > >> #define __EXTENSIONS__ > > >> + > > >> +#ifndef __PRAGMA_REDEFINE_EXTNAME > > >> +#define __PRAGMA_REDEFINE_EXTNAME > > >> +#endif > > >> > > >> #include "ext/standard/info.h" > > >> #include "php_sockets.h" > > >> > > >> > > >> > > >> -- > > >> PHP CVS Mailing List (http://www.php.net/) > > >> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > > >> For additional commands, e-mail: php-cvs-help@lists.php.net > > >> To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >> > > > > > > > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: php-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > Derick Rethans --------------------------------------------------------------------- PHP: Scripting the Web - www.php.net - derick@php.net SRM: Site Resource Manager - www.vl-srm.net --------------------------------------------------------------------- JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands ---------------------------------------------------------------------

« previous php.qa (#2810) next »