in reply to perl installation failed, need help

t/porting/exec-bit.t is a test that checks the internal consistency of the tarball. If you changed the x bit of any of the files before running the test, that might cause it to fail. Otherwise, maybe there are two files in the tarball that are executable which shouldn't be.

In any case, this failure highly unlikely to be problematic. Just go ahead and install the new Perl with make install.

You do not want to replace the system perl, right?

Replies are listed 'Best First'.
Re^2: perl installation failed, need help
by defborg (Initiate) on Oct 05, 2014 at 07:51 UTC

    I don't think I changed anything. I just wanted to update perl.

    I will try out your suggestions

      This is what i got after make install: make: *** install-all Error 2

      I ran make tests and this time it's successful. :)

      However, I don't see perl-5.20.1 in the /usr/bin/ files.

        Without seeing anything of the output, it's hard to diagnose.

        But you seem to be trying to install over the perl binary supplied by your OS vendor. The general advice is against doing that, as the system perl should only be managed through the system package manager. Manually modifying the system Perl can render your system tools unworkable and will cause conflicts between your OS package manager and CPAN when binary packages are changed.

        The general approach is to install your version under /opt/perl/ or /opt/perl-5.20/ and set the path in your Perl scripts appropriately. Alternatively, consider looking at perlbrew, which automates installing (yet) another version of Perl on your system.