Posted by F on 08/04/05 16:17
Hello there!
I'm trying to compile php 4.4.0 on a RH Enterprise ES4 platform. Config
looks ok:
../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-imap --with-imap-ssl
--with-mysql
and passes ok.
However, making it gives me trouble.
/bin/sh
/usr/tmp/php-4.4.0/libtool --silent --preserve-dup-deps --mode=compile
cc -Iext/ctype/ -I/usr/tmp/php-4.4.0/ext/ctype/ -DPHP_ATOM_INC -I/usr/tmp/php-4.4.0/include
-I/usr/tmp/php-4.4.0/main -I/usr/tmp/php-4.4.0 -I/usr/local/include -I/usr/kerberos/include
-I/usr/tmp/php-4.4.0/ext/xml/expat -I/usr/tmp/php-4.4.0/TSRM -I/usr/tmp/php-4.4.0/Zend
-g -O2 -prefer-non-pic -c /usr/tmp/php-4.4.0/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
/bin/sh
/usr/tmp/php-4.4.0/libtool --silent --preserve-dup-deps --mode=compile
cc -Iext/imap/ -I/usr/tmp/php-4.4.0/ext/imap/ -DPHP_ATOM_INC -I/usr/tmp/php-4.4.0/include
-I/usr/tmp/php-4.4.0/main -I/usr/tmp/php-4.4.0 -I/usr/local/include -I/usr/kerberos/include
-I/usr/tmp/php-4.4.0/ext/xml/expat -I/usr/tmp/php-4.4.0/TSRM -I/usr/tmp/php-4.4.0/Zend
-g -O2 -prefer-non-pic -c /usr/tmp/php-4.4.0/ext/imap/php_imap.c -o
ext/imap/php_imap.lo
In file included from /usr/tmp/php-4.4.0/ext/imap/php_imap.c:46:
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:76: error: syntax error before
"MAILSTREAM"
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:76: warning: no semicolon at end of
struct or union
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:78: error: syntax error before '}'
token
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:78: warning: data definition has no
type or storage class
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:81: error: syntax error before
"SIZEDTEXT"
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:81: warning: no semicolon at end of
struct or union
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:85: error: syntax error before '}'
token
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:85: warning: data definition has no
type or storage class
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:88: error: syntax error before
"SIZEDTEXT"
/usr/tmp/php-4.4.0/ext/imap/php_imap.h:88: warning: no semicolon at end of
struct or union
And so forth. I compiled c-client from scratch on this machine.
I tried the same procedure on a RH ES3.0 machine and everything turned out
ok. I even tried with 4.3.9 and everything was ok on ES3.0.
On ES4 the result is up there in both cases.
Any ideas, anybody?
Thanks in advance,
F.
Navigation:
[Reply to this message]
|