Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41104] [PATCH] Building on MinGW is disrupted by the presense of /bin/sh.exe on the PATH, docs explain required environment change

24 views
Skip to first unread message

David Woldrich

unread,
Dec 16, 2006, 5:35:24 PM12/16/06
to bugs-bi...@rt.perl.org
# New Ticket Created by David Woldrich
# Please include the string: [perl #41104]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41104 >


Affected files:

/README.win32.pod

Description: On Win32, backslashes are generated as part of many
pathnames by most tools and wind up in the makefile. Windows
understands paths with both forward and backslashes. But, Cygwin and
MSYS /bin/sh.exe's do not. They correctly interpret the backslashes as
escape characters. Perl.exe is designed to search for sh.exe on the
system PATH, if it finds it, whenever it shells a new program, it does
it via Cygwin's or MSYS' /bin/sh.exe. The make process fails early on
due to bad paths.

The fix is to remove /bin/sh.exe from the PATH environment variable and
run the build process from a dosbox. My patch includes a suggested
documentation change (you may want to wordsmith it a bit, but hopefully
you get the gist.)

Note: the README.win32.pod says that there should be "other README's"
that discuss Cygwin build issues, but I did not see any Cygwin readme's
in trunk. My patch does not discuss Cygwin, but theoretically the same
advice should apply.

Cheers,
Dave Woldrich

win32_mingw_build_documentation_clarification.diff

jnthn@jnthn.net via RT

unread,
Dec 18, 2006, 7:23:33 PM12/18/06
to perl6-i...@perl.org
On Sat Dec 16 14:35:24 2006, da...@woldrich.com wrote:
> Affected files:
>
> /README.win32.pod
>
> ...
>
Applied in r16187, thanks!

Jonathan

0 new messages