1. Installing OpenEuphoria on LinuxMint

Hi I'm new to the forum and to programming, been using Linux as my sole OS for 4 years, wanting to learn to program I did some research and it's said that eu is even easier than Python so I downloaded it (The deb package) install went well; at least the system didn't report any problem, but I can't launch eu not even by terminal, reading the online manual made me check the hidden files and look and behold eu is in every place that should be, and yet no eu for me.

I did try to install some software from source and never had any luck, so what I need is a step by step, fool proof how to install euphoria on my machine.

All ready downloaded the source of the latest version of eu, but can't make heads or tails of the install procedure.

Thanks in advance.

Edit:

Tried sudo make install, this is the error.-

install /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/eu.a /usr/local/lib 
install: no se puede efectuar `stat' sobre «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/eu.a»: No existe el archivo o el directorio 
make: *** [install] Error 1 

Then tried sudo make, this is the output.-

make interpreter translator library debug-library backend 
make[1]: se ingresa al directorio «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source» 
mkdir -p /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/back/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/transobj/back/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/libobj/back/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/libobjdbg /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/libobjdbg/back/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/backobj/back/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/transobj/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/libobj/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/backobj/ /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/include/  
make /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/eui OBJDIR=intobj EBSD= CONFIG=config.gnu EDEBUG= EPROFILE= 
make[2]: se ingresa al directorio «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source» 
gcc  -m32  -c -Wall -DEUNIX -DELINUX    -fsigned-char -ffast-math -fomit-frame-pointer  -DESIMPLE_MALLOC  -DARCH=ix86  -DELINUX -I /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/back -I /home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/include be_decompress.c -o/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/back/be_decompress.o 
make[2]: *** No hay ninguna regla para construir el objetivo «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/main-.c», necesario para «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source/build/intobj/back/coverage.h».  Alto. 
make[2]: se sale del directorio «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source» 
make[1]: *** [interpreter] Error 2 
make[1]: se sale del directorio «/home/eduardo/Escritorio/euphoria-4.0.5-Linux-ix86/source» 
make: *** [all] Error 2 

new topic     » topic index » view message » categorize

2. Re: Installing OpenEuphoria on LinuxMint

I've used Euphoria on LinuxMint before. Goto the directory where you located Eu, on mine it was /usr/share/euphoria

goto the /bin directory from the command line type this:

sudo eui ed.ex

This should open the euphoria editor that is built into it. Sudo as you'll want to run it as the root user, or so I've noticed. I don't have much experience with Linux, but that's how I got it to run.

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

3. Re: Installing OpenEuphoria on LinuxMint

Lone_EverGreen_Ranger said...

I've used Euphoria on LinuxMint before. Goto the directory where you located Eu, on mine it was /usr/share/euphoria

goto the /bin directory from the command line type this:

sudo eui ed.ex

This should open the euphoria editor that is built into it. Sudo as you'll want to run it as the root user, or so I've noticed. I don't have much experience with Linux, but that's how I got it to run.

Reinstalled from the deb package, went to the directory you mention and opened a terminal in it, got a promt

file name:

That's it? is that the euphoria "IDE"? shocked

If that's so then I need another IDE and also instructions to make a launcher on my desktop, also I don't like to be root while doing this, is there no risk to the system? Even if there's not I would like to be able to launch a different ide from my desktop, preferably a more modern ide than the terminal.

Any way thanks for the help Ranger

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

4. Re: Installing OpenEuphoria on LinuxMint

trying the manual install it says to edit /etc/profile so that the path contains euphoria/bin, and either create an eu.cfg file or set up EUDIR and EUINC. See the include statement.

This is my /etc/profile I don't see any path sad

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) 
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). 
 
if [ "$PS1" ]; then 
  if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then 
    # The file bash.bashrc already sets the default PS1. 
    # PS1='\h:\w\$ ' 
    if [ -f /etc/bash.bashrc ]; then 
      . /etc/bash.bashrc 
    fi 
  else 
    if [ "`id -u`" -eq 0 ]; then 
      PS1='# ' 
    else 
      PS1='$ ' 
    fi 
  fi 
fi 
 
# The default umask is now handled by pam_umask. 
# See pam_umask(8) and /etc/login.defs. 
 
if [ -d /etc/profile.d ]; then 
  for i in /etc/profile.d/*.sh; do 
    if [ -r $i ]; then 
      . $i 
    fi 
  done 
  unset i 
fi 

create an eu.cfg file How?

set up EUDIR and EUINC Again how?

Seen the include statement (The link in the install instructions) can't make heads or tails of it. sad

this is why I need step by step fool proof instructions... please? blink

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

5. Re: Installing OpenEuphoria on LinuxMint

Think I figured how to, tomorrow will try it. smile

Found this:

You can add a directory to the path in Linux Mint permanently in 3 simple steps.

Create a .bashrc file in your home folder. - $HOME/.bashrc

Put the following lines in the .bashrc file. export PATH=$PATH:(path to the directory)

EUINC="$HOME/euphoria-4.1a/include:$HOME/euphoria-4.1a/include/std:$HOME/euphoria-4.1a/include/euphoria"

Save it and that’s all.

This is applicable to other Linux distributions (tried it in PCLinuxOS) as well.

create a eu.cfg file in euphoria/bin and add this line:

i  file/where/I extracted it/euphoria/include 

Now I only have two questions:

Is it with or without the "?

and what is EUDIR?

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

6. Re: Installing OpenEuphoria on LinuxMint

Dr_Who said...

trying the manual install it says to edit /etc/profile so that the path contains euphoria/bin, and either create an eu.cfg file or set up EUDIR and EUINC. See the include statement.

This is my /etc/profile I don't see any path sad

If you installed using the deb package, you shouldn't need to do anything like this to get started. The binaries get installed to /usr/bin which should already be on your path. You shouldn't need to update /etc/euphoria/eu.cfg at all. You can create more tailored configuration files that only affect your user or even a particular project, but for just getting started, you shouldn't have to do any of that.

What happens if you type "eui" on the command line? You should get something like this:

$ eui 
Euphoria Interpreter v4.0.5 development 
   Linux, Using System Memory 
   Revision Date: 2012-10-15 09:43:49, Id: 5743:62d94559f849 
 
ERROR: Must specify the file to be interpreted on the command line 

You shouldn't need to use sudo. ed.ex is included, and a few people use it. Most people use other editors. I would recommend taking a look at wxIDE. There are 32 and 64-bit versions available. It was developed on Kubuntu, so it should run on Mint (you may need to install wxWidgets if you don't already have it on your system).

Matt

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

7. Re: Installing OpenEuphoria on LinuxMint

mattlewis said...

If you installed using the deb package, you shouldn't need to do anything like this to get started. The binaries get installed to /usr/bin which should already be on your path. You shouldn't need to update /etc/euphoria/eu.cfg at all. You can create more tailored configuration files that only affect your user or even a particular project, but for just getting started, you shouldn't have to do any of that.

What happens if you type "eui" on the command line? You should get something like this:

{{{ $ eui Euphoria Interpreter v4.0.5 development Linux, Using System Memory Revision Date: 2012-10-15 09:43:49, Id: 5743:62d94559f849

ERROR: Must specify the file to be interpreted on the command line

It shows exactly that!

mattlewis said...

You shouldn't need to use sudo. ed.ex is included, and a few people use it. Most people use other editors. I would recommend taking a look at wxIDE. There are 32 and 64-bit versions available. It was developed on Kubuntu, so it should run on Mint (you may need to install wxWidgets if you don't already have it on your system).

Matt

A million thanks Matt, now how do I install wxIDE? and does it start from the command line too?

How do I make it start from my desktop?

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

8. Re: Installing OpenEuphoria on LinuxMint

Dr_Who said...

A million thanks Matt, now how do I install wxIDE? and does it start from the command line too?

How do I make it start from my desktop?

Basically, download the correct version and extract it somewhere. You can run it from the command line (launch using the bin/wxide file). It uses the local libraries (wxWidgets and wxEuphoria). You should be able to set up a shortcut on your desktop to point to that to get it to launch.

Matt

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

9. Re: Installing OpenEuphoria on LinuxMint

mattlewis said...
Dr_Who said...

A million thanks Matt, now how do I install wxIDE? and does it start from the command line too?

How do I make it start from my desktop?

Basically, download the correct version and extract it somewhere. You can run it from the command line (launch using the bin/wxide file). It uses the local libraries (wxWidgets and wxEuphoria). You should be able to set up a shortcut on your desktop to point to that to get it to launch.

Matt

Thanks again! you've made my day! now I'm off to set everything up, see ya!

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

10. Re: Installing OpenEuphoria on LinuxMint


/home/irv/wxide-0.8.2-linux-x86/src/files.e:602
<0132>:: Syntax error - expected to see possibly 'end', not '{'
{ item } = get_first_tree_child( flist, item )
^

I get the above when trying to run wxIde using Eu 4.0.5 deb.

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

11. Re: Installing OpenEuphoria on LinuxMint

irv said...


/home/irv/wxide-0.8.2-linux-x86/src/files.e:602
<0132>:: Syntax error - expected to see possibly 'end', not '{'
{ item } = get_first_tree_child( flist, item )
^

I get the above when trying to run wxIde using Eu 4.0.5 deb.

Yes, the source won't work with that. If you look in the bin folder of your extracted directory, it has an interpreter (from the structs branch) that will run the IDE from source. There is also a translator and runtime library.

That particular feature is a 4.1 feature that allows multiple assignment, though in this particular case, it's assigning the first value and discarding the rest.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu