Opened 11 years ago

Closed 11 years ago

#39700 closed defect (duplicate)

llvm-3.3 upgrade error: invalid syntax

Reported by: deesto (John S. De Stefano Jr.) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: llvm-3.3

Description

It looks like llvm-3.3 for 10.6 won't build unless [ v2.4 < /opt/local/bin/python < v3 ]? I've been unable to upgrade llvm and clang for a few weeks.

...
checking for python >= 2.5...   File "<string>", line 1
    import sys; print sys.version.split()[0]
                        ^
SyntaxError: invalid syntax
./configure: line 12394: test: : integer expression expected
not found
configure: error: found python  (/opt/local/bin/python); required >= 2.5
See `config.log' for more details.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src" && ./configure --build=x86_64-apple-darwin10 --enable-bindings=none --enable-libffi --enable-shared --enable-jit --enable-optimized --disable-profiling --enable-pic --enable-debug-symbols --disable-debug-runtime --prefix="/opt/local/libexec/llvm-3.3" --enable-assertions 
....
$ /opt/local/bin/python -V
Python 3.2.5

Attachments (1)

main.log (18.3 KB) - added by deesto (John S. De Stefano Jr.) 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by deesto (John S. De Stefano Jr.)

Attachment: main.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed

Duplicate of #32575.

Note: See TracTickets for help on using tickets.