Hello again!
Sorry for all the emails to the mailing list, I'm just running into a lot of 
stuff haha

So, I tried installing crunch on native windows using my built version of 
chicken and I got this error

PS C:\git-repos\chicken-core> git pull
Already up to date.
PS C:\git-repos\chicken-core> chicken-install
PS C:\git-repos\chicken-core> chicken-install crunch
fetching crunch
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.

Error: (open-input-file) cannot open file - No such file or directory: 
"C:\\Users\\sraya\\AppData\\Local/chicken-install/crunch/crunch.egg"
PS C:\git-repos\chicken-core>

###
Curious, I also tried running this with git bash
###

sraya@Penelope MINGW64 /c/git-repos/chicken-core (master)
$ chicken-install crunch
fetching crunch
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch-debugger.tcl': No such file 
or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch-driver.scm': No such file 
or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch-utf.c': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.aggregate-types.scm': No 
such file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.c.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.backend.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.debug.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.expand.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.inference.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.node.scm': No such 
file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.optimize.scm': No 
such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.primitives.scm': 
No such file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.scm': No such file 
or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.type.scm': No such 
file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.compiler.util.scm': No such 
file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.declarations.scm': No such 
file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.egg': No 
such file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.h': No such 
file or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.memory.scm': No such file 
or directory
cp: cannot stat 
'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.process-context.scm': No 
such file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/crunch.scm': No 
such file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/INTERNALS': No 
such file or directory
cp: cannot stat 'C:UserssrayaAppDataLocalTemp/temp11f4.40020/tests': No such 
file or directory

Error: (open-input-file) cannot open file - No such file or directory: 
"C:\\Users\\sraya\\AppData\\Local/chicken-install/crunch/crunch.egg"

sraya@Penelope MINGW64 /c/git-repos/chicken-core (master)
$ ectory

Error: (open-input-file) cannot open file - No such file or directory: 
"C:\\Users\\sraya\\AppData\\Local/chicken-install/crunch/crunch.egg"

sraya@Penelope MINGW64 /c/git-repos/chicken-core (master)
$

###
Using w64devkit seemed more promising at first, but that also ended up failing
###

~ $ cd "C:\git-repos\chicken-core"
C:/git-repos/chicken-core $ chicken-install crunch
fetching crunch
fetching srfi-1
fetching srfi-13
fetching matchable
fetching srfi-14
building srfi-1
   C:/chicken/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-1 -O3 -d0 srfi-1.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1/srfi-1.so
   C:/chicken/bin/csc -regenerate-import-libraries -M -setup-mode -static -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1 -emit-link-file 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1/srfi-1.link -host -D 
compiling-extension -c -unit srfi-1 -D compiling-static-extension -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-1 -O3 -d0 srfi-1.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1/srfi-1.static.obj
   C:/chicken/bin/csc -setup-mode -s -host -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-1 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-1 -O3 -d0 srfi-1.import.scm 
-o C:/Users/sraya/AppData/Local/chicken-install/srfi-1/srfi-1.import.so
installing srfi-1
building srfi-14
   C:/chicken/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-14 -O3 -d0 srfi-14.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14/srfi-14.so
   C:/chicken/bin/csc -regenerate-import-libraries -M -setup-mode -static -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14 -emit-link-file 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14/srfi-14.link -host -D 
compiling-extension -c -unit srfi-14 -D compiling-static-extension -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-14 -O3 -d0 srfi-14.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14/srfi-14.static.obj
   C:/chicken/bin/csc -setup-mode -s -host -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-14 -O3 -d0 
srfi-14.import.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-14/srfi-14.import.so
installing srfi-14
building srfi-13
   C:/chicken/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-13 -O3 -d0 srfi-13.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13/srfi-13.so
   C:/chicken/bin/csc -regenerate-import-libraries -M -setup-mode -static -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13 -emit-link-file 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13/srfi-13.link -host -D 
compiling-extension -c -unit srfi-13 -D compiling-static-extension -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-13 -O3 -d0 srfi-13.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13/srfi-13.static.obj
   C:/chicken/bin/csc -setup-mode -s -host -I 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13 -C 
