If the Prosa test case doesn't work, you should first try whether you can run Prosa stand-alone:
cd /usr/local/share/Prosa2003 bin/prosa2003
This should pop up a minimal graphical window.
Issue 1: /prosa2003.bin: not found
On an Ubuntu 7.04 system, we got the following error:
test: 36: ==: unexpected operator /usr/local/lib/prosa2003/bin/prosa2003: 55: /prosa2003.bin: not found
Apparently, the sh installed with Ubuntu doesn't recognize the first test statement in the prosa2003 shell script.
Remove the following lines from ./bin/prosa2003:
if ! test x"$DEV_BASE" == "x" then EXTERNALS=$DEV_BASE/External EXECUTABLE=$DEV_BASE/prosa2003.bin PYTHON=/usr/bin/python PROSAGUI=$DEV_BASE/gui.py else
and remove the closure of the if-clause further down: