php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5233 Compilation problems with NSAPI + Iplanet 4.1SP1
Submitted: 2000-06-27 14:25 UTC Modified: 2000-07-26 01:52 UTC
From: neva at nevalabs dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: Linux Redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: neva at nevalabs dot org
New email:
PHP Version: OS:

 

 [2000-06-27 14:25 UTC] neva at nevalabs dot org
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 01:52 UTC] waldschrott@php.net
This is a patch rather than beeing a bug report. Thanks anyway, this one closed now (5206 is too).
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 15:00:01 2026 UTC