Subject: | Makefile.PL does not find openssl on OpenSolaris |
Makefile.pm does not find openssl on OpenSolaris installations. Adding the following to
Makefile.pm fixes the problem:
--- Makefile.PL Mon May 7 13:13:51 2007
+++ Makefile.PL.fix Mon May 7 13:16:05 2007
@@ -46,6 +46,8 @@
|| -x '/opt/ssl/sbin/openssl';
$openssl_path = '/usr/local/ssl' if -x '/usr/local/ssl/bin/openssl';
$openssl_path = '/apps/openssl/std' if -x '/apps/openssl/std/bin/openssl';
+# OpenSolaris installs openssl in /usr/sfw/bin
+$openssl_path = '/usr/sfw' if -x '/usr/sfw/bin/openssl';
$openssl_path = shift if @ARGV && $ARGV[0] ne '--';
shift if $ARGV[0] eq '--'; # Rest of args are for MakeMaker