On 18/07/2013 02:04, Fan Chun-wei
wrote:
Thanks guys, that's quite interesting. I can't quite remember where I obtained Python but the installer name seems to take the same format as the ones that are available here:- http://www.python.org/getit/ At the time I tried versions 2.7 and 3.1 but they both gave me the same problem. Going back to Tarnyko's email.... On 17/07/2013 19:55, Tarnyko wrote:
That's a bit strange. I don't have that first ($PATH) statement at all - but having said that, I didn't process gdbus-codegen.in. I simply copied it to gdbus-codegen. Perhaps I should have run it through some processor? Currently (on my system) gdbus-codegen is as below. John # gdbus-codegen (from my system) import os import sys srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None) if srcdir is not None: path = os.path.join(srcdir, 'gio', 'gdbus-2.0') elif os.name == 'nt': # Makes gdbus-codegen 'relocatable' at runtime on Windows. path = os.path.join(os.path.dirname(__file__), '..', 'lib', 'gdbus-2.0') else: path = os.path.join('@datadir@', 'glib-2.0') sys.path.insert(0, os.path.abspath(path)) import codegen_main sys.exit(codegen_main.codegen_main()) |