[mythtv] Mac OS X CVS compilation errors

Nigel Pearson nigel at ind.tansu.com.au
Wed Nov 17 22:00:25 UTC 2004


	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-0.16.0.16.0.dylib] 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'



More information about the mythtv-dev mailing list