My solaris box was waiting on:

> perl Makefile.PL
Using DBI 1.35 installed in /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI


and with the help of truss:

> truss perl Makefile.PL
...
Using DBI 1.35 installed in /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
write(1, " U s i n g D B I 1 .".., 87) = 87
brk(0x00534BF8) = 0
brk(0x00536BF8) = 0
stat64("/home/timbo/dbi", 0x0010FF68) (sleeping...)


I think that it is an autohome problem on the system that I was using - but the stat didn't seem to ever return - at least not before my patience ran out - so I suggest this diff for anyone with screwy systems which seem to wait forever on a stat. I can't see any harm in having it applied universally.

-Brook

Patch is against Makefile.PL from DBD::Oracle-1.14

> diff -c Makefile.PL.orig Makefile.PL
*** Makefile.PL.orig Wed Apr 2 10:08:52 2003
--- Makefile.PL Wed Apr 2 10:09:03 2003
***************
*** 92,98 ****
$::opt_g &&= '-g'; # convert to actual string
$::opt_v = 1 if $::opt_d;
$Verbose = 1 if $::opt_v;
! my $is_me = (-d "/home/timbo/dbi" && ($ENV{LOGNAME}||'') eq 'timbo'); # a reasonable guess


if ($::opt_W) {
open(MK_PM, ">/dev/null") or die "Unable to create mk.pm: $!";
--- 92,98 ----
$::opt_g &&= '-g'; # convert to actual string
$::opt_v = 1 if $::opt_d;
$Verbose = 1 if $::opt_v;
! my $is_me = (($ENV{LOGNAME}||'') eq 'timbo' && -d "/home/timbo/dbi"); # a reasonable guess


  if ($::opt_W) {
      open(MK_PM, ">/dev/null") or die "Unable to create mk.pm: $!";



Reply via email to