From:             [EMAIL PROTECTED]
Operating system: Red Hat 6.2
PHP version:      4.1.1
PHP Bug Type:     Compile Failure
Bug description:  imap compile failure

First off, I've tried this using PHP4.0.6, the compile works okay with this
earlier version (all other software reported below was used with 4.0.6).

The problem occurs under the following conditions:-

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




-- 
Edit bug report at http://bugs.php.net/?id=15776&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15776&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15776&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15776&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15776&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15776&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15776&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15776&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15776&r=submittedtwice

Reply via email to