Re: I must be stupid (Linux Question)
- Posted by Mathew Hounsell <mfh03 at UOW.EDU.AU> Mar 06, 2000
- 447 views
Date sent: Sun, 5 Mar 2000 21:58:57 PST From: Humberto Yeverino <hyeverinojr at NETSCAPE.NET> Subject: I must be stupid (Linux Question) > For some reason Euphoria won't run on my Linux machine (RedHat 6.1) > When I type exu in a terminal window I get: > command not found > when I type "bash exu" in despiration I get: > cannot execute binary file. > > It's the same with every other executable I've added to the system since I set > it up... compiled or copied... The question is how you executed it. Try this : change to the directory containing exu e.g. $ cd /usr/euphoria/bin execute exu in the current directory e.g. $ ./exu With DOS when you enter the name of an executable, it first looks in the current directory, then it searches the PATH variable. Linux only searches the PATH variable. Edit your /etc/profile file. e.g. $ jed /etc/profile This file contains all your basic configuration data. Add ./ to the start of the PATH variable e.g. PATH=./:/rest/bin/ ( If there is no PATH add PATH=./ export PATH ) If you install euphoria you will probablely wish to add it to your path e.g. PATH=./:/rest/bin/:/usr/euphoria/bin/ if you place it in /usr/euphoria ------------------------- Sincerely, Mathew Hounsell mat.hounsell at excite.com