[openssl-dev] [openssl.org #4426] Re: CentOS 5: mkdir /include: Permission denied at ./Configure line 1248

noloader@gmail.com via RT rt at openssl.org
Sun Mar 13 22:05:21 UTC 2016


Line 1248 is the 'mkpath' below.

    sub cleandir {
        my $base = shift;
        my $dir = shift;
        my $relativeto = shift || ".";

        $dir = catdir($base,$dir) unless isabsolute($dir);

        # Make sure the directories we're building in exists
        mkpath($dir);

        my $res = abs2rel(absolutedir($dir), rel2abs($relativeto));
        #print STDERR "DEBUG[cleandir]: $dir , $base => $res\n";
        return $res;
    }

$ perl --version
This is perl, v5.8.8 built for x86_64-linux-thread-multi

$ sed --version
GNU sed version 4.1.5

$ awk --version
GNU Awk 3.1.5

On Sun, Mar 13, 2016 at 5:44 PM, Jeffrey Walton <noloader at gmail.com> wrote:
> This is kind of odd... Working from Master at b36a2ef.
>
> It appears Configure is trying to create the directory "/include"
> rather than "$PWD/include".
>
> $ git clone ...
> $ ls -Al | grep openssl
> drwxrwxr-x 19 jwalton jwalton  4096 Mar 13 17:37 openssl
>
> $ cd openssl
> $ ./config
> Operating system: x86_64-whatever-linux2
> Configuring for linux-x86_64
> Configuring OpenSSL version 1.1.0-pre4-dev (0x0x10100004L)
>     no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
>     no-crypto-mdebug-backtrace [forced]
> OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
>     no-dynamic-engine [forced]
>     no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
>     no-egd          [default]  OPENSSL_NO_EGD (skip dir)
>     no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
>     no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
>     no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
>     no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
>     no-shared       [default]
>     no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
>     no-ssl3         [default]  OPENSSL_NO_SSL3 (skip dir)
>     no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD (skip dir)
>     no-static-engine [default]  OPENSSL_NO_STATIC_ENGINE (skip dir)
>     no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
>     no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
>     no-zlib         [default]
>     no-zlib-dynamic [default]
> Configuring for linux-x86_64
> mkdir /include: Permission denied at ./Configure line 1248


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4426
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list