chicken-users
[Top][All Lists]
Advanced

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

RE: [Chicken-users] chicken-setup doesn't handle whitespace


From: Ian Oversby
Subject: RE: [Chicken-users] chicken-setup doesn't handle whitespace
Date: Sat, 05 Aug 2006 19:21:42 +0000

Built with CMake MinGW:

E:\devel>chicken-setup opengl
E:\Program Files\Chicken\bin\csc -feature compiling-extension -s glut.scm -O2
-d0 -L "-L/usr/X11R6/lib -L/usr/X11/lib -lglut -LX11 -lXmu"
'E:\Program' is not recognized as an internal or external command,
operable program or batch file.
make: Failed to make glut.so: shell invocation failed with non-zero return status
Error: shell invocation failed with non-zero return status
"E:\\Program Files\\Chicken\\bin\\csc -feature compiling-extension -s glut.scm .
..
1


Cheers,
Brandon Van Every

I have fairly recent version of chicken built with cmake / mingw / msys installed

Version 2, Build 423 - windows-mingw32-x86 - [ dload ptables applyhook ]

Installing in "c:\chicken-latest" rather than "c:\program files" means that chicken-setup works fine which seems to confirm your theory about whitespace. If it helps, here is a recent cmd session of mine.

C:\>c:\program files\internet explorer\iexplore.exe
'c:\program' is not recognized as an internal or external command,
operable program or batch file.

C:\>c:\program\\ files\internet\\ explorer\iexplore.exe
'c:\program\\' is not recognized as an internal or external command,
operable program or batch file.

C:\>c:\program\\\\ files\internet\\\\ explorer\iexplore.exe
'c:\program\\\\' is not recognized as an internal or external command,
operable program or batch file.

C:\>"c:\program files\internet explorer\iexplore.exe"

[Internet explorer then popped up]

Quoting an entire command seems to be the way to get windows to accept it if it has spaces embedded. As backslash is the directory separator, it doesn't make sense that it would be the escape character too (perhaps? I'm normally a Unix guy myself).

Regards,

Ian






reply via email to

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