On Fri, 11 May 2001, after bashing his head against a wall, shea martin wrote:
>
> I have udes bb fot over a year now.  I have never had a problem with the
> menu until now.  I am trying to launch a program called 'ebench'.
> menu entry looks like this:
> [exec]    (eBench)    {ebench}
> 
> if I type ebench in an xterm, the progie fires up.
> if I switch out of x, into console, the program works.
> 
> when I click on the menu item in bb, nothing happens.  I subsituted
> {ebench} with kedit, and voila~, it works.
> 
> I tried substituting {ebench} with {xterm -e ebench} just to get an
> error message if nothing else.  But I got the following:
> xterm: Can't execvp ebench
> 
> what the heck does that mean?
> 
> I am wondering if it has something to do with the enviroment variables
> that ebench needs to run.  $EIFFEL4, $PLATFORM both need to be exported.
> 
> both my .bashrc and .bash_profile contain the following 2 lines:
> export  EIFFEL4=/usr/local/Eiffel45
> export  PLATFORM=linux-glibc2.1
> 
> Has anyone had a similar problem before???
> 
> Shea M

Maybe if you created a small script it would work. Use something along the
lines of this:

| #!/bin/sh
| export EIFFEL4=/usr/local/Eiffel45
| export PLATFORM=linux-glibc2.1
| ebench


Or, you can make it all one command for the menu:

| export EIFFEL4=/usr/local/Eiffel45; export PLATFORM=linux-glibc2.1; ebench

Maybe those might get your program working from the BB menu.

--gile
--
"Linux is only free if your time is worthless."

Reply via email to