I have an error in the "-x" file test option. Found while building the ExtUtils F77.pm module. The result, for me, was that the 'make test' failed and died because a routine didn't recognize my fortran compiler as being executable
(This module is a prereq for PDL) F77.pm line 160 $F77config{Generic}{G77}{Compiler} = find_in_path('g77','f77','fort77'); calls the subroutine at line 556 sub find_in_path { my @names = @_; my @path = split(":",$ENV{PATH}); my ($name,$dir); for $name (@names) { for $dir (@path) { if (-x $dir."/$name") { print "Found compiler $name\n"; return $name; } } } return '' if $^O eq 'VMS'; die "Unable to find a fortran compiler using names: ".join(" ",@names); } But it can't find my g77 compiler. I thought the problem was the split on colon's (:), WinXP uses semi's (;). But the reason seems to be that the "-x" file test option does not work: the compiler is in my PATH, but not recognized here. Is this "-x" switch broken? Or is something configured wrong on my end? At the moment, my WORKAROUND is to append '.exe' to each of the names passed to find_in_path, and change the -x switch to -e. --RWJ _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs