Summary

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

Metadata

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.

Changes and comments

[2019-09-03 11:24:55 UTC] sjamaan changed milestone from someday to 5.2

[2019-11-09 16:50:38 UTC] sjamaan wrote:

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

[2019-11-09 17:15:29 UTC] sjamaan wrote:

patches sent

[2019-11-22 18:32:20 UTC] sjamaan changed status from new to closed

[2019-11-22 18:32:20 UTC] sjamaan set resolution to fixed

[2019-11-22 18:32:20 UTC] sjamaan wrote:

Fixed with d2dcb46257c253bc926258ac9945896c78df133f