in reply to Re: Perl install issue
in thread Perl install issue

After repeating 'make' I get the same error again.
And what is about system clock? The result of 'date' seems to be correct.

Replies are listed 'Best First'.
Re^3: Perl install issue
by Anonymous Monk on Aug 30, 2012 at 14:03 UTC

    And what is about system clock? The result of 'date' seems to be correct.

    What is it compared to the age of Makefile.PL and Makefile?

    I recall seeing messages like that when my localtime was in the past (my time settings weren't updated for modern daylight savings), and Makefile.PL was in the future, so the generated Makefile was older than Makefile.PL

    touch Makefile.PL fixed that issue

    but 5.16.1 was released weeks ago :)

      Thank you for the hint! It seems the problem is that in each subdir like perl-5.16.1/cpan/.., or perl-5.16.1/dist/.. Makefile is old and it is fixed only when you manually run a Makefile.PL in each of these subdirs that is impossible to do.
        Makefile is old and it is fixed only when you manually run a Makefile.PL

        Are you saying that if you go into (say) cpan/Archive-Extract and run, from the command line:

        ../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a

        then the generated Makefile is fine ... but when the build process runs the exact same command, the generated Makefile is older than the Makefile.PL ?

        That would be very weird. I don't know what the next step would be ... but I would think you'd have to start by looking for a difference in the environment settings for the 2 situations.

        Cheers,
        Rob
      I am facing the same issue with perl 5.18.2. Basically miniperl creates files with modification date in the past (some 59 seconds), while the Makefile.PL had good modification date (i.e. according to system clock).

      Since the filesystem was located on a Network Attached Storage, I simply moved the source directory of perl to some other storage and it solved the problem.

      (miniperl used to be on the NAS, while make was on an internal hdd. But I still don't understand why the modification dates were affected.)