#18895 [Com]: PHP configure's does not find SASL2 on System

From: Date: Thu, 19 Sep 2002 12:38:58 +0000
Subject: #18895 [Com]: PHP configure's does not find SASL2 on System
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19746@lists.php.net to get a copy of this message
ID: 18895 Comment by: bug@systron.de Reported By: herbert@pontoip.com.br Status: Duplicate Bug Type: Compile Failure Operating System: Slackware 8.1 w/ Kernel 2.4.19 PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#19746) next »