1. Problem executing exu on linux

I've recently installed debian 3.1 on my laptop,
and today I tried to install and run euphoria on it.
But even though I try to run it from the console,
from the same directory, I keep getting the error
"zsh: file or path couldn't be found: exu".
If I run ls, it's there.

I'm quite a linux newbie, so I don't know if everything
is set up correctly. exu has got execution permissions.
I don't know if I've set up my PATH:s correctly,
but I don't think that would make zsh not found it.

Regards, Alexander Toresson

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

new topic     » topic index » view message » categorize

2. Re: Problem executing exu on linux

first try running it with a path name, to make sure it does work. for
the current directory, that's a single dot, or the whole path if
you're somewhere else

-- current directory
# ./exu

-- somewhere else (obviously you're not greg)
# /home/greg/euphoria/bin/exu

if that works, then you know nothing is wrong, just that something is
broken. i don't use Debian, never have. i've always stuck with RedHat
or Mandrake, and now i use Fedora Core 2. though i think you'd still
alter your .bash_profile file in your home directory and change the
PATH variable. here's what i have in mine:

-- begin .bash_profile
EUDIR=/home/greg/euphoria
EUINC=$EUDIR/include
PATH=$EUDIR/bin:$PATH:$HOME/bin

export PATH EUDIR EUINC
-- end .bash_profile

don't forget to export your variables!

HTH,
~Greg


On Wed, 22 Sep 2004 13:24:34 -0700, Alexander Toresson
<guest at rapideuphoria.com> wrote:
> 
> posted by: Alexander Toresson <toressonodakra at swipnet.se>
> 
> I've recently installed debian 3.1 on my laptop,
> and today I tried to install and run euphoria on it.
> But even though I try to run it from the console,
> from the same directory, I keep getting the error
> "zsh: file or path couldn't be found: exu".
> If I run ls, it's there.
> 
> I'm quite a linux newbie, so I don't know if everything
> is set up correctly. exu has got execution permissions.
> I don't know if I've set up my PATH:s correctly,
> but I don't think that would make zsh not found it.
> 
> Regards, Alexander Toresson
> 
> Shhh! Be vewy quiet! I'm hunting wuntime ewwows!
> 
> 
> 
>

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

3. Re: Problem executing exu on linux

Alexander Toresson wrote:
> 
> I've recently installed debian 3.1 on my laptop,
> and today I tried to install and run euphoria on it.
> But even though I try to run it from the console,
> from the same directory, I keep getting the error
> "zsh: file or path couldn't be found: exu".
> If I run ls, it's there.
> 
> I'm quite a linux newbie, so I don't know if everything
> is set up correctly. exu has got execution permissions.
> I don't know if I've set up my PATH:s correctly,
> but I don't think that would make zsh not found it.

Easy to check, type echo $PATH at the prompt, you should see something like:
/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/home/irv/bin:/home/irv/euphoria/bin
(replace the irv with your user name)

I sometimes forget to log out and back in again after making changes 
to .bash_profile. It only gets read nn login (or by doing a 'source
.bash_profile')

My .bash_profile contains the following:
PATH=$PATH:$HOME/bin
PATH=$PATH:$HOME/euphoria/bin
EUDIR=$HOME/euphoria
EUINC=$HOME/euphoria/include/gtk2
GDK_USE_XFT=1
export PATH EUDIR EUINC GDK_USE_XFT 

The lines containing gtk and GDK will be useful if you use EuGTK. 
The only other thing to check is to see who the owner of exu is. 

Hope that helps.

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu