I've got xpra running on a development build of Solaris 11. Getting started took a while because I forgot to set PYTHONPATH before invoking the xpra script.
To remove the need for this, I added the following lines to it:
-import sys +import sys, os +sys.path.insert(0, + os.path.realpath(os.path.join(os.path.dirname(__file__), "../lib/python")))
Full patches for each invocation script are attached.
ahem ... that should by "../lib/python2.6" rather than "../lib/python". Unless you create a symlink during the installation process.
Sorry, but you should be installing Xpra system-wide, in which case it will be in your
python make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi CFLAGS=-O0 python setup.py install
If you chose not to do that, then obviously you will need to adjust
PYTHONPATH to match your environment, changing the code is not an acceptable solution.
I note that sometimes on multiuser machines where you do not have root access, you do need to make that change, or write a wrapper script which sets PYTHONPATH for you. *shrug* The patch was offered in the hope that it might help somebody who came across a similar issue.
r495 adds an
INSTALL file with (hopefully) clearer information.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/79