h3x has asked for the wisdom of the Perl Monks concerning the following question:

Hi all am installing the above named module and even using MCPAN i get the following error:
Makefile out-of-date with respect to /usr/lib/perl5/5.8.8/i386-linux-t +hread-multi/Config.pm /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CO +RE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 /usr/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make: *** [Makefile] Error 1
If the solution is to modify the Makefile how do i do it? Thanks.

Replies are listed 'Best First'.
Re: make fails during installation of XML::Parser 2.36
by tachyon-II (Chaplain) on Dec 05, 2007 at 06:35 UTC

    The time on your machine is probably set wrong. The Makefile timestamp needs to be after the Makefile.PL timestamp. If your machine is living in the past (as it were) rewriting the Makefile will not fix this problem as it will still be timestamped in the past with regards to Makefile.PL. As an alternative to fixing your clock, you will probably find that simply touch(ing) all the files in the distro fixes the problem.

      thanks alot i just realized my machine's clock was like years behind...2004 to be exact... Thanks alot
Re: make fails during installation of XML::Parser 2.36
by moritz (Cardinal) on Dec 05, 2007 at 06:26 UTC
    ==> Please rerun the make command. <==

    Just rerun make. Maybe you have to acquire a shell from CPAN to do it manually.