tachyon has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I have been having an interesting problem with perl Makefile.PL and make
I am using perlmonk.org for some cross platform module testing as it runs FreeBSD 4.4. When I run perl Makefile.PL the Makefile is given a timestamp 6 minutes in the past which leads to the following error:
bash-2.05$ perl Makefile.PL LIB=~/LIB Checking if your kit is complete... Looks good Writing Makefile for Blah::Simple bash-2.05$ make Makefile out-of-date with respect to Makefile.PL Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true /usr/bin/perl "-I/usr/libdata/perl/5.00503/mach" "-I/usr/libdata/perl/ +5.00503" Makefile.PL "LIB=/home/tachyon/LIB" Checking if your kit is complete... Looks good Writing Makefile for CGI::Simple ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false *** Error code 1 Stop in /usr/home/tachyon/Blah/Simple. bash-2.05$ make [more of the same error] bash-2.05$ ls -al total 178 drwxr-xr-x 6 tachyon tachyon 512 Nov 18 08:29 . drwxr-xr-x 3 tachyon tachyon 512 Nov 18 02:12 .. -rw-r--r-- 1 tachyon tachyon 163 Nov 18 08:35 Changes -rw-r--r-- 1 tachyon tachyon 400 Nov 18 08:35 MANIFEST -rw-r--r-- 1 tachyon tachyon 17018 Nov 18 08:29 Makefile <--- +-- Huh, 6 minutes ago? -rw-r--r-- 1 tachyon tachyon 307 Nov 18 08:35 Makefile.PL <--- +-- Should be after this -rw-r--r-- 1 tachyon tachyon 6828 Nov 18 08:35 README drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 Simple -rw-r--r-- 1 tachyon tachyon 118167 Nov 18 08:35 Simple.pm drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 html drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 misc drwxr-xr-x 3 tachyon tachyon 512 Nov 18 02:12 t
As you can see the timestamp for the Makefile is incorrect with respect to the Makefile.PL. Apparently this chicken was born 6 minutes before its egg so make complains.
So..... 7 minutes later
bash-2.05$ perl Makefile.PL LIB=~/LIB Writing Makefile for Blah::Simple bash-2.05$ ls -al total 161 drwxr-xr-x 6 tachyon tachyon 512 Nov 18 08:36 . drwxr-xr-x 3 tachyon tachyon 512 Nov 18 02:12 .. -rw-r--r-- 1 tachyon tachyon 163 Nov 18 08:35 Changes -rw-r--r-- 1 tachyon tachyon 400 Nov 18 08:35 MANIFEST -rw-r--r-- 1 tachyon tachyon 17018 Nov 18 08:36 Makefile <--- +-- Now 1 minute past -rw-r--r-- 1 tachyon tachyon 307 Nov 18 08:35 Makefile.PL <--- +-- -rw-r--r-- 1 tachyon tachyon 6828 Nov 18 08:35 README drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 Simple -rw-r--r-- 1 tachyon tachyon 118167 Nov 18 08:35 Simple.pm drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 html drwxr-xr-x 2 tachyon tachyon 512 Nov 18 02:12 misc drwxr-xr-x 3 tachyon tachyon 512 Nov 18 02:12 t bash-2.05$ make mkdir blib mkdir blib/lib [now we are cooking...]
So that's a workaround but why is the timestamp off 6 minutes? Any suggestions about how to get a quicker workaround?
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Makefile time incorrect causing error
by blakem (Monsignor) on Nov 18, 2001 at 19:25 UTC | |
by tachyon (Chancellor) on Nov 19, 2001 at 16:14 UTC | |
by tye (Sage) on Nov 19, 2001 at 23:48 UTC | |
|
Re: Makefile time incorrect causing error
by grinder (Bishop) on Nov 18, 2001 at 19:25 UTC | |
by tachyon (Chancellor) on Nov 19, 2001 at 16:20 UTC | |
|
Re: Makefile time incorrect causing error
by kjherron (Pilgrim) on Nov 18, 2001 at 21:05 UTC | |
by tachyon (Chancellor) on Nov 19, 2001 at 16:25 UTC |