Hi All, I've got a problem with installing PHP 4.2.1 (or 4.1.2, 4.2.0 etc):
The system is RedHat 7.2. The configure works fine, but when I come to compile there's an error. The file in question is unix.h (from the IMAP stuff) is exactly the same as another RH7.2 system (done a diff!) so I'm sure it relates to something else that's not setup properly. Any ideas? Regards, Jeremy ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --enable-track-vars --enable-safe-mode --with-apxs=/usr/local/apache/bin/apxs --with-zlib --with-gd --with-gd-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --enable-shared --enable-xslt --with-xslt-sablot --with-xml --with-imap=/usr/local --with-openssl --with-kerberos --with-iconv=/usr/local --with-expat=/usr/lib make Making all in Zend make[1]: Entering directory `/home/jeremy/web_server/php-4.2.1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI -I../TSRM -g -O2 -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c In file included from zend.h:55, from zend_compile.h:24, from zend_language_parser.c:147: /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[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/home/jeremy/web_server/php-4.2.1/Zend' make: *** [all-recursive] Error 1 -- -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php