[mythtv-commits] Ticket #12639: mythtv/configure fails to find python 2.7

MythTV noreply at mythtv.org
Fri Feb 5 14:21:05 UTC 2016


#12639: mythtv/configure fails to find python 2.7
------------------------------------------------+-----------------------
     Reporter:  Craig Treleaven <ctreleaven@…>  |      Owner:  jyavenard
         Type:  Bug Report - General            |     Status:  new
     Priority:  minor                           |  Milestone:  unknown
    Component:  MythTV - configure script       |    Version:  0.27.6
     Severity:  medium                          |   Keywords:
Ticket locked:  0                               |
------------------------------------------------+-----------------------
 A recent commit has broken the detection of python on my system, OS X
 using MacPorts Python 2.7.  As usual, I pass '--
 python=/opt/local/bin/python2.7 ' in but configure now says:

 {{{
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27
 /mythtv-core.27/work/mythtv-2ddd1d1a/mythtv" && ./configure
 --prefix=/opt/local --compile-type=release
 --qmake=/opt/local/libexec/qt4/bin/qmake --cc=/usr/bin/clang
 --cxx=/usr/bin/clang++ --python=/opt/local/bin/python2.7 --disable-
 mythlogserver --disable-ceton --disable-firewire --disable-audio-jack
 --disable-indev=jack --disable-audio-pulseoutput --disable-libpulse
 --disable-libvpx --disable-libxvid --disable-qtdbus --disable-sdl
 --disable-xrandr --disable-xv --enable-libmp3lame --enable-libass
 --enable-fft --enable-libx264 --enable-libfaac --enable-nonfree --disable-
 ccache --disable-distcc
 WARNING: disabling Python bindings; missing Python 2.6
 WARNING: disabling Python bindings; missing MySQLdb
 WARNING: disabling Python bindings; missing lxml
 WARNING: disabling Python bindings; missing urlgrabber
 }}}
 and
 {{{
 ...
 # Bindings
 bindings_perl             yes
 bindings_python           no
 ...
 }}}

 config.ep includes:
 {{{
 is_python3
 /opt/local/bin/python2.7
 check_python
 python2
 ./configure: line 834: python2: command not found
 check_py_lib MySQLdb
 python2
 ./configure: line 834: python2: command not found
 check_py_lib lxml
 python2
 ./configure: line 834: python2: command not found
 check_py_lib urlgrabber
 python2
 ./configure: line 834: python2: command not found
 }}}
 I'll attach the build log and config.ep

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12639>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list