Thanks, the eclrc file was the problem. Now it builds fine. I'll have to borrow a friend's phone to test it, but it runs fine in the simulator.<div><br></div><div>Now I just need ASDF... and maybe an up-to-date version of ECL... :-)<br>
<br><div class="gmail_quote">On Mon, Dec 14, 2009 at 11:26 AM, Ram Krishnan <span dir="ltr"><<a href="mailto:kriyative@gmail.com">kriyative@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  

<div bgcolor="#ffffff" text="#000000">
I got the build log, and looked over it. Here's what I found:<br>
<br>
The simulator build actually completed successfully. However, when the
script tried to build for the device target, it failed with the
following error:<div class="im"><br>
<blockquote>checking whether make sets $(MAKE)... yes<br>
An error occurred during initialization:<br>
Module error: Don't know how to REQUIRE ASDF..<br>
configure: error: The program ECL-MIN is not installed in your system<br>
</blockquote></div>
The device build actually requires a working ECL to be available in
your system (I'll try and remember to add that to the README file). In
this case, you have an ECL, but it's not loading properly. It's failing
in a call to (require :ASDF) which maybe in your ~/.eclrc file. The
simplest workaround is to temporarily rename your ~/.eclrc for the
duration of this build.<br>
<br>
I'll patch the configure script to include the `-norc' option, which
should fix this correctly.<br><font color="#888888">
<br>
-ram</font><div><div></div><div class="h5"><br>
<br>
Elliott Slaughter wrote:
<blockquote type="cite">Did you get this build log? It seems to have been rejected
from the list.<br>
  <br>
  <div class="gmail_quote">On Sun, Dec 13, 2009 at 11:10 PM, Elliott
Slaughter <span dir="ltr"><<a href="mailto:elliottslaughter@gmail.com" target="_blank">elliottslaughter@gmail.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
    <div>
    <div>On Sun, Dec 13, 2009 at 8:24 PM, Ram Krishnan <span dir="ltr"><<a href="mailto:kriyative@gmail.com" target="_blank">kriyative@gmail.com</a>></span>
wrote:<br>
    </div>
    </div>
    <div class="gmail_quote">
    <div>
    <div>
    <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
      <div bgcolor="#ffffff" text="#000000">
      <div>
      <div>Elliott Slaughter wrote:
      <blockquote type="cite">On Sun, Dec 13, 2009 at 7:45 AM, Ram
Krishnan <span dir="ltr"><<a href="mailto:kriyative@gmail.com" target="_blank">kriyative@gmail.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 bgcolor="#ffffff" text="#000000">Elliott Slaughter
wrote:
          <blockquote type="cite">
            <div>On Sat, Dec 12, 2009 at 9:01 AM, Ram Krishnan <span dir="ltr"><<a href="mailto:kriyative@gmail.com" target="_blank">kriyative@gmail.com</a>></span>
wrote:
            <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 bgcolor="#ffffff" text="#000000">Hi Elliott,<br>
              <br>
I started with Red Daly's work (which you referenced), cleaned up a few
dependencies, and got ECL running in both the simulator and device. You
can checkout a copy from github:<br>
              <br>
              <a href="http://github.com/kriyative/ecl-iphone-builder" target="_blank">http://github.com/kriyative/ecl-iphone-builder</a><br>
              <br>
It's based on ecl-9.8.4, and requires a newer Boehm-GC (gc-7.2alpha2).<br>
              <br>
I still have some changes to the UIKit ffi code, which I've not checked
in yet (mostly to do with Autorelease pools etc.). Other than that you
should be able to build, and connect to ECL via SLIME. Let me know if
you run into any issues.<br>
              </div>
            </blockquote>
            </div>
            <div><br>
            </div>
            <div>I cloned your repo and tried the instructions in the
README,
but
the build still failed. For a while it looked like it was doing
something, and it even loaded ECL and started compiling something, but
after a while it ended with the following:</div>
            </div>
            <div>/Users/elliott/Programming/Lisp/ecl-iphone-builder/ecl-9.8.4/build/cross_config:
line
25:
syntax error near unexpected token `)'</div>
          </blockquote>
Please check the comments in this post:<br>
          <br>
          <a href="http://funcall.posterous.com/ecl-on-iphone-redux" target="_blank">http://funcall.posterous.com/ecl-on-iphone-redux</a><br>
          <br>
I've also updated the git repo with the patches from the commenter.
This might fix your build issue.<br>
          </div>
        </blockquote>
        </div>
        <div><br>
        </div>
        <div>Yes, the issue posted by the commenter resulted in the
error I
saw. Curiously, however, I needed to quadruple-escape instead of
double-escape in order to fix the issue.</div>
        <div><br>
        </div>
        <div>However, even after fixing that, I still the following
error:</div>
        <div><br>
        </div>
        <div>...</div>
        <div>
        <div>checking whether ln -s works... yes</div>
        <div>checking whether make sets $(MAKE)... yes</div>
        <div>An error occurred during initialization:</div>
        <div>Module error: Don't know how to REQUIRE ASDF..</div>
        <div>configure: error: The program ECL-MIN is not installed in
your
system</div>
        <div>make: *** No targets specified and no makefile found.
 Stop.</div>
        <div>cp: build/*.a: No such file or directory</div>
        <div>chmod:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/dpp:
No
such file or directory</div>
        <div>chmod:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/ecl_min:
No
such file or directory</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libbytecmp.a
(No
such file or directory)</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libecl.a
(No
such file or directory)</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libeclgc.a
(No
such file or directory)</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libeclgmp.a
(No
such file or directory)</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libserve-event.a
(No
such file or directory)</div>
        <div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
can't
open input file:
/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libsockets.a
(No
such file or directory)</div>
        <div><br>
        </div>
        </div>
      </blockquote>
      </div>
      </div>
Could you include a little more of the build output for context? I
can't tell where in the configure step this failure occurs from the
above
fragment.<br>
      </div>
    </blockquote>
    <div><br>
    </div>
    </div>
    </div>
    <div>Sure, I have attached the unabridged build log (compressed).</div>
    <div>
    <div><br>
    </div>
    <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
      <div bgcolor="#ffffff" text="#000000">Also, I don't know if you
already fixed the symbolic link to the gc
directory issue that the commenter had pointed out. Otherwise, the the
gc library won't build correctly.<br>
      </div>
    </blockquote>
    </div>
    </div>
    <div><br>
    </div>
Same error.
    <div>
    <div><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>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <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</blockquote>
</div></div></div>

</blockquote></div><br><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>
</div>