[mythtv] OSX build issues and patches

David Abrahams dave at boost-consulting.com
Wed Dec 14 10:15:16 EST 2005

David Abrahams <dave at boost-consulting.com> writes:

> Nigel Pearson <nigel at ind.tansu.com.au> writes:
>>>> The Xinerama stuff at least, will be contained in /usr/X11R6/lib/
>>>> libXinerama.dylib.
>>> OK, I'm confused.  I was under the impression that we'd be using
>>> Qt/Mac, not Qt/X11.  Is that just wrong?
>> 	No, you are right, David.
>> 	I purposely _dont_ have X11 installed on my main machine,
>> so that issues like this don't crop up.
> I'm trying it without X11 on the new Mac mini I bought for this
> project...

So the latest problem is that the distcc that comes with Tiger doesn't
work at all:


cd libavutil && /usr/bin/make -f Makefile
distcc cc -c -pipe -faltivec -w -O3 -I/Users/dave/myth/.osx-packager/build/include -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -fno-inline-functions -faltivec -DPIC -fPIC  -DUSING_DBOX2 -DHAVE_DVDNAV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/Users/dave/myth/.osx-packager/build\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/Users/dave/myth/.osx-packager/src/qt-mac-free-3.3.4/mkspecs/default -I. -I.. -I../.. -o mathematics.o mathematics.c
distcc[12496] (dcc_spawn_child) ERROR: attempt to use unknown compiler aborted: cc
distcc[12496] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc[12496] (dcc_spawn_child) ERROR: attempt to use unknown compiler aborted: cc
make[2]: *** [mathematics.o] Error 100
make[1]: *** [sub-libavutil] Error 2
make: *** [sub-libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make " with error code 2
Died at ./osx-packager.pl line 696.


FWIW, "cc" does work on its own.

Now attempting to build distcc from source and use that instead.
:( No dice.

My next shot-in-the-dark guess is to install ccache, but that caused
such a time suck the last time I did it that I'm reticent.
Furthermore, distcc only worked on the other machine when ccache
/wasn't/ installed.  Any clues?

Thanks in advance.

Dave Abrahams
Boost Consulting

More information about the mythtv-dev mailing list