[mythtv-commits] Ticket #7705: OSX 10.6 Compilation Fixes

MythTV mythtv at cvs.mythtv.org
Sat Dec 5 21:35:32 UTC 2009

#7705: OSX 10.6 Compilation Fixes
 Reporter:  mythtv@…             |       Owner:  nigel  
     Type:  patch                |      Status:  new    
 Priority:  minor                |   Milestone:  unknown
Component:  Ports - OSX          |     Version:  unknown
 Severity:  medium               |     Mlocked:  0      
 The attached patch makes updates necessary to aid compilation on OS X 10.6
 with Xcode 3.2.1. The main changes are:
  * Upgrade to Qt 4.6 (the first version of Qt to officially support OS X
  * Upgrade to MySQL 5.1 (as the current source download is no longer
   * This also improves the configuration of MySQL within Qt. The previous
 method of forcing the MySQL include paths breaks Qt 4.6 compilation. MySQL
 5.1 contains a "{{{plugin.h}}}" file, having the MySQL include path appear
 first in the list of includes whilst compiling Qt causes this file to mask
 the "{{{src/3rdparty/webkit/WebCore/plugins/Plugin.h}}}" file that is part
 of the Qt source code resulting in compiler errors.
  * Force 32-bit compilation
   * Xcode compilers generate 64-bit binaries by default on 64-bit installs
 of OS X 10.6, which are the default on Macs with Intel Core2 CPUs. The
 MythTV code needs porting from the Carbon APIs to the Cocoa APIs in order
 to be compatible with 64-bit builds.

 ''As with previous OS X 10.6 support some lines within "{{{osx-
 packager.pl}}}" require uncommenting in order to enable the support.''

Ticket URL: <http://svn.mythtv.org/trac/ticket/7705>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list