Building Livecode for raspberry pi (ARM)

Stop by to discuss use cases, requirements, information architecture, flow diagraming, unit testing and usability.

Moderators: FourthWorld, Klaus

Post Reply
MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Building Livecode for raspberry pi (ARM)

Post by MaxV » Wed Dec 04, 2013 12:43 pm

Hello,
I have to use a raspberry pi for a project and I want to use Livecode. Unfortunately Linux Livecode version on livecode site is built only for x86 processor, but raspberry pi processor is ARM.
I installed all necessary library on my raspberry pi and Livecode source code from github.
Then I launched:

Code: Select all

 MODE=release make development
(is it right to write all on a single line?)

but at some point I get the following error:

Code: Select all

make[1]: Entering directory `/home/pi/livecode-master/thirdparty/libopenssl'
mkdir -p ./src
../../prebuilt/bin/Revolution.lnx "../../tools/weak_stub_maker.lc" <./ssl.stubs >./src/sslstubs.cpp
../../prebuilt/bin/Revolution.lnx: 1: ../../prebuilt/bin/Revolution.lnx: ELF0�4C4 (44�4��������-!�-!0!��X�4�,0!,�,���((�(�  Q�td/lib/ld-linux.so.2GNU9�����-n��$����͚x���: not found
../../prebuilt/bin/Revolution.lnx: 3: ../../prebuilt/bin/Revolution.lnx: Syntax error: word unexpected (expecting ")")
make[1]: *** [sslstubs.cpp] Error 2
make[1]: Leaving directory `/home/pi/livecode-master/thirdparty/libopenssl'
make: *** [libopenssl] Error 2
It seems an error about the prebuilt directory containing x86 executables instead of ARM.
Is there a way to avoid using prebuilt directory?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Building Livecode for raspberry pi (ARM)

Post by FourthWorld » Wed Dec 04, 2013 2:52 pm

Thanks for running that make attempt. This newsletter article provides a little background on the state of the LiveCode engine for ARM Linux, and includes a link to an early build:
http://livecode.com/blog/2013/02/20/liv ... pberry-pi/

Hope it helps move your work along. Please keep us posted as you move closer to success. Perhaps some of the others here with more experience compiling the engine can chime in with tips to help move this along.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Building Livecode for raspberry pi (ARM)

Post by MaxV » Wed Dec 04, 2013 4:14 pm

Unfortunately in that post there is not very much and the build is an old version of livecode that require to be a member of Livecode developer team... :(
So I can't use it.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Software Engineering”