[MacPorts] #42051: llvm-3.3: found python 2.3.5 (/usr/bin/python); required >= 2.5

MacPorts noreply at macports.org
Fri Jan 15 15:18:34 PST 2016


#42051: llvm-3.3: found python 2.3.5 (/usr/bin/python); required >= 2.5
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:  tiger
      Port:  llvm-3.3      |
---------------------------+--------------------------

Comment (by ryandesign@…):

 Replying to [comment:13 asiganael@…]:
 > Isn't there any environment variable where I could tell 'port' "please
 be so kind of adding  -with-python=/opt/local/bin/python2.7" when you run
 configure?

 There is intentionally not a way to do that. Providing a supported way for
 users to override the Portfile at the command line opens the door for
 users to do things they should not do, which will cause problems, which
 will cause them to ask us for help.

 But you can edit the Portfile by running:

 {{{
 sudo port edit llvm-3.3
 }}}

 and add a line like:

 {{{
 configure.args-append --with-python=${prefix}/bin/python2.7
 }}}

 We should fix the portfile to do that, and of course add a dependency on
 port:python27.

-- 
Ticket URL: <https://trac.macports.org/ticket/42051#comment:14>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list