Problem when compiling php5
| From: | Martin Hjort Eriksen | Date: | Sat, 24 Apr 2004 21:05:13 +0000 |
| Subject: | Problem when compiling php5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184541@lists.php.net to get a copy of this message | ||
Hello
I am having a major prolem when compiling PHP5....the problem is new, and I have never had it before. I have tried compiling on to seperate dists og Linux, Debian testing and Slackware 9.0, but the error persistes.
The output I recieve is:
/usr/local/include/unix.h:222: error: parse error before "MAILSTREAM"
/usr/local/include/unix.h:223: error: parse error before '*' token
/usr/local/include/unix.h:224: error: parse error before '*' token
/usr/local/include/unix.h:225: error: parse error before '*' token
/usr/local/include/unix.h:226: error: parse error before '*' token
/usr/local/include/unix.h:228: error: parse error before '*' token
/usr/local/include/unix.h:229: error: parse error before '*' token
/usr/local/include/unix.h:230: error: parse error before '*' token
/usr/local/include/unix.h:231: error: parse error before '*' token
make: *** [ext/zlib/zlib.lo] Fejl 1
my configure is:
'./configure' '--prefix=/usr' '--disable-static' '--with-apxs2' '--enable-discard-path' '--with-config-file-path=/usr/conf' '--enable-safe-mode' '--enable-bcmath' '--with-pic' '--enable-calendar' '--enable-ctype' '--with-imap=/usr/imap-2002e' '--enable-dbase' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png' '--with-mysql=/usr/local/mysql' '--with-mm=/usr' '--enable-trans-sid' '--enable-shmop' '--enable-sockets' '--with-regex=php' '--enable-sysvsem' '--enable-sysvshm' '--enable-yp' '--enable-memory-limit' '--with-tsrm-pthreads' '--enable-shared' '--disable-debug' '--with-zlib' '--disable-libxml' '--with-pgsql'
What is wrong
\Martin