Installing Euphoria on Linux, Part 2

new topic     » topic index » view thread      » older message » newer message

OK, part 2!
Now, reading from HTML/install.htm :
********************************************************
How to Install Euphoria on Linux or FreeBSD 

 
Now that you've run: tar -xvz -f euphor24.tar to create the Euphoria
subdirectories, you need to: 
add euphoria/bin to your PATH 

create an environment variable called EUDIR 

To view the hidden files in your home directory, type:
 ls -a
 One or more of these files is executed when you log in. For instance,
if you have a hidden profile file such as .bash_profile, you should
search for the line:
 PATH=... 
 and add euphoria/bin to it. 


For example, a user called rob might do the following:
 PATH=/home/rob/euphoria/bin:$PATH
 


You must also add a line for the variable EUDIR such as:
 EUDIR=/home/rob/euphoria
 And remember to export these variables:
 export PATH EUDIR

euphoria/bin doesn't have to be first on your PATH, but if it isn't
you'll have to rename the ed shell script in euphoria/bin, and perhaps a
few others. 


Alternatively, system administrators can put EUDIR and the PATH change
into a global file, such as /etc/profile, so many users will be able to
access the Euphoria interpreter. 
******************************************************************
OK, lets play "what did I do wrong?"!
I opened a bash shell (as my log in, Urz) and typed
PATH="/mnt/win_d/Lineuphoria/include/":$PATH
PATH="/mnt/win_d/Lineuphoria/":$PATH
EUDIR="/mnt/win_d/Lineuphoria/bin/"
export PATH
export EUDIR

I then closed the shell, and attemped to open on of the GTK examples, (I
have the GTK wrapper) and yet I get the cannot find include error.

I personally, am in two minds as to what is going on here. first, is the
following web-sites, which show peoples inability to make changes to
.bash_profile stick : 
http://www.vmlinuz.ca/archives/elug/2002-10/msg00034.html
http://lists.debian.org/debian-user/1999/debian-user-199909/msg01763.html
http://www.linuxquestions.org/questions/archive/1/2003/07/3/72603

secondly, I suspect that I am doing something wrong, because in what I
typed, it never actually meantioned .bash_profile at all...

Help?

PS: I really appreciate your speedy replies last time, and hopefully I
can have this one fixed just as fast as the last one.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu