imap and cpdf problmes
| From: | Pierluigi Mangani | Date: | Fri, 24 Nov 2000 08:05:33 +0000 |
| Subject: | imap and cpdf problmes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39079@lists.php.net to get a copy of this message | ||
I have been trying to compile php with the following.:
./configure \
--with-layout=redhat \
--with-config-file-path=/etc/httpd/conf \
--with-apxs=/usr/sbin/apxs \
--with-imap \
--with-imap-ssl \
--enable-versioning \
--with-system-regex \
--with-pgsql=/usr \
--with-zlib \
--enable-exif \
--enable-ftp \
--with-imagick \
--with-gd \
--with-pdflib=/usr/local \
--with-cpdflib=/usr/local \
--with-ttf \
--with-jpeg-dir \
--with-tiff-dir=/usr \
--with-dbase \
--enable-calendar \
--with-system-regex=yes \
--enable-debug=no \
--enable-memory-limit \
--enable-sysvsem \
--enable-sysvshm
and I it will not compile. If you remove imap support then cpdflib compile
fine and if you remove cpdflib then imap compiles fine.
(System RH7 with imap 2000 and CPDLLIB 2.02-r1-2 phpsnapshot reported
below)
[root@pluto php4-200011191245]# make
Making all in Zend
make[1]: Entering directory `/usr/local/src/test2/php4-200011191245/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/test2/php4-200011191245/Zend'
Making all in main
make[1]: Entering directory `/usr/local/src/test2/php4-200011191245/main'
make[2]: Entering directory `/usr/local/src/test2/php4-200011191245/main'
/bin/sh /usr/local/src/test2/php4-200011191245/libtool --silent
--mode=compile gcc -I. -I/usr/local/src/test2/php4-200011191245/main
-I/usr/local/src/test2/php4-200011191245
-I/usr/local/src/test2/php4-200011191245/main -I/usr/include/apache
-I/usr/local/src/test2/php4-200011191245/Zend
-I/usr/local/src/test2/php4-200011191245 -I/usr/local/include
-I/usr/include/freetype -I/usr/include/imap
-I/usr/local/src/test2/php4-200011191245/ext/mysql/libmysql
-I/usr/local/src/test2/php4-200011191245/ext/xml/expat/xmltok
-I/usr/local/src/test2/php4-200011191245/ext/xml/expat/xmlparse
-I/usr/local/src/test2/php4-200011191245/TSRM -DEAPI -DXML_BYTE_ORDER=12
-g -O2 -c internal_functions.c
In file included from
/usr/local/src/test2/php4-200011191245/ext/cpdf/php_cpdf.h:37,
from internal_functions.c:50:
/usr/local/include/cpdflib.h:801: parse error before `1'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/test2/php4-200011191245/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/test2/php4-200011191245/main'
make: *** [all-recursive] Error 1
[root@pluto php4-200011191245]#