Opened 11 years ago

Closed 11 years ago

#40966 closed defect (duplicate)

llvm-3.3 doesn't compile if python33 is selected

Reported by: iemejia@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: llvm-3.3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I was trying to compile the llvm-3.3 in mavericks (since it's still a dependency of many packages), but it fails. I activated 'sudo port select python python27' and everything went ok.

The log in the configure part where it broke is this one:

:info:configure checking for python... /opt/local/bin/python
:info:configure checking for python >= 2.5...   File "<string>", line 1
:info:configure     import sys; print sys.version.split()[0]
:info:configure                         ^
:info:configure SyntaxError: invalid syntax
:info:configure ./configure: line 12394: test: : integer expression expected
:info:configure not found
:info:configure configure: error: found python  (/opt/local/bin/python); required >= 2.5
:info:configure See `config.log' for more details.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src" && ./configure --build=x86_64-apple-darwin13 --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"
:info:configure Exit code: 1
:error:configure Failed to configure llvm-3.3, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/config.log
:error:configure org.macports.configure for port llvm-3.3 returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for llvm-3.3: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install llvm-3.3
:debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:configure Please see the log file for port llvm-3.3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/main.log

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Description: modified (diff)
Port: llvm-3.3 added
Resolution: duplicate
Status: newclosed

Duplicate of #32575.

Note: See TracTickets for help on using tickets.