minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

distcc doesnt support python2.7 #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. What version of distcc are you using (e.g. "2.7.1")?

3.2rc1

2. 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

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

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

Original issue reported on code.google.com by Javierjc...@gmail.com on 5 Dec 2011 at 6:17

GoogleCodeExporter commented 9 years ago
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

Original comment by fergus.h...@gmail.com on 25 Jan 2012 at 2:35

GoogleCodeExporter commented 9 years ago
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!

Original comment by black.si...@gmail.com on 2 Feb 2012 at 10:00

GoogleCodeExporter commented 9 years ago
I checked in the patch: fixed in revision 753.

Original comment by fergus.h...@gmail.com on 6 Feb 2012 at 5:18