-IC:/Users/sraya/AppData/Local/chicken-install/srfi-13 -O3 -d0 
srfi-13.import.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/srfi-13/srfi-13.import.so
installing srfi-13
building matchable
   C:/chicken/bin/csc -host -D compiling-extension -J -s 
-regenerate-import-libraries -setup-mode -I 
C:/Users/sraya/AppData/Local/chicken-install/matchable -C 
-IC:/Users/sraya/AppData/Local/chicken-install/matchable -O2 -d1 matchable.scm 
-o C:/Users/sraya/AppData/Local/chicken-install/matchable/matchable.so
   C:/chicken/bin/csc -regenerate-import-libraries -M -setup-mode -static -I 
C:/Users/sraya/AppData/Local/chicken-install/matchable -emit-link-file 
C:/Users/sraya/AppData/Local/chicken-install/matchable/matchable.link -host -D 
compiling-extension -c -unit matchable -D compiling-static-extension -C 
-IC:/Users/sraya/AppData/Local/chicken-install/matchable -O2 -d1 matchable.scm 
-o C:/Users/sraya/AppData/Local/chicken-install/matchable/matchable.static.obj
   C:/chicken/bin/csc -setup-mode -s -host -I 
C:/Users/sraya/AppData/Local/chicken-install/matchable -C 
-IC:/Users/sraya/AppData/Local/chicken-install/matchable -O2 -d0 
matchable.import.scm -o 
C:/Users/sraya/AppData/Local/chicken-install/matchable/matchable.import.so
installing matchable
building crunch
   C:/chicken/bin/csc -host -s -c -C 
-IC:/Users/sraya/AppData/Local/chicken-install/crunch -O2 -d1 
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch-utf.c -o 
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch-utf.obj
In file included from 
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch-utf.c:3:
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h: In function 
'crunch_open_input_string':
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h:1391:25: error: 
implicit declaration of function 'fmemopen'; did you mean 'freopen'? 
[-Wimplicit-function-declaration]
 1391 |         p->data->file = fmemopen(s->data, s->size, "r");
      |                         ^~~~~~~~
      |                         freopen
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h:1391:23: error: 
assignment to 'FILE *' {aka 'struct _iobuf *'} from 'int' makes pointer from 
integer without a cast [-Wint-conversion]
 1391 |         p->data->file = fmemopen(s->data, s->size, "r");
      |                       ^
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h: In function 
'crunch_open_input_bytevector':
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h:1403:23: error: 
assignment to 'FILE *' {aka 'struct _iobuf *'} from 'int' makes pointer from 
integer without a cast [-Wint-conversion]
 1403 |         p->data->file = fmemopen(s->data, s->size, "rb");
      |                       ^
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h: In function 
'crunch_open_output_string':
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h:1417:23: error: 
assignment to 'FILE *' {aka 'struct _iobuf *'} from 'int' makes pointer from 
integer without a cast [-Wint-conversion]
 1417 |         p->data->file = fmemopen(buf->data, CRUNCH_BUFFER_SIZE, "w");
      |                       ^
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h: In function 
'crunch_open_output_bytevector':
C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.h:1430:23: error: 
assignment to 'FILE *' {aka 'struct _iobuf *'} from 'int' makes pointer from 
integer without a cast [-Wint-conversion]
 1430 |         p->data->file = fmemopen(buf->data, CRUNCH_BUFFER_SIZE, "wb");
      |                       ^

Error: shell command terminated with non-zero exit status 1: "gcc" 
"C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch-utf.c" "-o" 
"C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch-utf.obj" "-c" 
"-fno-strict-aliasing" "-fwrapv" "-DHAVE_CHICKEN_CONFIG_H" "-DC_ENABLE_PTABLES" 
"-Os" "-DPIC" "-DC_SHARED" 
"-IC:/Users/sraya/AppData/Local/chicken-install/crunch" 
"-IC:/chicken/include/chicken"

Error: shell command terminated with nonzero exit code
1
"sh C:/Users/sraya/AppData/Local/chicken-install/crunch/crunch.build.sh"
C:/git-repos/chicken-core $

Reply via email to