Subject: | Makefile.PL assumes bash available |
Hello Ari,
The Geo::GDAL Makefile.PL calls several bash utilities which are not available on windows by default (grep for example).
If I add winbash to the path then makefile.PL tries to execute gdal-config and fails. These calls are at lines 433, 437 and 438.
Changing the calls from `$config --cflags` to `sh $config --cflags` makes the error go away and the build gets to the next step (which fails, but that's for a separate report).
If you're wondering why I'm trying this, it is part of an attempt to build Geo::GDAL using Strawberry Perl - I can build GDAL using MinGW with the Strawberry gcc, but have to switch back to the CMD window because dmake converts the path separator to backslashes which won't work under mingw. It's an odd approach, but has worked in the past with perl 5.16 and gdal 1.11.
Thanks,
Shawn.