Andreas,

Here is the output of the make after having edited the 2 files you told me :

if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -fno-exceptions -O2 -MT
session-initialize-bincimapd.o -MD -MP -MF
".deps/session-initialize-bincimapd.Tpo" \
  -c -o session-initialize-bincimapd.o `test -f
'session-initialize-bincimapd.cc' || echo
'./'`session-initialize-bincimapd.cc; \
then mv ".deps/session-initialize-bincimapd.Tpo"
".deps/session-initialize-bincimapd.Po"; \
else rm -f ".deps/session-initialize-bincimapd.Tpo"; exit 1; \
fi
In file included from session-initialize-bincimapd.cc:44:
io-ssl.h:45:25: openssl/ssl.h: No such file or directory
io-ssl.h:46:25: openssl/err.h: No such file or directory
In file included from session-initialize-bincimapd.cc:44:
io-ssl.h:74: syntax error before `*' token
io-ssl.h:75: syntax error before `*' token
make[2]: *** [session-initialize-bincimapd.o] Error 1
make[2]: Leaving directory `/dm/backups/sources/bincimap-1.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dm/backups/sources/bincimap-1.2.3'
make: *** [all] Error 2


# find / -name ssl.h
/dm/backups/sources/openssl-0.9.7c/include/openssl/ssl.h
/dm/backups/sources/openssl-0.9.7c/ssl/ssl.h
/usr/local/ssl/include/openssl/ssl.h
# find / -name err.h
/dm/backups/sources/openssl-0.9.7c/crypto/err/err.h
/dm/backups/sources/openssl-0.9.7c/include/openssl/err.h
/usr/local/ssl/include/openssl/err.h

Any idea ?

Florent

-----Message d'origine-----
De : Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED]
Envoye : vendredi 31 octobre 2003 08:08
A : Binc IMAP General
Objet : RE: [binc] Problem with SSL library not found..


On Thu, 30 Oct 2003, Florent Gilain wrote:
>Oups...
>I just have posted you another email concerning this point before reading
>this one...sorry.
>CXXFLAGS="-L/usr/local/ssl/lib $CXXFLAGS" ./configure
>Didn't work for me.

Okay, try editing src/Makefile, search for this line:

LIBSSL =

replace it with

LIBSSL = -L/usr/local/ssl/lib -lssl -lcrypto

Then edit config.h and search for

/* #undef WITH_SSL */

replace it with

#define WITH_SSL

Then run "make clean && make" and see if that works for you. :-)

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