acap compile error

Christian Schulte cs at schulte.it
Sat May 10 19:57:58 EDT 2003


Dennis Saenger wrote:

> hi!
>
> tried both - without success ;(
>
> there is another sasl.h in the cyrus-sasl source directory in 
> /usr/src/cyrus-sasl-2.1.13/include/ ... but i think the one in 
> /opt/sasl/current/lib/sasl is the right one ?!
>
>>>>>
>>>>>
>>>>> CPPFLAGS="-I/opt/sasl/current/include/sasl 
>>>>> -I/opt/sasl/current/lib" ./configure --with-auth=unix 
>>>>> --prefix=/opt/cyrus/2.0.17 --with- openssl=/opt/openssl/current 
>>>>> --with-sasl=/usr/lib/sasl && make depend 
>>>>
Another guess:

--with-sasl=/usr/lib/sasl ?

Shouldn't that be something like --with-sasl=/opt/sasl/current ? And 
then you should add /opt/sasl/current/lib to your linker's searchpath. Try:

sh$>CFLAGS="-I/opt/sasl/current/include" 
LDFLAGS="-L/opt/sasl/current/lib -R/opt/sasl/current/lib" ./configure 
--with-auth=unix --prefix=/opt/cyrus/2.0.17 
--with-openssl=/opt/openssl/current --with-sasl=/opt/sasl/current

Maybe that works....

--Christian






More information about the Info-cyrus mailing list