Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#8342 closed defect (fixed)

make: python: Command not found - cygwin - windows

Reported by: lance@… 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 Christian Boos)

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 anonymous, 15 years ago

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.

comment:2 by Christian Boos, 15 years ago

Milestone: not applicable0.12
Owner: set to Christian Boos
Severity: blockernormal
Status: newassigned

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 Christian Boos, 15 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

I believe this is fixed in r8258 / r8259, but don't hesitate to reopen if there are still problems with this.

comment:4 by Ryan J Ollos, 9 years ago

Keywords: makefile added; make removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.