#48389 [Opn->Fbk]: simple fix to make PHP build on GNU/Hurd

From: Date: Mon, 25 May 2009 18:53:01 +0000
Subject: #48389 [Opn->Fbk]: simple fix to make PHP build on GNU/Hurd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-137720@lists.php.net to get a copy of this message
ID: 48389 Updated by: rasmus@php.net Reported By: thijs at debian dot org -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: GNU/Hurd PHP Version: 5.2.9 New Comment: That patch doesn't make much sense to me. You are adding it to php.h and also to files that are already including php.h. And proc_open.c only uses PATH_MAX inside a block of code surrounded by #elif defined(NETWARE) and presumably Hurd does not look like Netware so why are you adding it there? And tsrm_config_common.h already has a check for whether PATH_MAX is defined. We would love to support Hurd, but let's have a cleaner patch. How about posting the build errors from an unpatched PHP build? Previous Comments: ------------------------------------------------------------------------ [2009-05-25 18:12:36] thijs at debian dot org Description: ------------ We got a request to make PHP5 on the Hurd operating system. Currently it fails but there's a simple patch that makes it work. Here's the patch to fix the issue, please consider applying it: http://www.a-eskwadraat.nl/~kink/php5_build_hurd.patch ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48389&edit=1

« previous php.bugs (#137720) next »