Opened 4 years ago

Closed 4 years ago

#12639 closed Bug Report - General (fixed)

mythtv/configure fails to find python 2.7

Reported by: Craig Treleaven <ctreleaven@…> Owned by: Stuart Auchterlonie
Priority: minor Milestone: 0.28
Component: MythTV - configure script Version: 0.27.6
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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

Attachments (2)

0.27 core no python 2016Feb05_01.txt (301.1 KB) - added by Craig Treleaven <ctreleaven@…> 4 years ago.
build log
config.ep (362.5 KB) - added by Craig Treleaven <ctreleaven@…> 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by Craig Treleaven <ctreleaven@…>

build log

Changed 4 years ago by Craig Treleaven <ctreleaven@…>

Attachment: config.ep added

comment:1 Changed 4 years ago by Stuart Auchterlonie

Milestone: unknown0.28
Owner: changed from JYA to Stuart Auchterlonie
Status: newaccepted

I know what's going on here. Fix coming shortly

comment:2 Changed 4 years ago by Stuart Auchterlonie

Forgot the link in the commit message. Fixed in master daef5cd6d0e1c0af7062170cc3f9f51fb053fcfc

comment:3 Changed 4 years ago by Stuart Auchterlonie <stuarta@…>

Resolution: fixed
Status: acceptedclosed

In 0216edd1238d351926f2a5fb83920c60b7d2eca1/mythtv:

Fixes #12639 Fix check for python3

(cherry picked from commit daef5cd6d0e1c0af7062170cc3f9f51fb053fcfc)

Note: See TracTickets for help on using tickets.