Yesterday at 3:37am, shea martin said:

> 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???

The variables _might_ not be exported, e.g. when you run XDM.  Sou you
could do this (in bb-0.61.1):

[exec] (eBench) {EIFFEL4=/usr/local/Eiffel45 PLATFORM=linux-glibc2.1 ebench}

(all on one line)

Or export the variables from your ~/.xinitrc:

export EIFFEL4=/usr/local/Eiffel45
export PLATFORM=linux-glibc2.1
exec blackbox

Wilbert

Reply via email to