[Ecls-list] ECL on iPhone?

Elliott Slaughter elliottslaughter at gmail.com
Wed Dec 16 05:18:24 UTC 2009


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.

Now I just need ASDF... and maybe an up-to-date version of ECL... :-)

On Mon, Dec 14, 2009 at 11:26 AM, Ram Krishnan <kriyative at gmail.com> wrote:

>  I got the build log, and looked over it. Here's what I found:
>
> The simulator build actually completed successfully. However, when the
> script tried to build for the device target, it failed with the following
> error:
>
> checking whether make sets $(MAKE)... yes
> An error occurred during initialization:
> Module error: Don't know how to REQUIRE ASDF..
> configure: error: The program ECL-MIN is not installed in your system
>
> 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.
>
> I'll patch the configure script to include the `-norc' option, which should
> fix this correctly.
>
> -ram
>
>
> Elliott Slaughter wrote:
>
> Did you get this build log? It seems to have been rejected from the list.
>
> On Sun, Dec 13, 2009 at 11:10 PM, Elliott Slaughter <
> elliottslaughter at gmail.com> wrote:
>
>>  On Sun, Dec 13, 2009 at 8:24 PM, Ram Krishnan <kriyative at gmail.com>wrote:
>>
>>>  Elliott Slaughter wrote:
>>>
>>> On Sun, Dec 13, 2009 at 7:45 AM, Ram Krishnan <kriyative at gmail.com>wrote:
>>>
>>>> Elliott Slaughter wrote:
>>>>
>>>> On Sat, Dec 12, 2009 at 9:01 AM, Ram Krishnan <kriyative at gmail.com>wrote:
>>>>
>>>>> Hi Elliott,
>>>>>
>>>>> 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:
>>>>>
>>>>> http://github.com/kriyative/ecl-iphone-builder
>>>>>
>>>>> It's based on ecl-9.8.4, and requires a newer Boehm-GC (gc-7.2alpha2).
>>>>>
>>>>> 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.
>>>>>
>>>>
>>>>  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:
>>>>  /Users/elliott/Programming/Lisp/ecl-iphone-builder/ecl-9.8.4/build/cross_config:
>>>> line 25: syntax error near unexpected token `)'
>>>>
>>>> Please check the comments in this post:
>>>>
>>>> http://funcall.posterous.com/ecl-on-iphone-redux
>>>>
>>>> I've also updated the git repo with the patches from the commenter. This
>>>> might fix your build issue.
>>>>
>>>
>>>  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.
>>>
>>>  However, even after fixing that, I still the following error:
>>>
>>>  ...
>>>  checking whether ln -s works... yes
>>> checking whether make sets $(MAKE)... yes
>>> An error occurred during initialization:
>>> Module error: Don't know how to REQUIRE ASDF..
>>> configure: error: The program ECL-MIN is not installed in your system
>>> make: *** No targets specified and no makefile found.  Stop.
>>> cp: build/*.a: No such file or directory
>>> chmod:
>>> /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/dpp:
>>> No such file or directory
>>> chmod:
>>> /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/ecl_min:
>>> No such file or directory
>>> /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)
>>> /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)
>>> /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)
>>> /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)
>>> /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)
>>> /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)
>>>
>>>    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.
>>>
>>
>>   Sure, I have attached the unabridged build log (compressed).
>>
>>  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.
>>>
>>
>>  Same error.
>>
>>
>> --
>> Elliott Slaughter
>>
>> "Don't worry about what anybody else is going to do. The best way to
>> predict the future is to invent it." - Alan Kay
>>
>
>
>
> --
> Elliott Slaughter
>
> "Don't worry about what anybody else is going to do. The best way to
> predict the future is to invent it." - Alan Kay
>
>


-- 
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict
the future is to invent it." - Alan Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20091215/82ff5540/attachment.html>


More information about the ecl-devel mailing list