[mythtv-users] osx-packager script fails with complaint about distcc, mac os x 10.4

hary wilke harywilke at yahoo.com
Sat Feb 25 15:46:08 UTC 2006


subject says it all. i'm having trouble getting this great one line  
myth setup script to work for me.
I've compiled mythtv on my mini before by disabling distcc in the  
makefile before, but i'd rather not have to do it every time.

ideally i'd like to have distcc setup properly. i haven't had any  
luck finding helpful information on how to set it up under mac os x.  
I know it gets installed along w/ the compilers that are needed when  
you install xcode and i can see my other macs distcc in xcode's  
preferences panel. but that's as far as i've gotten on that front.  
any pointers here would be greatly appreciated. not sure why it can't  
find 'cc'. 'which cc' reports it living comfortably in my path at '/ 
usr/bin/cc'

As a workaround, is there a way to send '-disable-distcc' to mythtv's  
configure via a command line option for the script so i could disable  
distcc until i get it set up properly?

thanks
-hary


Here is the last bit that was output from the script w/ verbose on i  
snipped it at the end of the output from configure:
<SNIP>

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

WARNING: --disable-backend is only intended to aid porting.
WARNING: You are on your own now.

libs/libmyth/mythconfig.h is unchanged
[osx-pkg] Running qmake for mythtv
[osx-pkg] /usr/local/src/mythtv/.osx-packager/build/bin/qmake  
PREFIX=../Resources QMAKE_LFLAGS+=-Wl,-search_paths_first INCLUDEPATH 
+="/usr/local/src/mythtv/.osx-packager/build/include" LIBS+=-L/usr/ 
lib -L"/usr/local/src/mythtv/.osx-packager/build/lib" mythtv.pro
[osx-pkg] Removing Nigel's hacks from file programs/programs.pro
[osx-pkg] Removing Nigel's hacks from file mythtv.pro
[osx-pkg] Making mythtv
[osx-pkg] /usr/bin/make
cd libs && qmake libs.pro "PREFIX=../Resources" "QMAKE_LFLAGS+=-Wl,- 
search_paths_first" "INCLUDEPATH+="/usr/local/src/mythtv/.osx- 
packager/build/include"" "LIBS+=-L/usr/lib -L"/usr/local/src/ 
mythtv/.osx-packager/build/lib"" -o Makefile
cd libs && /usr/bin/make -f Makefile
cd libavutil && qmake libavutil.pro "PREFIX=../Resources"  
"QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+=/usr/local/src/ 
mythtv/.osx-packager/build/include" "LIBS+=-L/usr/lib -L/usr/local/ 
src/mythtv/.osx-packager/build/lib" -o Makefile
cd libavutil && /usr/bin/make -f Makefile
make[2]: Nothing to be done for `first'.
cd libavcodec && qmake libavcodec.pro "PREFIX=../Resources"  
"QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+=/usr/local/src/ 
mythtv/.osx-packager/build/include" "LIBS+=-L/usr/lib -L/usr/local/ 
src/mythtv/.osx-packager/build/lib" -o Makefile
cd libavcodec && /usr/bin/make -f Makefile
make[2]: Nothing to be done for `first'.
cd libavformat && qmake libavformat.pro "PREFIX=../Resources"  
"QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+=/usr/local/src/ 
mythtv/.osx-packager/build/include" "LIBS+=-L/usr/lib -L/usr/local/ 
src/mythtv/.osx-packager/build/lib" -o Makefile
cd libavformat && /usr/bin/make -f Makefile
distcc cc -c -pipe -faltivec -w -O3 -I/usr/local/src/mythtv/.osx- 
packager/build/include -no-cpp-precomp -pipe -fomit-frame-pointer - 
force_cpusubtype_ALL -Wno-sign-compare -fno-inline-functions -DPIC - 
fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local/src/ 
mythtv/.osx-packager/build\" -DLIBDIR=\"/usr/local/src/mythtv/.osx- 
packager/build/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE - 
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED - 
DQT_ACCESSIBILITY_SUPPORT -I/usr/local/src/mythtv/.osx-packager/src/ 
qt-mac-free-3.3.5/mkspecs/default -I. -I../../../../../build/include - 
I../../../../../build/include -I.. -I../.. -I../libavcodec -I../ 
libavutil -I../libmythtv -I/usr/local/src/mythtv/.osx-packager/src/qt- 
mac-free-3.3.5/include -o aviobuf.o aviobuf.c
distcc[4259] (dcc_spawn_child) ERROR: attempt to use unknown compiler  
aborted: cc
distcc[4259] (dcc_build_somewhere) Warning: failed to distribute,  
running locally instead
distcc[4259] (dcc_spawn_child) ERROR: attempt to use unknown compiler  
aborted: cc
make[2]: *** [aviobuf.o] Error 100
make[1]: *** [sub-libavformat] 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 770.




More information about the mythtv-users mailing list