Export to GitHub

distcc - issue #91

distcc doesnt support python2.7


Posted on Dec 5, 2011 by Happy Ox
  1. What version of distcc are you using (e.g. "2.7.1")?

3.2rc1

  1. What platform are you running on (e.g. "Red Hat 8.0", "HP-UX 11.11")? Ubuntu Linux 2.6.38-linaro-lt-mx5 armv71

    What compilare are you using ("gcc 3.3")? gcc (Ubuntu/Linaro) 4.6.1

  2. What were you trying to do (e.g. "install distcc", "build Mozilla")? install distcc

  3. What went wrong? python2.7 is installed but It wasnt detected. I have to install python2.6 to compile pump support

Comment #1

Posted on Jan 25, 2012 by Helpful Panda

I think the following patch may fix it, but it needs testing by someone with python2.7 -- I'm not easily able to test it right now.

Index: configure.ac

--- configure.ac (revision 750) +++ configure.ac (working copy) @@ -243,7 +243,7 @@ # # NB: Cannot use AC_CONFIG_LIBOBJ_DIR here, because it's not present # in autoconf 2.53. -AC_PATH_PROGS(PYTHON, [python2.6 python-2.6 python2.5 python-2.5 python2.4 python-2.4 python]) +AC_PATH_PROGS(PYTHON, [python2.7 python-2.7 python2.6 python-2.6 python2.5 python-2.5 python2.4 python-2.4 python]) AC_ARG_VAR(PYTHON, [Python interpreter]) # Python 1 doesn't even support -V if ! "$PYTHON" -V 2>&1 | grep "^Python" >/dev/null; then

Comment #2

Posted on Feb 2, 2012 by Happy Horse

Hello, i have test your patch and it works! I don't receive error messages anymore and the rpm package installation still succeed.

Thanks for your patch!

Comment #3

Posted on Feb 6, 2012 by Helpful Panda

I checked in the patch: fixed in revision 753.

Status: Fixed