[mythtv] Mac OS X "instructions"

bdillahu at peachbush.com bdillahu at peachbush.com
Fri Sep 10 12:42:35 EDT 2004


On Fri, Sep 10, 2004 at 11:20:21AM -0400, Taylor Jacob wrote:
> Nigel do you have a walkthrough or a list of steps even generally for getting myth to compile on
> osx?  I have been having some trouble getting it to compile which now I am down to having some
> lingering fink qt installed somewhere, but it would have been helpful to read before i started..
> The only info I have been able to find has been scanning the dev list for osx posts.

Not trying to steal any thunder from Nigel, just trying to help answer some
questions since I can't help much otherwise... Nigel and I had some "offline"
communication awhile back about how to get this done... some of the important
stuff was:

freetype-2.1.7.tar.bz2
    default configure, make, sudo make install
lame-3.96.tar.gz
    default configure, make, sudo make install
mysql-max-4.0.20-apple-darwin6.8-powerpc.dmg
    default install
qt-mac-free-3.3.2 (I have used 3.3.3 successfully)
    configure -system-zlib -thread -stl -freetype -qvfb -plugin-sql-mysql -I/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/include -L/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/lib
    make, sudo make install


fink version of QT installs the X windows version which isn't what is needed,
apparently.

After that, you need to get mythtv (I just grab the latest CVS, but Nigel
uses 15.1 with a ton of patches, I think.

You must change the settings.pro file... either comment a ton out, or use
the method Jeremiah Morris recommended and put this at the bottom:

# Defaults for Mac OS X
macx {
    DEFINES -= USING_OPENGL_VSYNC
    EXTRA_LIBS -= -lGL -lGLU
    CONFIG -= using_opengl
    CONFIG -= using_ivtv
    DEFINES -= USING_IVTV
    CONFIG -= using_oss
    DEFINES -= USING_OSS
    CONFIG -= using_x11
    CONFIG -= using_xv
    EXTRA_LIBS -= -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm
}

then make, sudo make install
then edit /usr/share/mythtv/mysql.txt to point to your backend database

Right now, the backend won't run on the Mac (I'm correct in this, right
Nigel?)

Then you need to make sure your environment is set properly for QT to work...
I didn't "install" QT but run it from my development directory, so I have
some environment variables set.

I execute from a terminal window like this:

/usr/local/bin/mythfrontend/MacOSX/xxxxxxx/mythfrontend

(sorry, don't have the full path and can't access the Mac from here) 
This lets you see all the normal terminal output.

-----

Thanks to Isaac for a great system and Nigel for a great port!

I'm currently playing with compile settings (optimization) trying to get this
to run better on a lower end machine... my last attempt seemed to break 
database access, so I don't think I can report success yet :-)

Bruce



More information about the mythtv-dev mailing list