Opened 8 years ago
Closed 6 years ago
#1307 closed defect (fixed)
invalid number of parameters in install target on Windows
Reported by: | zmyrgel | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | someday |
Component: | build system | Version: | 4.11.0 |
Keywords: | Cc: | ||
Estimated difficulty: | medium |
Description
I tried to install chicken on windows following the instructions from https://wiki.call-cc.org/compiling-chicken-on-windows-xp-with-mingw but the install part failed with following:
1 File(s) copied xcopy /Y .\feathers.1 "C:\chicken\share\man\man1" .\feathers.1 1 File(s) copied mkdir "C:\chicken\share\chicken\doc\manual" xcopy /Y .\manual-html\* "C:\chicken\share\chicken\doc\manual" 0 File(s) copied xcopy /Y .\README "C:\chicken\share\chicken\doc" .\README 1 File(s) copied xcopy /Y .\LICENSE "C:\chicken\share\chicken\doc" .\LICENSE 1 File(s) copied xcopy /Y .\setup.defaults "C:\chicken\share\chicken" .\setup.defaults 1 File(s) copied xcopy /Y .\feathers.tcl "C:\chicken/share/chicken" Invalid number of parameters .\rules.make:415: recipe for target 'install-other-files' failed mingw32-make: *** [install-other-files] Error 4 C:\Users\tmy\Downloads\chicken-4.11.0>
Seems DATADIR variable is using wrong separators so the xcopy mistakes path as command argument.
Replacing the path arguments separaters with backslashes made the install target complete succesfully.
Change History (3)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Estimated difficulty: | → medium |
---|
comment:3 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
We've also done a lot of work on improving shell quoting and done several tests with weird path names. And indeed, forward slashes are required. Many people have tested on Windows, so I think the bug probably is gone already. (note that this was filed against CHICKEN 4.11)
If it's still failing, please reopen.
I tested the above with PREFIX using backslashes, heres the result with forward slashes: