php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10991 configuration problem with imap
Submitted: 2001-05-21 12:55 UTC Modified: 2001-05-29 07:31 UTC
From: Gerard dot Gachelin at univ-reunion dot fr Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.5 OS: Solaris8
Private report: No CVE-ID: None
 [2001-05-21 12:55 UTC] Gerard dot Gachelin at univ-reunion dot fr
Imap from Washington University is installed.
The installed version is : imap-2001.BETA.SNAP-0104140025

The c-client library (c-client.a) is in /usr/local/lib

So I type :
./configure --with-apxs=/usr/local/httpsd/bin/apxs --with-mysql --with-imap=/usr/local/lib/imap/c-client.a --with-imap-ssl=/usr/local/lib/imap/c-client.a 

It crashes with :
checking for SSL support in IMAP... yes
checking for IMAP support... yes
configure: error: Cannot find imap library. Please check your IMAP installation

Where is the mistake ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-21 16:38 UTC] sniper@php.net
What does it say in config.log for this?

--Jani


 [2001-05-22 08:22 UTC] Gerard dot Gachelin at univ-reunion dot fr
I added missing files in /usr/local/include and now
./configure --with-apxs=/usr/local/httpsd/bin/apxs --with-mysql --with-imap --with-imap-ssl
is working fine

Unfortunately, make stops with thus message :
Making all in imap
/bin/sh /local/src/php-4.0.5/libtool --silent --mode=compile gcc  -I. -I/local/src/php-4.0.5/ext/imap -I/local/src/php-4.0.5/main -I/local/src/php-4.0.5 -I/usr/local/httpsd/include -I/local/src/php-4.0.5/Zend -I/usr/local/include/imap -I/local/src/php-4.0.5/ext/mysql/libmysql -I/local/src/php-4.0.5/ext/xml/expat/xmltok -I/local/src/php-4.0.5/ext/xml/expat/xmlparse -I/local/src/php-4.0.5/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c php_imap.c
php_imap.c: In function `php_minit_imap':
php_imap.c:451: `auth_ssl' undeclared (first use in this function)
php_imap.c:451: (Each undeclared identifier is reported only once
php_imap.c:451: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `php_imap.lo'
Current working directory /local/src/php-4.0.5/ext/imap
*** Error code 1

wher auth_ssl should be declared ?
 [2001-05-27 14:50 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.0.6

--Jani

 [2001-05-29 07:31 UTC] sniper@php.net
See bug #10990 for patch.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC