[mythtv] New configure script oddities

Daniel Kristjansson danielk at cat.nyu.edu
Tue Mar 22 19:52:49 UTC 2005


On Tue, 2005-03-22 at 15:41 +0000, Neale Swinnerton wrote:
> FYI - I had trouble compiling with the new configure script on my 
> machine, I get:
> 
> gcc -c -mcpu=pentium4 -w -O2 -funroll-loops -fprefetch-loop-arrays -pipe 
> -fno-pie -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_IVTV -DUSING_DVB 
> -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" 
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I../.. -I/usr/qt/3/include -o 
What flags did you pass to ./configure? I have the same CPU and my
flags in release mode are:

gcc -c -pipe -march=pentium4 -w -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_IVTV
-DUSING_FIREWIRE -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I..
-I../.. -I/usr/qt/3/include -o postprocess.o libpostproc/postprocess.c

And in debug mode (./configure --compile-type="debug"):

gcc -c -pipe -march=pentium4 -w -g -O -D_REENTRANT  -DMMX -DUSING_IVTV
-DUSING_FIREWIRE -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
-DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I..
-I../..-I/usr/qt/3/include -o postprocess.o libpostproc/postprocess.c

Perhaps you didn't have a clean update? Are there .rej files in your
mythtv source directory? I'm guessing libs/libavcodec/libavcodec.pro
is out of date.


> I had some trouble with the distcc support too, but that's probably some 
> Gentoo'ism that I'm not inclined to investigate at the moment 
> (--disable-distcc to configure got me going)

Can you tell me what the output of ./configure was, and the locations of
gcc, ccache and distcc in your path?

-- Daniel



More information about the mythtv-dev mailing list