#8342 closed defect (fixed)
make: python: Command not found - cygwin - windows
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | low | Milestone: | 0.12 |
Component: | general | Version: | none |
Severity: | normal | Keywords: | cygwin, Makefile, windows, makefile |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
While working to setup the development/test environment in Windows using cygwin, the Makefile sets the path separator incorrectly which results in "make: python: Command not found".
The relevant lines from the Makefile are:
ifeq "$(OS)" "Windows_NT" SEP = ; else SEP = : endif
Under windows (Vista x64 at least) the value of $(OS) evaluates to "Windows_NT"; however, ";" is not a valid path separator for cygwin.
If you comment out the lines like the following, it will work:
#ifeq "$(OS)" "Windows_NT" # SEP = ; #else SEP = : #endif
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Milestone: | not applicable → 0.12 |
---|---|
Owner: | set to |
Severity: | blocker → normal |
Status: | new → assigned |
SEP needs to be ";" when used in the PYTHONPATH, unless maybe for the cygwin port of Python, but that version is untested, AFAIK.
However, I used that for PATH as well, and as you said, this is wrong for cygwin make (I used the MSVC build of Make, which appears to support both separators in this specific case).
comment:3 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:4 by , 9 years ago
Keywords: | makefile added; make removed |
---|
I am not sure how to "fix" this, but I can do some research and provide a patch once I get the environment up and running.