Opened 3 weeks ago

Last modified 3 weeks ago

#1647 new defect

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 (1)

comment:1 Changed 3 weeks ago by sjamaan

Milestone: someday5.2
Note: See TracTickets for help on using tickets.