Bug #17320 Updated: invalid php_config.h for solaris 2.7 platform
| From: | mfischer@php.net | Date: | Mon, 20 May 2002 23:07:25 +0000 |
| Subject: | Bug #17320 Updated: invalid php_config.h for solaris 2.7 platform | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8037@lists.php.net to get a copy of this message | ||
ID: 17320
Updated by: mfischer@php.net
Reported By: fjb@frednet.com
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Solaris 2.7
PHP Version: 4.2.1
New Comment:
Try running configure with
CC=/where/is/gcc ./configure ...
and see if it works.
Previous Comments:
------------------------------------------------------------------------
[2002-05-20 19:03:12] fjb@frednet.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 18:16:42] fjb@frednet.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17320&edit=1