Summary
chicken-install on windows fails from other drive than C:
Metadata
- Id: 33a4f4f52469acb2469f30c93a5a89eb68d7cdfb
- Trac id: 1647
- Type: defect
- Reporter: mpcjanssen
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty: easy
- Resolution: fixed
- Priority: minor
- Milestone: 5.2
- Version: 5.1.0
- Changetime: 2019-11-22 18:32:20 UTC
- Created: 2019-09-03 11:10:15 UTC
- Keywords:
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