ID:               18895
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

Duplicate of 17119

------------------------------------------------------------------------

[2002-08-13 19:59:56] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to