<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Elliott Slaughter wrote:
<blockquote
 cite="mid:42c0ab790912132016m6da82b04xf355794774ea283f@mail.gmail.com"
 type="cite">On Sun, Dec 13, 2009 at 7:45 AM, Ram Krishnan <span
 dir="ltr"><<a moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 moz-do-not-send="true"
 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>
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>
<br>
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>
<br>
-ram<br>
<br>
</body>
</html>