Re: problems with balsa 1.2.4



On 2002.01.21 21:17 Ali Akcaagac wrote:
> hi, i catched up a discussion with someone on irc about
> recent balsa release.
> 
> <xxxxxxxxx>  /usr/i486-suse-linux/bin/ld: cannot find -lssl
> <xxxxxxxxx> collect2: ld returned 1 exit status
> <xxxxxxxxx> make[2]: *** [balsa] Error 1
> <xxxxxxxxx> but in the config it disabled ssl

OK, I got it. It is one of those few things that has not got backported 
from 1.3.0. It is a pity it has not got detected in BALSA_1_2_x or in 
the prerelease tarball.

-pawel
--- configure.1-2	Tue Jan 22 00:06:44 2002
+++ configure.in	Tue Jan 22 00:04:01 2002
@@ -494,9 +492,10 @@
    fi
 fi
 
-if test "x$with_ssl" != xno && test -z "$ssldir"; then
-   AC_MSG_ERROR([SSL requested but no SSL headers found.])
-else
+if test "x$with_ssl" != xno; then
+   if test -z "$ssldir"; then
+      AC_MSG_ERROR([SSL requested but no SSL headers found.])
+   else
         AC_MSG_RESULT(yes)
         LIBS="$LIBS -lssl -lcrypto"
 	if test "x$ssldir" != xdefault ; then
@@ -504,6 +503,9 @@
 	fi
 	ac_cv_path_openssl=$ssldir
 	AC_DEFINE(USE_SSL)
+   fi
+else
+   AC_MSG_RESULT(no)
 fi
 
 dnl ##########################################################################


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]