[ic] Building Net::SSLeay on Red Hat 9 requires patch

Dan Browning interchange-users@icdevgroup.org
Sat May 24 13:03:00 2003


To build Net::SSLeay or Crypt::SSLeay on my Red Hat 9 system, I had to
define an additional compilation parameter.  YMMV.  Patches below.

-Dan

 * For Crypt::SSLeay:

--- Makefile.PL.orig    2003-01-29 16:32:38.000000000 -0800
+++ Makefile.PL 2003-05-24 09:55:43.000000000 -0700
@@ -160,6 +160,7 @@
     LIBS    => ["$SSL_LIB $LIBS"],
     INC     => "-I".$SSL_INC,
     dist    => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+    DEFINE  => '-DOPENSSL_NO_KRB5',
 );

 ## HELPERS


 * For Net::SSLeay:

--- Makefile.PL.orig    2003-05-24 09:53:06.000000000 -0700
+++ Makefile.PL 2003-05-24 09:52:22.000000000 -0700
@@ -159,7 +159,7 @@
     NAME       => 'Net::SSLeay',
     VERSION_FROM => 'SSLeay.pm', # finds $VERSION
     DIR         => [ 'Net-SSLeay-Handle-0.50' ],
-    DEFINE      => '-DPERL5',   # perl-5.8/gcc-3.2 needs this
+    DEFINE      => '-DPERL5 -DOPENSSL_NO_KRB5',   # perl-5.8/gcc-3.2 needs this
     DISTNAME    => 'Net_SSLeay.pm',
     dist        => { COMPRESS => 'gzip', SUFFIX => 'gz', },
     LIBS       => ["-L$openssl_path -L$openssl_path/lib -L$openssl_path/out32dll $libs"],