Re: Installing Euphoria on Linux, Part 2
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 06, 2003
- 388 views
On 06 Oct 2003 18:02:19 +1000, Urzumph <Urzumph at HotPOP.com> wrote: >OK, lets play "what did I do wrong?"! >I opened a bash shell (as my log in, Urz) and typed >PATH=3D"/mnt/win_d/Lineuphoria/include/":$PATH >PATH=3D"/mnt/win_d/Lineuphoria/":$PATH >EUDIR=3D"/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. This is the same as doing the following ***on Windows***: open an MS_DOS prompt and type: >set FRED=3Dthing >set >exit You'll see from the second line that FRED was indeed set, but after the exit, it's gone, forever. Open a new dos window to check this. The exact same thing is happening on Linux, only with different file names. On Windows, you'd edit your autoexec.bat file to make the change permanent (or use a GUI admin tool on later versions); on linux the file happens to be called .profile or similar. (There is almost certainly a GUI admin program on your system, but I don't know what it is called.) When you edit that file (after making a backup copy!), be sure to run source .bash_profile to check for errors before rebooting. You can actually try running exu immediately after source .bash_profile to speed things up a bit. If you still have problems, run ls -al and post the list of all files that start with a dot. Pete