Opened 5 years ago

Closed 4 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

Description

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\srfi-1.so
csc: file `srfi-1.scm' does not exist

Error: shell command terminated with nonzero exit code
1
"C:\\Users\\Mark\\AppData\\Local\\chicken-install\\srfi-1\\srfi-1.build.bat"

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 4 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 4 years ago by sjamaan

patches sent

comment:4 Changed 4 years ago by sjamaan

Resolution: fixed
Status: newclosed

Fixed with d2dcb46257c253bc926258ac9945896c78df133f

Note: See TracTickets for help on using tickets.