Date: 04/15/01
- Next message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt"
- Previous message: Alexander Feldman: "Re: [PHP-DEV] Re: Bug in PHP-4.0.5RC6?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: elkner <email protected>
Operating system: Linux 2.4.3 i686
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: HAVE_SYS_RESOURCE_H not defined
configure checks (6524, 25069) for rusage seem to be ok, but make chokes during compilation of ext/standard/microtime.c about unknown storage size uf usg (struct rusage) and undeclared RUSAGE_SELF. Also there are several warnings about redeclaration of RLIM_INFINITY...
Quick and dirty fix for the compiler error:
--- microtime.c Mon Jun 5 21:47:44 2000
+++ ../../../../php-4.0.4pl1/ext/standard/microtime.c Sun Apr 15 20:02:12 2001
@@ -38,6 +38,7 @@
#include <string.h>
#include <stdio.h>
#include <errno.h>
+#include <sys/resource.h>
#include "microtime.h"
-- Edit Bug report at: http://bugs.php.net/?id=10340&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt"
- Previous message: Alexander Feldman: "Re: [PHP-DEV] Re: Bug in PHP-4.0.5RC6?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

