#18895 [Dup->Csd]: PHP configure's does not find SASL2 on System
| From: | sniper@php.net | Date: | Mon, 30 Sep 2002 01:28:24 +0000 |
| Subject: | #18895 [Dup->Csd]: PHP configure's does not find SASL2 on System | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20724@lists.php.net to get a copy of this message | ||
ID: 18895
Updated by: sniper@php.net
Reported By: herbert@pontoip.com.br
-Status: Duplicate
+Status: Closed
Bug Type: Compile Failure
Operating System: Slackware 8.1 w/ Kernel 2.4.19
PHP Version: 4.2.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-09-19 07:38:57] bug@systron.de
here:
php-4.2.3
linux 2.4.18
cyrus-imapd-2.1.9
cyrus-sasl-2.1.6
httpd-2.0.40
/usr/local/include/sasl/hmac-md5.h
/usr/local/include/sasl/md5.h
/usr/local/include/sasl/md5global.h
/usr/local/include/sasl/prop.h
/usr/local/include/sasl/sasl.h
/usr/local/include/sasl/saslplug.h
/usr/local/include/sasl/saslutil.h
/usr/local/lib/libsasl2.la
/usr/local/lib/libsasl2.so
/usr/local/lib/libsasl2.so.2
/usr/local/lib/libsasl2.so.2.0.6
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-pear --disable-debug --enable-track-vars --with-ftp
--with-xml --with-kerberos=/usr/heimdal --enable-sockets
--with-imap-ssl=/usr/src/imap-2002.RC6 --with-gettext
--with-cyrus --with-openssl=yes
==> configure: error: Please Re-install the cyrus distribution
now I do: ln -s /usr/local/include/sasl/sasl.h /usr/local/include
and run configure again:
==> checking for cyrus imap support... yes
but also
==> configure: error: Unable to find required gettext library
I have no idea for a workaround.
------------------------------------------------------------------------
[2002-08-13 22:32:58] kalowsky@php.net
Duplicate of 17119
------------------------------------------------------------------------
[2002-08-13 19:59:56] herbert@pontoip.com.br
I was able to compile it doing the following:
ln -s \
/usr/local/sasl2/include/sasl/sasl.h \
/usr/local/cyrus/include
ln -s \
/usr/local/sasl2/include/sasl \
/usr/local/cyrus/include
ln -s \
/usr/local/sasl2/lib/libsasl2.so \
/usr/local/cyrus/lib/libsasl.so
I had not tested PHP with this yet, but phpinfo() shows me that Cyrus
IMAPD support is enabled.
------------------------------------------------------------------------
[2002-08-13 19:55:58] herbert@pontoip.com.br
I wave cyrus-imapd-2.1.5 installed on /usr/local/cyrus
and cyrus-sasl-2.1.7 installed on /usr/local/sasl2.
I'm trying to configure PHP with cyrus and it give me the following
error:
sasl not found
configure: error: Please Re-install the cyrus distribution
I look at configure script and note that it does not search SASL very
well. It pre-supposes that SASL may be installed on some default
locations.
I suggest including a new option on configure to specify where SASL is,
when using --with-cyrus option.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18895&edit=1