Solved: -lsasl problems
Russ Allbery
rra at stanford.edu
Tue Sep 17 19:58:55 UTC 2002
Matus fantomas Uhlar <uhlar at fantomas.sk> writes:
> Aha, it seems we need libsasl2 for imap.
> make[1]: Entering directory /home/uhlar/src/inn/inn-CURRENT/innfeed'
> gcc -O2 -I../include -I/usr/include -c -o imap_connection.o imap_connection.c
> imap_connection.c: In function `SetSASLProperties':
> imap_connection.c:1379: `SASL_IPREMOTEPORT' undeclared (first use in this function)
> imap_connection.c:1379: (Each undeclared identifier is reported only once
> imap_connection.c:1379: for each function it appears in.)
> imap_connection.c:1390: `SASL_IPLOCALPORT' undeclared (first use in this function)
> ...
> Will someone update docs/requirements?
I'm committing the following patch, which at least makes configure
consistent. I haven't tried building with SASL yet, so I don't know the
exact details of what we need or what the standard library names for SASL
are.
diff -u -p -r1.234 configure.in
--- configure.in 2002/09/16 20:50:35 1.234
+++ configure.in 2002/09/17 19:57:57
@@ -455,7 +455,7 @@ else
inn_save_LIBS=$LIBS
LIBS="$LIBS -L${SASL_DIR}/lib"
- AC_CHECK_LIB(sasl, sasl_getprop,
+ AC_CHECK_LIB(sasl2, sasl_getprop,
[SASL_LIB="-L${SASL_DIR}/lib -lsasl2"],
[AC_MSG_ERROR(Can not find SASL)],)
LIBS=$inn_save_LIBS
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list