Prosa troubleshooting
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.
Solution:
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:
fi
Issue 2: libX11.so.6 not found
On Ubuntu 16.04 I got the following error:
File "/opt/prosa2003/External/python2.2/lib-tk/Tkinter.py", line 35, in ? import _tkinter # If this fails your Python may not be configured for Tk ImportError: libX11.so.6: cannot open shared object file: No such file or directory
Evidently Prosa2003 is very outdated by now and is using a stone age python interpreter internally.
No solution so far.