1. Euphoria on Amazon Web Services

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!

new topic     » topic index » view message » categorize

2. Re: Euphoria on Amazon Web Services

euphoric said...

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/Linux 
Obviously 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 directory 
The 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 smile

Screenshot!

https://www.facebook.com/photo/?fbid=10225896307341287

Marco Achury

new topic     » goto parent     » topic index » view message » categorize

3. Re: Euphoria on Amazon Web Services

achury said...

The nice surprise is that Phix interpreter appear to install and runs well.

Crikeybobs! lol

new topic     » goto parent     » topic index » view message » categorize

4. Re: Euphoria on Amazon Web Services

achury said...

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/Linux 
Obviously 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 directory 
The 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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu