--- platform/gtk-x11/setup.py.orig 2010-04-19 19:00:48.482993934 -0700 +++ platform/gtk-x11/setup.py 2010-04-19 19:07:09.303745834 -0700 @@ -381,7 +381,7 @@ def get_mozilla_stuff(): xpcom_runtime_path = XPCOM_RUNTIME_PATH else: print "\nTrying to figure out xpcom_runtime_path value...." - xpcom_runtime_path = get_command_output("pkg-config --variable=libdir %s" % xpcom_lib).strip() + xpcom_runtime_path = parse_pkg_config('pkg-config', '%s' % xpcom_lib)['library_dirs'][0] print "using xpcom_runtime_path: ", repr(xpcom_runtime_path) mozilla_browser_options = parse_pkg_config("pkg-config",