Hi Andy.

> -----Original Message-----
> From: Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED] 
> Sent: 04 January 2005 08:18
> To: Binc IMAP General
> Subject: Re: [binc] SSL files not detected in 1.2.x series
> 
> On Mon, 3 Jan 2005, Mark Pratt wrote:
> >Hello.
> >I know that there have been various postings regarding this 
> problem in past
> >months regarding this but I am still unable to add SSL 
> support into 1.2.10
> >or 1.2.11 using the advise given.
> >Running configure attempts to locate the SSL Include and Lib 
> directories
> >which are available under /usr/local/ssl. Instead of 
> returning yes or no,
> >all I get is a dot.
> 
> The dot actually means that Binc's detection script doesn't 
> know where the
> libs and includes are, but it still was able to both compile 
> and link with
> OpenSSL, so you have both the libs and includes in your 
> standard include
> paths.

My OpenSSL files live in /usr/local/ssl which I believe is fairly standard.
An ldd of bincimap-up and bincimapd do not show any ssl references. Should
they?

> >I have tried a couple of the 1.3 series which correctly 
> located the SSL
> >files but fails with some non-descript error when making.
> 
> Have you checked config.log? What is the error?

The config.log for 1.2.11 has:
configure:3294: checking for OpenSSL includes
configure:3315: g++ -c -g -O2 -Wall -fno-exceptions -O2 -I.  conftest.cc >&5
configure:3321: $? = 0
configure:3324: test -z                          || test ! -s conftest.err
configure:3327: $? = 0
configure:3330: test -s conftest.o
configure:3333: $? = 0
configure:3335: result: .
configure:3352: checking for OpenSSL libraries
configure:3375: g++ -o conftest -g -O2 -Wall -fno-exceptions -O2 -I.   -L.
conft
est.cc  -lssl -lcrypto  -ldl >&5
configure:3381: $? = 0
configure:3384: test -z                          || test ! -s conftest.err
configure:3387: $? = 0
configure:3390: test -s conftest
configure:3393: $? = 0
configure:3395: result: .

The make error in 1.3.3 is:
... Snip ...
Making all in src
make[2]: Entering directory `/usr/src/mail/imap/bincimap-1.3.3/src'
g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -fno-exceptions -I. -c
address.cc
g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -fno-exceptions -I. -c
argparser.cc
g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -fno-exceptions -I. -c
authenticate.cc
authenticate.cc: In function `int authenticate(class ::Binc::Depot &, const
class string &, const class string &)':
authenticate.cc:250: aggregate `struct timeval timeout' has incomplete type
and cannot be initialized
authenticate.cc:258: confused by earlier errors, bailing out
make[2]: *** [authenticate.o] Error 1
make[2]: Leaving directory `/usr/src/mail/imap/bincimap-1.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mail/imap/bincimap-1.3.3'
make: *** [all-recursive-am] Error 2
mailman:/usr/src/mail/imap/bincimap-1.3.3#

> >The install is based on Slackware 7 so may be a little out 
> of date for the
> >1.3 install. I would like to get 1.2 working with SSL as the 
> non-SSL install
> >is working fine and I do not plan to rebuild the box in the 
> near future. If
> >you need any files sent on or off list, please let me know
> 
> Nothing is out of date for 1.3. Both 1.2 and 1.3 should 
> compile for you,
> and SSL should either be detected automatically, or you can 
> pass the paths
> explicitly to the configure script.

I have used the script below but no joy. How come 1.3.3 finds the includes
and libs OK but 1.2.11 does not?

#!/bin/sh

./configure \
        --prefix=/var/qmail \
        --sysconfdir=/var/qmail/control \
        --localstatedir=/var/log/qmail

> Andy :-)
> 
> --
> Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
> Author of Binc IMAP      |  "It is better not to do something
> http://www.bincimap.org/ |        than to do it poorly."
> 
> 

Reply via email to