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

2006-08-07 Thread Brandon J. Van Every

felix winkelmann wrote:

On 8/6/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote:


There is (quotewrap blah) code in csc.scm.  It can be reused in
chicken-setup.scm.  It is mainly a question of where it needs to be
used.  I haven't had time or brainpower to deal with it.  Paid my rent
today with an overdraft check.  That's pretty much the shot going off
that starts my race towards jobdom.  Nothing Chicken is getting done
until I'm totally sick of jobhunting.  I bemoan the fact that supporting
anything in computers takes so much time.


Very true, I feel the same quite often. I have added checks for 
whitespace

in filenames at various places in chicken-setup.scm and pushed it to
the darcs head.



I built on MinGW and installed to E:\Program Files\Chicken.  
"chicken-setup opengl" now understands whitespace!  I get:


E:\devel>chicken-setup opengl
 copy gl.dll "E:\Program Files\Chicken\lib\gl.dll"
   1 file(s) copied.
 copy glu.dll "E:\Program Files\Chicken\lib\glu.dll"
   1 file(s) copied.
 copy glut.dll "E:\Program Files\Chicken\lib\glut.dll"
   1 file(s) copied.

This isn't entirely good in and of itself, but that's a subject for 
another post.  At least whitespace appears conquered.



Cheers,
Brandon Van Every



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


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

2006-08-07 Thread felix winkelmann

On 8/6/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote:


There is (quotewrap blah) code in csc.scm.  It can be reused in
chicken-setup.scm.  It is mainly a question of where it needs to be
used.  I haven't had time or brainpower to deal with it.  Paid my rent
today with an overdraft check.  That's pretty much the shot going off
that starts my race towards jobdom.  Nothing Chicken is getting done
until I'm totally sick of jobhunting.  I bemoan the fact that supporting
anything in computers takes so much time.


Very true, I feel the same quite often. I have added checks for whitespace
in filenames at various places in chicken-setup.scm and pushed it to
the darcs head.


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


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

2006-08-05 Thread Brandon J. Van Every

Ian Oversby wrote:



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).


There is (quotewrap blah) code in csc.scm.  It can be reused in 
chicken-setup.scm.  It is mainly a question of where it needs to be 
used.  I haven't had time or brainpower to deal with it.  Paid my rent 
today with an overdraft check.  That's pretty much the shot going off 
that starts my race towards jobdom.  Nothing Chicken is getting done 
until I'm totally sick of jobhunting.  I bemoan the fact that supporting 
anything in computers takes so much time.



Cheers,
Brandon Van Every



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


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

2006-08-05 Thread Ian Oversby

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




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


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

2006-08-04 Thread Brandon J. Van Every

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 statu

s
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



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users