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

From: Date: Fri, 28 Jun 2002 14:53:41 +0000
Subject: Bug #18046: sys/socket.h not being included - causing make to fail
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12416@lists.php.net to get a copy of this message
From: jharlap@bic.mni.mcgill.ca Operating system: IRIX 6.5 PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: sys/socket.h not being included - causing make to fail 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 bug report at http://bugs.php.net/?id=18046&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18046&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18046&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18046&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18046&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18046&r=support Expected behavior: http://bugs.php.net/fix.php?id=18046&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18046&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18046&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18046&r=globals

« previous php.bugs (#12416) next »