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

this is an odd rut i seem to be in, but I'm trying to build several perl modules, and 'make' keeps complaining about config.pm...I'm guessing its a perl problem because it keeps complaining about config.pm.

any help would be appreciated (building Proc::Daemon in this example, on Debian):
# perl Makefile.PL Writing Makefile for Proc::Daemon # make make: Warning: File `/usr/lib/perl/5.8/Config.pm' has modification tim +e 1.7e+08 s in the future Makefile out-of-date with respect to /usr/lib/perl/5.8/Config.pm /usr/ +lib/perl/5.8/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true /usr/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Proc::Daemon ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make: *** [Makefile] Error 1
Notice at the end it says the makefile's been rebuilt and to run make again, but if I do, it displays all the same info, saying that the makefile's been rebuilt and to run make again, and i keep going like I'M stuck in an infinite loop, heh.

please help, or if its not a perl problem, at least point me in the right direction as to where to ask for the correct help?

Replies are listed 'Best First'.
Re: config.pm and 'make' problems..
by dragonchild (Archbishop) on Sep 29, 2005 at 19:59 UTC
    Have you correctly set the clock on your machine? That problem usually comes up with there's a problem with timestamps. I'm guessing that if you do a "date", you'll find that it's wrong. If it's right, then "ls -l /usr/lib/perl/5.8/Config.pm" will give you a bad date.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      yep, system thought it was october of 1999...(we just had a blackout thanks to a hurricane, so we're still getting evrything back up & running). thanks!