chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Difficulty installing eggs on Chicken 5 on Windows 7


From: Kristian Lein-Mathisen
Subject: Re: [Chicken-users] Difficulty installing eggs on Chicken 5 on Windows 7 MSYS2
Date: Fri, 1 Mar 2019 10:04:48 +0300


Hi guys,

This is caused by a bug in CHICKEN 5. I reported a duplacate of it here: https://bugs.call-cc.org/ticket/1584

It is caused by MAX_PATH being too small and chicken-do not able to store all of its arguments.

You can apply commit 1e006b65 to your 5.0.0 sources or simply change line 79 in chicken-do.c to read "static TCHAR cmdline[ 10000 ];" instead of MAX_PATH. That solved things for me.

K.

On Fri, Mar 1, 2019, 08:00 John Croisant <address@hidden wrote:
On 2/28/19 6:50 AM, dignified face wrote:
Hello,

I installed Chicken 5.0.0 on Windows 7 64bit with MSYS2, following the instructions found here: http://wiki.call-cc.org/msys2
All works fine, but when I try to install an egg - for instance "chicken-install matchable" - I get the following error:

building matchable
   C:/msys64/usr/local/bin/csc -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\username\.chicken-install\cache\matchable -C -IC:\msys64\home\username\.chicken-install\cache\matchable -O2 -d1 matchable.scm -o C:\msys64\home\username\.chicken-install\cache\matchable\matchable.so
creating subprocess failed

Error: shell command terminated with nonzero exit code
1
"C:\\msys64\\home\\username\\.chicken-install\\cache\\matchable\\matchable.build.bat"

chicken-do seems to be the problem. I managed to build the egg by copying the csc invocations from matchable.build.bat then running matchable.install.bat manually, but this seems like a bad approach. Any help would be greatly appreciated!

Thanks in advance,
JJ

Unfortunately I don't have a solution, but I have the same problem on Windows 10 MSYS2. Here is a paste with a bunch of information in case it helps someone debug the problem:

    http://paste.call-cc.org/paste?id=d8878c03d3dbdc1e49f642f3255c893efa18db95

One thing I didn't mention in the paste is that I did a "make check" after compiling and installing CHICKEN, and it seemed to pass. I didn't paste the output of make check because it is extremely long.

- John Croisant

_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]