Problems configuring php 4.3.2 with imap support
| From: | Martin Östlund | Date: | Thu, 19 Jun 2003 14:21:54 +0000 |
| Subject: | Problems configuring php 4.3.2 with imap support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11116@lists.php.net to get a copy of this message | ||
Hi list.
I'm having problems configuring PHP 4.3.2 on Red Hat 9.0
vanilla installation with imap-2001a-18 and imap-devel-2001a-18.
I first tried:
./configure --with-imap --with-apxs=/www/bin/apxs
And it then said:
configure: error: This c-client library is built with Kerberos support.
Add --with-kerberos to your configure line. Check config.log for details.
So I added --with-kerberos to my ./configure line as it said, and then it
gives me:
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
and this is some of the text config.log has:
configure:36336: gcc -o conftest -g -O2 -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib conftest.c -lc-client -lcrypt -lpam -lresolv -lm
-ldl -lnsl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4d7):
In function `ssl_onceonlyinit':
: the use of
tmpnam' is dangerous, better use mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4c7):
In function `ssl_onceonlyinit':
: undefined reference to `SSL_library_init'
and alot more of similar lines...
How can I fix this problem, I really need to get imap support to work with
my PHP.
Cheers. Martin