php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17320 invalid php_config.h for solaris 2.7 platform
Submitted: 2002-05-20 18:16 UTC Modified: 2002-06-21 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: fjb at frednet dot com Assigned:
Status: No Feedback Package: *Configuration Issues
PHP Version: 4.2.1 OS: Solaris 2.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-05-20 18:16 UTC] fjb at frednet dot com
Under Solaris 2.7 (and possibly other Solaris versions),
configure incorrectly sets the following in the main php
config file, main/php_config.h .  The workaround is to
edit the file and remove or comment out the inappropriate
definitions.

The following lines are _INCORRECT_, and should be removed
from the file (line numbers included for reference):

26:#define gid_t int
69:#define size_t unsigned
90:#define uid_t int
100:#define uint unsigned int
101:#define ulong unsigned long
621:#define HAVE_SELECT_H 1
738:#define HAVE_UNIX_H 1
930:#define in_addr_t u_int

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-20 19:03 UTC] fjb at frednet dot com
Add another line to delete from php_config.h:
687:#define HAVE_SYS_SYSEXITS_H 1

and uncomment the following line:
717:/* #define HAVE_SYSEXITS_H 1 */
 [2002-05-20 19:07 UTC] mfischer@php.net
Try running configure with 

  CC=/where/is/gcc ./configure ...

and see if it works.
 [2002-06-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC