Skip Menu |

This queue is for tickets about the GraphViz CPAN distribution.

Report information
The Basics
Id: 7463
Status: resolved
Priority: 0/
Queue: GraphViz

People
Owner: Nobody in particular
Requestors: ron [...] savage.net.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Search for 'dot' must be 'dot.exe' under Windows
Line 7 of Makefile.PL is my $found = find("dot"); but it needs some OS-dependent code to find dot. On my system it is at: C:\PROGRA~1\ATT\Graphviz\bin\dot.EXE
--- Makefile.PL 2004-08-25 07:33:03.484375000 -0700 +++ Makefile.PL.new 2004-08-25 07:33:07.046875000 -0700 @@ -39,9 +39,10 @@ my $binary = shift; my $path = join ', ', @ENV{PATH}; my $path_sep = $Config{path_sep}; + my $exe_ext = $Config{exe_ext}; foreach my $dir (split $path_sep, @ENV{PATH}) { my $filename = catfile($dir, $binary); - return $filename if -x $filename; + return $filename if -x "$filename$exe_ext"; } return 0; }