RE: [PHP-INST] PHP 4.1.1 compile problem with imap options
| From: | T Churchward | Date: | Thu, 28 Feb 2002 10:10:26 +0000 |
| Subject: | RE: [PHP-INST] PHP 4.1.1 compile problem with imap options | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6186@lists.php.net to get a copy of this message | ||
Hello
It appears that this is likely to be a bug. Using php 4.0.6 everything
works fine. On my way to bug.php.net....
my thanks to those that looked into this on my behalf.
Tom
-----Original Message-----
From: T Churchward [mailto:tchurchward@redlogic.co.uk]
Sent: 27 February 2002 15:34
To: php-install@lists.php.net
Subject: [PHP-INST] PHP 4.1.1 compile problem with imap options
Hello
I am experiencing a problem when compiling php4.1.1 for use with a Cyrus
imap server - full details below. If anyone has any ideas as to where I
might be going wrong your suggestion will be greatly appreciated.
thanks in advance
Tom Churchward
Red Logic
Oracle Support Specialists
Tel: +44 (0) 161 831 9860
Fax: +44 (0) 161 831 9713
E-mail: tchurchward@redlogic.co.uk
Web: www.redlogic.co.uk
Software Versions:
==================
Distro: RH6.2
Kernel: 2.2.19-6.2.12
PHP: 4.1.1
Cyrus IMAP: 2.0.16
UW imap client: imap-2001a
Apache: 1.3.23
MySQL: 3.23.49
Configure:
==========
My configure script is as follows:-
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
apxs --with-cyrus --with-openssl --with-imap-ssl --with-zlib --with-gdbm=/us
r/include/gdbm --with-imap=/usr/local/uw-imap
configure runs to completion i.e. doesn't complain about not being able to
find something it expects.
Make:
=====
Originally I had some problems with cyrus.c, but a trawl through the bugs on
bugs.php.net furnished an up-to-date version which no longer causes any
probs.
Make eventually fails with the following:-
make[1]: Entering directory `/usr/local/src/php-4.1.1.p1'
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=compile
gcc -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1
.1.p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/
local/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/
local/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php
-4.1.1.p1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_
EXPAT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic -c stub.c
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=link
gcc -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1.1.
p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/loc
al/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/loc
al/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.
1.1.p1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP
AT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic -o
libphp4.la -rpath /usr/local/src/php-4.1.1.p1/libs -avoid-version -L/u
sr/local/lib -L/usr/local/uw-imap/c-client -L/usr/local/mysql/lib/mysql -R
/usr/local/lib -R /usr/local/uw-imap/c-client -R /usr/lo
cal/mysql/lib/mysql stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/cyrus/
libcyrus.la ext/dba/libdba.la ext/imap/libimap.la ext/mysql/libmysql.la
ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libp
osix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypto -lssl -lc-client4 -ld
l -lmysqlclient -lz -lcrypt -lpam -lgdbm -lcyrus -lsasl -lz -lcrypt -lssl -l
crypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o): In function `fatal':
/usr/local/src/imap-2001a/c-client/ftl_unix.c:27: multiple definition of
`fatal'
ext/cyrus/.libs/libcyrus.al(cyrus.lo):/usr/local/src/php-4.1.1.p1/ext/cyrus/
cyrus.c:110: first defined here
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_get':
xmalloc.o(.text+0xf8): multiple definition of `fs_get'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:27: first defined here
/usr/bin/ld: Warning: size of symbol `fs_get' changed from 90 to 32 in
xmalloc.o
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_give':
xmalloc.o(.text+0x118): multiple definition of `fs_give'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:57: first defined here
/usr/bin/ld: Warning: size of symbol `fs_give' changed from 59 to 25 in
xmalloc.o
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.1.p1'
make: *** [all-recursive] Error 1
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php