php 4.1.0 : fail compilng with cyrus, and fail starting anyway (assertionfailed)
| From: | Prune | Date: | Mon, 17 Dec 2001 18:22:58 +0000 |
| Subject: | php 4.1.0 : fail compilng with cyrus, and fail starting anyway (assertionfailed) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5325@lists.php.net to get a copy of this message | ||
Hi,
I'm compiling php 4.1.0 on freebsd 4.4 with options :
./configure --with-apxs=/opt/web/apache/bin/apxs --enable-versioning --with
-mysql=/opt/db/mysql --enable-track-vars --with-gd --enable-ftp --enable-sy
svsem --enable-sysvshm --enable-sockets --with-pdflib=/usr/local --with-gett
ext --with-openssl --with-mm=/usr/local --prefix=/opt/web/php --with-jpeg-
dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/X11R6/lib --wit
h-zlib-dir=/usr/lib --enable-memory-limit --with-ldap=/opt/ldap/openldap --e
nable-mailparse --with-imap=/opt/mail/cyrus --with-imap-ssl=/opt/mail/cyrus
--with-freetype-dir=/usr/local --with-t1lib=/usr/local --with-db3=/opt/db/Be
rkeleyDB --with-mcrypt=/usr/local --with-mhash=/usr/local --with-ming=/usr/l
ocal --with-zlib
If I add --with-cyrus, and add cyrus 2.0.16 libs and include, it fail with
lots of error :
Making all in cyrus
/bin/sh /usr/opt/src/php-4.1.0/libtool --silent --mode=compile
gcc -I. -I/usr/opt/src/php-4.1.0/ext/cyrus -I/usr/opt/src/php-4.1.0/main -I
/usr/opt/src/php-4.1.0 -I/opt/web/apache/include -I/usr/opt/src/php-4.1.0/Ze
nd -I/opt/mail/cyrus/include -I/opt/db/BerkeleyDB/include -I/usr/local/inclu
de/freetype2/freetype -I/usr/local/include -I/opt/ldap/openldap/include -I/o
pt/db/mysql/include/mysql -I/usr/opt/src/php-4.1.0/ext/xml/expat -I/usr/loc
al/include/gd -I/usr/local/include/ming -DMOD_SSL=208105 -DEAPI -DEAPI_MM -D
USE_EXPAT -I/usr/opt/src/php-4.1.0/TSRM -g -O2 -prefer-pic -c cyrus.c
cyrus.c: In function `zm_startup_cyrus':
cyrus.c:89: `IMCLIENT_CONN_NOSYNCLITERAL' undeclared (first use in this
function)
cyrus.c:89: (Each undeclared identifier is reported only once
cyrus.c:89: for each function it appears in.)
cyrus.c:90: `CONST_CS_' undeclared (first use in this function)
cyrus.c: In function `zif_cyrus_authenticate':
cyrus.c:271: warning: assignment makes pointer from integer without a cast
cyrus.c:275: warning: assignment makes pointer from integer without a cast
cyrus.c: In function `zif_cyrus_query':
cyrus.c:467: void value not ignored as it ought to be
*** Error code 1
Stop in /usr/opt/src/php-4.1.0/ext/cyrus.
*** Error code 1
Stop in /usr/opt/src/php-4.1.0/ext/cyrus.
*** Error code 1
Stop in /usr/opt/src/php-4.1.0/ext.
*** Error code 1
Stop in /usr/opt/src/php-4.1.0.
I really don't know what to think.....
If I compile without cyrus, everything goes fine. The problem comes when I
try to start apache :
/opt/web/apache/bin/apachectl start
Syntax error on line 242 of /opt/web/apache/conf/httpd.conf:
Cannot load /opt/web/apache/libexec/libphp4.so into server:
/opt/web/apache/libexec/libphp4.so: Undefined symbol "assertionfailed"
/opt/web/apache/bin/apachectl start: httpd could not be started
trussing the start gives nothing more !
Where does this symbol comes from ? what should I add./remove ?
please !!!
Prune