On Tue, Aug 11, 2009 at 7:53 PM, Daniel Herring <span dir="ltr"><<a href="mailto:dherring@tentpost.com">dherring@tentpost.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 4 Aug 2009, Elliott Slaughter wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I know that ECL MinGW port was recently fixed... but it wasn't clear to me whether CFFI is supposed to work on MinGW or<br>
not. Anyways, when I try to compile it, I get an error compiling Alexandria (newest version from darcs):<br>
<br>
;;; Finished compiling c:/Program Files/asdf/alexandria/package.lisp.<br>
;;; Note: Scanning #P"c:/Program Files/asdf/alexandria/package.o"<br>
;;; Note: Found tag: "_ecl0qIqMOc7_1gLY2ty" for c:/Program Files/asdf/alexandria/package.o<br>
;;; Note: Invoking external command:<br>
;;;   gcc  -g -O2   -Dmingw32 -O "-Ic:/Bin/ecl" -w -c "c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.c" -o<br>
"c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.o"<br>
gcc: Files/asdf/alexandria/package.fas: No such file or directory<br>
;;; Note: Invoking external command:<br>
;;;   gcc -shared -o c:/Program Files/asdf/alexandria/package.fas -Wl,--export-all-symbols -L"c:/Bin/ecl"<br>
"c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.o" "c:/Program Files/asdf/alexandria/package.o"     -lecl    -lm -lws2_32<br>
</blockquote>
<br></div>
Ouch.  Somewhere a file path isn't being quoted properly, and the shell is splitting "c:/Program Files/asdf/alexandria/package.fas" into "c:/Program" and "Files/asdf/alexandria/package.fas".<br>

<br>
Has this asdf install ever worked with ecl?  Either way, a simple workaround is to move "c:/Program Files/asdf" to "c:/asdf".</blockquote><div><br>Thanks. I wasn't looking for that kind of a configuration problem....<br>
<br>Now CFFI builds for me :-)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">P.S.  I hate spaces in file/directory names...<br>
</blockquote></div><br>Yes, but it would still be nice to have it work independent of the user's configuration :P<br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>