[mythtv] MACOSX_DEPLOYMENT_TARGET=10.4 works for release-0-21-fixes, not trunk
David Snider
dsnider at thesniderpad.com
Fri Nov 28 20:04:20 UTC 2008
Hello,
I'm working through the issues of compiling for 10.4 systems on
OSX. The release-0-21-fixes build completes just fine and runs based on
recent reports. However, when building against trunk, I get an
interesting error when building some of the python dependencies. It
looks like it's building against the system python libraries, which most
likely were built with 10.5 as the deployment target. Would it help to
build my own python 2.5 instead?
Here is the error:
python setup.py build
perl Makefile.PL MAKEFILE=Makefile.perl PREFIX=/nobackup/myth_svn_10.4/.osx-packager/build
Warning: prerequisite DBD::mysql 0 not found.
Warning: prerequisite Date::Manip 0 not found.
Traceback (most recent call last):
File "setup.py", line 9, in <module>
packages=['MythTV'],
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 125, in setup
dist.parse_config_files()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 366, in parse_config_files
filenames = self.find_config_files()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 329, in find_config_files
check_environ()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py", line 208, in check_environ
os.environ['PLAT'] = get_platform()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py", line 78, in get_platform
cfgvars = get_config_vars()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py", line 504, in get_config_vars
func()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py", line 389, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.5" during configure
make[2]: *** [python_build] Error 1
make[1]: *** [sub-python-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
Writing Makefile.perl for MythTV
More information about the mythtv-dev
mailing list