Here is the relevant section of the Makefile.PL that generates the error:
while (1) {
$exe_path = "$openssl_path/bin/openssl";
last if -x $exe_path;
$exe_path = "$openssl_path/bin/openssl.exe";
last if -x $exe_path;
$exe_path = "$openssl_path/sbin/openssl";
last if -x $exe_path;
$exe_path = "$openssl_path/out32dll/openssl.exe";
last if -x $exe_path;
print "I could not find your OpenSSL in `$openssl_path'\n";
print "Please provide OpenSSL-$openssl_vers or\n"
. "OpenSSL-$openssl_vers2 installation directory (get from\n"
." http://www.openssl.org/ if you don't have it; please note that\
+n"
." SSLeay is no longer supported, see README) (C-c to abort):\
+n";
$openssl_path = <STDIN>;
chomp $openssl_path;
}
If the openssl executable is in /usr/bin, then the path you need to pass to the Makefile.PL is simply '/usr' - not '/usr/bin/openssl' or '/usr/bin'.
If, on the other hand, the openssl executable is located in '/usr/bin/openssl/bin', then passing '/usr/bin/openssl' is correct. In that case the failure could be that the '-x' condition (being tested in the Makefile.PL) is not being satisified and you should try to work out why that failure occurs.
If you still can't get anywhere with this could you tell us the name of the openssl executable, and its location. (I gather from your post that '/usr/bin' is the location, and that the name of the executable file is 'openssl' - but I'm not completely certain that I've got that right :-)
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.