ID: 17320 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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