Hi,

WGET 1.8 autoconfigures on RH 7.2 to use SOLARIS SSL. How comes? It checks for
libmd5 , finds it (in the package w3c-libwww-devel-5.2.8-10), and decides it is
solaris. Therefore, it assumes that the md5.h is in /usr/include rather then
/usr/include/openssl as it shouyld be. It does find a /usr/include/md5.h
(unluckily, perhaps, in the package cyrus-sasl-devel-1.5.24-23), and uses it
instead of /usr/include/openssl/md5.h . This generates a compilation error in
src/gen-md5.h. The configure.in script should be changed to check solaris
opnssl differently. Currently, I have to fix src/config.h by hand:

--- src/config.h~       Thu Dec 13 16:16:14 2001
+++ src/config.h        Thu Dec 13 16:17:50 2001
@@ -224,10 +224,11 @@
 #define HAVE_MD5 1

 /* Define if we're using Solaris libmd5.  */
-#define HAVE_SOLARIS_MD5 1
+/* #define HAVE_SOLARIS_MD5 1 */

 /* Define if we're using OpenSSL md5.  */
 /* #undef HAVE_OPENSSL_MD5 */
+#define HAVE_OPENSSL_MD5 1

 /* Define if we're using builtin (GNU) md5.c.  */
 /* #undef HAVE_BUILTIN_MD5 */

And now everything works.
-- 
Dr. Zvi Har'El     mailto:[EMAIL PROTECTED]     Department of Mathematics
tel:+972-54-227607                   Technion - Israel Institute of Technology
fax:+972-4-8324654 http://www.math.technion.ac.il/~rl/     Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                           Thursday, 28 Kislev 5762, 13 December 2001,  4:03PM

Reply via email to