Bug #17320 Updated: invalid php_config.h for solaris 2.7 platform

From: Date: Fri, 21 Jun 2002 05:00:08 +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-11636@lists.php.net to get a copy of this message
ID: 17320 Updated by: php-bugs@lists.php.net Reported By: fjb@frednet.com -Status: Feedback +Status: No Feedback Bug Type: *Configuration Issues Operating System: Solaris 2.7 PHP Version: 4.2.1 New Comment: 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". Previous Comments: ------------------------------------------------------------------------ [2002-05-20 19:07:24] mfischer@php.net Try running configure with CC=/where/is/gcc ./configure ... and see if it works. ------------------------------------------------------------------------ [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

« previous php.bugs (#11636) next »