|
|
(139 intermediate revisions by 42 users not shown) |
Line 1: |
Line 1: |
− | MythTV currently does not build on the new Intel based Apple Macintosh platforms. This page is intended to share information among the people attempting to get this working.
| + | #REDIRECT [[Myth on Mac OS X]] |
− | | |
− | In the 'contrib' directory of the MythTV source code, there is a perl script which automates the build process for MythTV on MacOS systems. The script is called osx-packager.pl. My descriptions of changes needed assume that script as a starting point.
| |
− | | |
− | | |
− | ==Changes Needed==
| |
− | Here's a brief summary of chages I made to get further into the build process:
| |
− | | |
− | * Had to override URL for libdvdnav in osx-packager.pl, was not available where the script was looking for it. I set it to: http://umn.dl.sourceforge.net/sourceforge/dvd/libdvdnav-0.1.10.tar.gz
| |
− | | |
− | * libdvdnav: Endian byte swapping missing from bswap.h. Probably due to not recognizing the arch. Added the generic example macro in the 'else' case & it compiled.
| |
− | | |
− | * libexif: compile failed. comment out the 'static' that the compiler complained about to make it build.
| |
− | | |
− | * libdvdread: Endian byte swapping missing from bswap.h. Probably due to not recognizing the arch. Added the generic example macro in the 'else' case & it compiled.
| |
− | | |
− | | |
− | MythTV changes:
| |
− | | |
− | The things I set as parameters to the MythTV configure script (added in osx-packager.pl) were:
| |
− | | |
− | * -march=i386, since it didn't detect the CPU automatically.
| |
− | | |
− | * --disable-distcc, because it errored out looking for distcc by default. This leads to the following build error, in libavcodec, related to mmx:
| |
− | | |
− | ld: Undefined symbols:
| |
− | magicF2W
| |
− | wm0101
| |
− | wm1010
| |
− | wm1100
| |
− | | |
− | * adding --enable-mmx gives me:
| |
− | | |
− | error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack
| |
− | | |
− | * adding --enable-memalign-hack gives me an error compiling fdct_mmx.c:
| |
− | | |
− | {standard input}:unknown:file contains unmatched .macro and .endmacro for: FDCT_ROW_SSE2_H1it
| |
− | | |
− | | |
− | And, that's where I'm currently at.. looking into the updates needed to compile the ffmpeg stuff.
| |
− | | |
− | ==Useful Links==
| |
− | [http://mplayerhq.hu/pipermail/ffmpeg-devel/2006-February/007608.html ffmpeg updates for mmx assembly code]
| |