1. Euphoria on Amazon Web Services
- Posted by euphoric (admin) Dec 20, 2016
- 2549 views
Anybody know if it's possible to run Euphoria on the AWS platform? I mean, it seems like it should be possible, but if anybody has any experience with it, please chime in!
2. Re: Euphoria on Amazon Web Services
- Posted by achury Apr 24, 2021
- 1720 views
Anybody know if it's possible to run Euphoria on the AWS platform? I mean, it seems like it should be possible, but if anybody has any experience with it, please chime in!
I have the same question.
I want not to install a complete linux distro, just a shell to play with Eu interpreter.
The default "amazon linux" reports:
uname -a Linux ip-10-0-147-158.us-east-2.compute.internal 4.14.225-168.357.amzn2.x86_64 #1 SMP Mon Mar 15 18:00:02 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxObviously is a x86_64 system. Eu interpreter don't run there. I got an error:
bash: ./eui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directoryThe same error on Eu 3.1 and Eu 4
The nice surprise is that Phix interpreter appear to install and runs well.
Just open AWS console and follow the instructions from Phix web:
mkdir -p phix rm -r phix wget http://phix.x10.mx/phix.0.8.3.zip wget http://phix.x10.mx/phix.0.8.3.1.zip wget http://phix.x10.mx/phix.0.8.3.2.zip wget http://phix.x10.mx/phix.0.8.3.3.zip wget http://phix.x10.mx/p64 unzip phix.0.8.3.zip -d phix unzip phix.0.8.3.1.zip -d phix unzip phix.0.8.3.2.zip -d phix unzip phix.0.8.3.3.zip -d phix mv p64 phix/p cd phix chmod 777 p ./p -test
I got tests running OK and a nice fractal on text mode
Screenshot!
https://www.facebook.com/photo/?fbid=10225896307341287
Marco Achury
3. Re: Euphoria on Amazon Web Services
- Posted by petelomax Apr 24, 2021
- 1653 views
The nice surprise is that Phix interpreter appear to install and runs well.
Crikeybobs!
4. Re: Euphoria on Amazon Web Services
- Posted by ghaberek (admin) Apr 24, 2021
- 1644 views
I have the same question.
I want not to install a complete linux distro, just a shell to play with Eu interpreter.
The default "amazon linux" reports:
uname -a Linux ip-10-0-147-158.us-east-2.compute.internal 4.14.225-168.357.amzn2.x86_64 #1 SMP Mon Mar 15 18:00:02 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxObviously is a x86_64 system. Eu interpreter don't run there. I got an error:
bash: ./eui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directoryThe same error on Eu 3.1 and Eu 4
Sounds to me like you're using the 32-bit version of Euphoria 4.1. You can't (easily) run 32-bit apps on 64-bit Linux. It worked just fine for me with 64-bit:
[ec2-user@ip-172-31-21-46 ~]$ wget "https://github.com/OpenEuphoria/euphoria/releases/download/4.1.0/euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz" [ec2-user@ip-172-31-21-46 ~]$ sudo tar xvzf euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz -C /usr/local/ [ec2-user@ip-172-31-21-46 ~]$ cd /usr/local/bin/ [ec2-user@ip-172-31-21-46 ~]$ sudo find /usr/local/euphoria-4.1.0-Linux-x64/bin/ -type f -executable -exec ln -s {} \; [ec2-user@ip-172-31-21-46 ~]$ eui -v Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed [ec2-user@ip-172-31-21-46 ~]$
I was even able to build the latest revision from GitHub:
[ec2-user@ip-172-31-21-46 ~]$ sudo yum groupinstall "Development Tools" [ec2-user@ip-172-31-21-46 ~]$ git clone https://github.com/OpenEuphoria/euphoria OpenEuphoria/euphoria [ec2-user@ip-172-31-21-46 ~]$ cd OpenEuphoria/euphoria/source/ [ec2-user@ip-172-31-21-46 source]$ ./configure [ec2-user@ip-172-31-21-46 source]$ make interpreter [ec2-user@ip-172-31-21-46 source]$ cd build/ [ec2-user@ip-172-31-21-46 build]$ ./eui -v Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2021-03-10 18:49:25 Id: 99dff754918b9f66267b631d9c0be1d63c256d87 [ec2-user@ip-172-31-21-46 build]$
-Greg