I run a webserver with PHP 4.2.3 currently working on it. I recently tried to download and install either PHP 4.3.0 or PHP 4.3.1 to no avail.
Running the simplest possible configuration with: ./configure make I get the following output from make after a successful configure: In file included from /wmi/syssoftware/php/php-4.3.1/Zend/zend.h:59, from /wmi/syssoftware/php/php-4.3.1/main/php.h:34, from /wmi/syssoftware/php/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union /usr/local/include/unix.h:189: parse error before `}' /usr/local/include/unix.h:189: warning: data definition has no type or storage class /usr/local/include/unix.h:193: parse error before `*' /usr/local/include/unix.h:193: warning: data definition has no type or storage class /usr/local/include/unix.h:196: parse error before `*' /usr/local/include/unix.h:197: parse error before `*' /usr/local/include/unix.h:198: parse error before `*' /usr/local/include/unix.h:199: parse error before `*' /usr/local/include/unix.h:200: parse error before `*' /usr/local/include/unix.h:201: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: warning: data definition has no type or storage class /usr/local/include/unix.h:203: parse error before `*' /usr/local/include/unix.h:204: parse error before `*' /usr/local/include/unix.h:206: parse error before `*' /usr/local/include/unix.h:207: parse error before `*' /usr/local/include/unix.h:209: parse error before `*' /usr/local/include/unix.h:210: parse error before `*' /usr/local/include/unix.h:211: parse error before `*' /usr/local/include/unix.h:212: parse error before `*' /usr/local/include/unix.h:213: parse error before `*' /usr/local/include/unix.h:214: parse error before `*' /usr/local/include/unix.h:215: parse error before `*' /usr/local/include/unix.h:216: parse error before `*' /usr/local/include/unix.h:219: parse error before `*' /usr/local/include/unix.h:221: parse error before `DOTLOCK' /usr/local/include/unix.h:222: parse error before `MAILSTREAM' /usr/local/include/unix.h:223: parse error before `*' /usr/local/include/unix.h:224: parse error before `*' /usr/local/include/unix.h:225: parse error before `*' /usr/local/include/unix.h:226: parse error before `*' /usr/local/include/unix.h:228: parse error before `*' /usr/local/include/unix.h:229: parse error before `*' /usr/local/include/unix.h:230: parse error before `*' /usr/local/include/unix.h:231: parse error before `*' In file included from /wmi/syssoftware/php/php-4.3.1/main/php.h:92, from /wmi/syssoftware/php/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/include/unix.h:159: redefinition of `struct unix_local' /usr/local/include/unix.h:171: warning: redefinition of `UNIXLOCAL' /usr/local/include/unix.h:171: warning: `UNIXLOCAL' previously declared here /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union /usr/local/include/unix.h:189: parse error before `}' /usr/local/include/unix.h:189: warning: data definition has no type or storage class /usr/local/include/unix.h:193: parse error before `*' /usr/local/include/unix.h:193: warning: data definition has no type or storage class /usr/local/include/unix.h:196: parse error before `*' /usr/local/include/unix.h:197: parse error before `*' /usr/local/include/unix.h:198: parse error before `*' /usr/local/include/unix.h:199: parse error before `*' /usr/local/include/unix.h:200: parse error before `*' /usr/local/include/unix.h:201: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: warning: data definition has no type or storage class /usr/local/include/unix.h:203: parse error before `*' /usr/local/include/unix.h:204: parse error before `*' /usr/local/include/unix.h:206: parse error before `*' /usr/local/include/unix.h:207: parse error before `*' /usr/local/include/unix.h:209: parse error before `*' /usr/local/include/unix.h:210: parse error before `*' /usr/local/include/unix.h:211: parse error before `*' /usr/local/include/unix.h:212: parse error before `*' /usr/local/include/unix.h:213: parse error before `*' /usr/local/include/unix.h:214: parse error before `*' /usr/local/include/unix.h:215: parse error before `*' /usr/local/include/unix.h:216: parse error before `*' /usr/local/include/unix.h:219: parse error before `*' /usr/local/include/unix.h:221: parse error before `DOTLOCK' /usr/local/include/unix.h:222: parse error before `MAILSTREAM' /usr/local/include/unix.h:223: parse error before `*' /usr/local/include/unix.h:224: parse error before `*' /usr/local/include/unix.h:225: parse error before `*' /usr/local/include/unix.h:226: parse error before `*' /usr/local/include/unix.h:228: parse error before `*' /usr/local/include/unix.h:229: parse error before `*' /usr/local/include/unix.h:230: parse error before `*' /usr/local/include/unix.h:231: parse error before `*' make: *** [ext/ctype/ctype.lo] Error 1 I then looked into unix.h and everything appears to be fine at a first glance. Here is an excerpt from unix.h from the complained about section (starting with line 174): typedef struct unix_local { unsigned int dirty : 1; /* disk copy needs updating */ unsigned int pseudo : 1; /* uses a pseudo message */ int fd; /* mailbox file descriptor */ int ld; /* lock file descriptor */ char *lname; /* lock file name */ off_t filesize; /* file size parsed */ time_t filetime; /* last file time */ time_t lastsnarf; /* last snarf time (for mbox driver) */ char *buf; /* temporary buffer */ unsigned long buflen; /* current size of temporary buffer */ char *line; /* returned line */ } UNIXLOCAL; /* Convenient access to local data */ #define LOCAL ((UNIXLOCAL *) stream->local) /* UNIX protected file structure */ typedef struct unix_file { MAILSTREAM *stream; /* current stream */ off_t curpos; /* current file position */ off_t protect; /* protected position */ off_t filepos; /* current last written file position */ char *buf; /* overflow buffer */ size_t buflen; /* current overflow buffer length */ char *bufpos; /* current buffer position */ } UNIXFILE; /* Function prototypes */ DRIVER *unix_valid (char *name); long unix_isvalid_fd (int fd); void *unix_parameters (long function,void *value); void unix_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); void unix_list (MAILSTREAM *stream,char *ref,char *pat); void unix_lsub (MAILSTREAM *stream,char *ref,char *pat); long unix_create (MAILSTREAM *stream,char *mailbox); long unix_delete (MAILSTREAM *stream,char *mailbox); long unix_rename (MAILSTREAM *stream,char *old,char *newname); MAILSTREAM *unix_open (MAILSTREAM *stream); void unix_close (MAILSTREAM *stream,long options); char *unix_header (MAILSTREAM *stream,unsigned long msgno, unsigned long *length,long flags); long unix_text (MAILSTREAM *stream,unsigned long msgno,STRING *bs,long flags); char *unix_text_work (MAILSTREAM *stream,MESSAGECACHE *elt, unsigned long *length,long flags); void unix_flagmsg (MAILSTREAM *stream,MESSAGECACHE *elt); long unix_ping (MAILSTREAM *stream); void unix_check (MAILSTREAM *stream); void unix_check (MAILSTREAM *stream); void unix_expunge (MAILSTREAM *stream); long unix_copy (MAILSTREAM *stream,char *sequence,char *mailbox,long options); long unix_append (MAILSTREAM *stream,char *mailbox,append_t af,void *data); int unix_append_msg (MAILSTREAM *stream,FILE *sf,char *flags,char *date, STRING *msg); void unix_abort (MAILSTREAM *stream); char *unix_file (char *dst,char *name); int unix_lock (char *file,int flags,int mode,DOTLOCK *lock,int op); void unix_unlock (int fd,MAILSTREAM *stream,DOTLOCK *lock); int unix_parse (MAILSTREAM *stream,DOTLOCK *lock,int op); char *unix_mbxline (MAILSTREAM *stream,STRING *bs,unsigned long *size); unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr); unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, long flag); long unix_rewrite (MAILSTREAM *stream,unsigned long *nexp,DOTLOCK *lock); long unix_extend (MAILSTREAM *stream,unsigned long size); void unix_write (UNIXFILE *f,char *s,unsigned long i); void unix_phys_write (UNIXFILE *f,char *buf,size_t size); This file has not been modified by myself and the machine is regularly applied patches from RHN. Any help would be greatly appreciated. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php