hUnTeR <[EMAIL PROTECTED]>:

> I am trying to build openssl-0.9.3a on a RedHat 5.2 Linux 2.0.36 server
> and receiving a critical error, as follows:
> 
> ~/temp/openssl-0.9.3a/ ./config --prefix=/usr/local --openssldir=/usr/local/openssl
[...]
> PERL          =/usr/lib/perl5
[...]
> make: execvp: /usr/lib/perl5: Permission denied
> make: *** [links] Error 127

> ~/temp/openssl-0.9.3a/ which perl
> /usr/bin/perl
> 
> ~/temp/openssl-0.9.3a/ perl -v
> This is perl, version 5.005_02 built for i386-linux-thread

/usr/lib/perl5 is a directory, not an executable (but why is /usr/lib
in your PATH?).  That is a known bug in Configure; to fix it, change
Configure as follows:

--- Configure   1999/06/09 23:29:23     1.102
+++ Configure   1999/06/10 08:13:52     1.103
@@ -753,7 +753,7 @@
        my $path;
        foreach $path (split /:/, $ENV{PATH})
                {
-               if (-x "$path/$name")
+               if (-f "$path/$name" and -x _)
                        {
                        return "$path/$name" unless ($name eq "perl" and
                         system("$path/$name -e " . '\'exit($]<5.0);\''));
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to