[LLVMbugs] [Bug 16141] New: configure fails if /usr/local/bin/python is > 2.5 but python3

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 24 17:41:20 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16141

            Bug ID: 16141
           Summary: configure fails if /usr/local/bin/python is > 2.5 but
                    python3
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
          Assignee: unassignedbugs at nondot.org
          Reporter: lists at eitanadler.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If python exists in configure's path but is python 3 then configure fails.  It
should use 'python2' if at all possible.

checking for python >= 2.5...   File "<string>", line 1
    import sys; print sys.version.split()[0]
                        ^
SyntaxError: invalid syntax

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130525/72528cca/attachment.html>


More information about the llvm-bugs mailing list