[mythtv] New configure script oddities

Blammo blammo.doh at gmail.com
Wed Mar 23 16:45:32 UTC 2005


On Tue, 22 Mar 2005 09:44:08 -0500, Anduin Withers <awithers at anduin.com> wrote:
> If one is foolish enough to pass --cpu=i686 in to the configure script it
> isn't really honored. The problem is that through normal auto-detection $cpu
> would be set to x86, in the case where it is overridden this transformation
> doesn't occur (that chunk of script is before the option processing chunk)
> this leads to unpleasant things like TARGET_ARCH_X86=yes not being output to
> config.mak.


I found another one.

Fresh CVS co last night. LIRC support turned off (this is a backend).
Compile errors out on LIRC not found..

[root at backend1 mythtv]# ./configure 
Warning: DVB location points into kernel (ok if kernel >= 2.6.11)
# Basic Settings
Compile type     release
Compiler cache   no
DistCC           no
Install prefix   /usr/local
CPU              x86 (athlon)
Big Endian       no
MMX enabled      yes
Vector Builtins  no

# Input Support
Joystick menu    no
lirc support     no
ivtv support     yes
FireWire support no
DVB support      yes [/usr/src/linux-2.6.10-DVB/include]

# Sound Output Support
OSS support      yes
ALSA support     yes
aRts support     no
JACK support     no

# Video Output Support
x11 support      yes
xrandr support   yes
xv support       yes
XvMC support     no
XvMC VLD support no
OpenGL vsync     yes


..............

g++ -c -pipe -march=pentium2 -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_IVTV
-DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DUSING_OSS -DUSE_ALSA -DUSE_JOYSTICK_MENU
-DUSE_LIRC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib/qt-3.3/mkspecs/default -I. -I../../../../../local/include
-I../libmythsamplerate -I../libmythsoundtouch -I../..
-I/usr/lib/qt-3.3/include -o mythdialogs.o mythdialogs.cpp
In file included from mythdialogs.cpp:27:
lirc.h:4:30: lirc/lirc_client.h: No such file or directory
make[2]: *** [mythdialogs.o] Error 1
make[2]: Leaving directory `/usr/src/myth/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/usr/src/myth/mythtv/libs'
make: *** [sub-libs] Error 2

CO'd the latest LIRC, compiled and installed, and the myth compile went forward.

Only other small thing is that the actual compile doesn't seem to have
done any of the optimizations for the AMD CPU, even though it's aware
of it:

CPU              x86 (athlon)
g++ -c -pipe -march=pentium2 -


More information about the mythtv-dev mailing list