PHP 4.0 Bug #5233: Compilation problems with NSAPI + Iplanet 4.1SP1
| From: | neva at nevalabs dot org | Date: | Tue, 27 Jun 2000 18:25:55 +0000 |
| Subject: | PHP 4.0 Bug #5233: Compilation problems with NSAPI + Iplanet 4.1SP1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22393@lists.php.net to get a copy of this message | ||
From: neva@nevalabs.org
Operating system: Linux Redhat 6.2
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: Compilation problems with NSAPI + Iplanet 4.1SP1
We've got the same problem described on #5206.
Here what we've done to make it work:
Edited Zend/zend-parser.y and added the following line:
#include "zend_globals_macros.h"
Maybe the Iplanet 4.1SP1 directory structure have changed, so we had
to make a link:
cd /usr/netscape/server4
ln -s plugins/include include
And finally, we had to edit sapi/nsapi/nsapi.c and add the line:
#define XP_UNIX 1
at the beginning of the file.
After these modifications, the compilation succeeded.