#18046 [Csd]: sys/socket.h not being included - causing make to fail

From: Date: Mon, 07 Oct 2002 13:45:57 +0000
Subject: #18046 [Csd]: sys/socket.h not being included - causing make to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21714@lists.php.net to get a copy of this message
ID: 18046 Updated by: kalowsky@php.net Reported By: jharlap@bic.mni.mcgill.ca Status: Closed Bug Type: Compile Failure Operating System: IRIX 6.5 PHP Version: 4.2.1 New Comment: Yeah I don't think that 4.2.3 got that patch backported to it. Do make sure that the current snapshots of 4.3.0 don't contain it though. Sorry about this. A lot of patches weren't backported by the authors, and I missed a bunch... but did get a lot :) Previous Comments: ------------------------------------------------------------------------ [2002-10-07 08:01:47] jharlap@bic.mni.mcgill.ca This problem has reoccurred in 4.2.3. ------------------------------------------------------------------------ [2002-06-28 11:06:06] sniper@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-06-28 10:53:40] jharlap@bic.mni.mcgill.ca Compiling PHP 4.2.1 on an Irix64 6.5 machine fails. In network.c, #if HAVE_SYS_SOCKET_H (line 32) evaluates to false, thus not including sys/socket.h. Seems to be a problem with the ./configure script, as one line in the output from ./configure reads "checking for sys/socket.h... no". I added #include <sys/socket.h> to main/php.h as a workaround and it fixed the problem for me. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18046&edit=1

« previous php.bugs (#21714) next »