Opened 5 years ago

Closed 5 years ago

#1647 closed defect (fixed)

chicken-install on windows fails from other drive than C:

Reported by: Mark Janssen Owned by:
Priority: minor Milestone: 5.2
Component: extensions Version: 5.1.0
Keywords: Cc:
Estimated difficulty: easy


When calling chicken-install on windows. The generated build batchs files do a cd to the egg folder, but the active drive is not changed. As a result compilation fails with a file not found error.

For example:

D:\>chicken-install srfi-1
building srfi-1
   d:\chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I C:\Users\Mark\AppData\Local\chicken-install\srfi-1 -C -IC:\Users\Mark\AppData\Local\chicken-install\srfi-1 -O3 -d0 srfi-1.scm -o C:\Users\Mark\AppData\Local\chicken-install\srfi-1\
csc: file `srfi-1.scm' does not exist

Error: shell command terminated with nonzero exit code

So after

cd "C:\Users\Mark\AppData\Local\chicken-install\srfi-1"

a c: should be done.

Change History (4)

comment:1 Changed 5 years ago by sjamaan

Milestone: someday5.2

comment:2 Changed 5 years ago by sjamaan

Just noticed that decompose-directory crashes with a low-level type assertion error on Windows... Got to fix that first

comment:3 Changed 5 years ago by sjamaan

patches sent

comment:4 Changed 5 years ago by sjamaan

Resolution: fixed
Status: newclosed

Fixed with d2dcb46257c253bc926258ac9945896c78df133f

Note: See TracTickets for help on using tickets.