[mythtv] Mac OS X CVS compilation errors

Chris Birkinshaw chris at postbox.org.uk
Wed Nov 17 22:48:40 UTC 2004

I'm not sure I really understand what's going on, I'm a linux guy who 
owns a mac because it looks nice ;-)

I instaled mac os 10.3.6 clean because of the troubles compiling 
mythtv. In the install options I ticked X11, and then afterwards I 
installed the xcode tools (otherwise it isn't possible to build 
anything at all, since xcode supplies gcc). In the xcode tools 
installer I checked all the default stuff, including the X11 SDK. I 
then compiled and installed freetype and lame from a terminal window, 
but could not compile qt without errors, so used a qt-mac-free-3.3.0 
installer pachage instead. I then started to compile myhthtv-cvs. 
That's as far as I got. (I was following the instructions from 
If someone can tell me a fool proof method for compiling mythtv on the 
mac (I don't mind reinstalling mac os again) then I'd be very very 
grateful, but as Jeremiah said this probably belongs in the user list 

Many thanks,


On 17 Nov 2004, at 22:00, Nigel Pearson wrote:

> 	Chris, you are trying to build this in the XCode
> graphical environment, right? If not, please ignore
> my slightly condescending tone.
> ...
>> /usr/bin/libtool: internal link edit command failed
>> ld: tscc.o illegal reference to symbol: _inflateEnd defined in 
>> indirectly referenced dynamic library /usr/lib/libz.1.dylib
>> make[2]: *** [libmythavcodec-] Error 1
>> make[1]: *** [sub-libavcodec] Error 2
>> make: *** [sub-libs] Error 2
> 	You need zlib (libz) added somewhere into the project
> so that it can build this library. This is the sort of stuff
> that I had to add into the MythTV makefiles so that it would
> compile cleanly on the Mac, but it looks like XCode isn't
> making use of this work.
> 	Look in the .pro files in all the source directories.
> Work out what blocks like this:
> macx {
>     LIBS               += -lz
>     QMAKE_LFLAGS_SHLIB += -single_module
> }
> mean, and add the same settings into your XCode project.
>> I have installed both Apple's X11 and also the X11 SDK
>> from the xcode package. Is this the right thing to do?
> 	No.
> 1) The MythTV client has been ported to the Mac's native windowing
>    syatem, Quartz. It doesn't need X11. I purposely don't install
>    the X stuff so that I won't get confused, and runtime errors
>    from trying to use X11.
> 2) The right thing to do is to build in a terminal window,
>    using Qt/Mac, qmake, make, et c. It is documented here:
> http://www.users.bigpond.com/pear_computers/myth-osx-howto.html
>    Trying to build it any other way (e.g. Xcode) aint supported
> and you will need to do some hard work yourself to get it workin.
> --
> Nigel Pearson, nigel at ind.tansu.com.au | "Reality is that which,
> Telstra BI&D, Sydney, Australia       |  when you stop believing
> Office: 8255 4222    Fax:  8255 3153  |  in it, doesn't go away."
> Mobile: 0408 664435  Home: 9792 6998  |  Philip K. Dick - 'Valis'
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

More information about the mythtv-dev mailing list