[mythtv-users] Is this a sensible configure command?

Paul Gardiner lists at glidos.net
Mon Dec 6 16:59:56 UTC 2010


On 06/12/2010 16:46, Michael T. Dean wrote:
> On 12/06/2010 09:29 AM, Greg wrote:
>> On 12/06/2010 09:09 AM, Paul Gardiner wrote:
>>> I've been having a few problems with mythbackend crashing and stalling
>>> and I wondered if it might be something to do with how it's built.
>>> Below is the configure command that the packagers for my system use,
>>> which I've also been using to build from 0.24-fixes. Does it look
>>> sensible?
>>>
>>> Cheers,
>>> Paul.
>>>
>>> ./configure --prefix=/usr --libdir=/usr/lib --libdir-name=lib
>>> --mandir=/usr/share/man --enable-iptv --enable-pthreads
>>> --enable-ffmpeg-pthreads --enable-joystick-menu --enable-audio-alsa
>>> --enable-audio-oss --enable-audio-jack --enable-libfftw3 --enable-x11
>>> --x11-path=/usr/include --enable-xv --enable-xvmc-vld
>>> --enable-opengl-video --enable-opengl-vsync --enable-xrandr
>>> --enable-lirc --enable-ivtv --enable-firewire --enable-dvb
>>> --enable-libmp3lame --enable-libtheora --enable-libvorbis
>>> --enable-libxvid --enable-vdpau --enable-xvmcw --disable-directfb
>>> --extra-cflags="-O2 -g -m32 -march=i586 -mtune=i686
>>> -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
>>> -funwind-tables -fasynchronous-unwind-tables -fomit-frame-pointer
>>> -fno-strict-aliasing" --extra-cxxflags="-O2 -g -m32 -march=i586
>>> -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
>>> -funwind-tables -fasynchronous-unwind-tables -fomit-frame-pointer
>>> -fno-strict-aliasing" --extra-libs=-ldl --compile-type=release
>>> --disable-stripping
>>
>> ./configure --compile-type=debug --enable-proc-opt
>> --qmake=/usr/lib/qt-4/bin/qmake --prefix=/usr/local
>>
>> This is my configure. It works for me
>
> And is a sensible one. (The --qmake argument being optional when Qt4 is
> the only Qt installed on the system and it's properly configured in your
> PATH, though. I'd recommend, however, doing a release build--or, at
> least, doing a profile build. Both will give you significantly better
> performance.)
>
> ./configure --enable-proc-opt --prefix=/usr/local
>
> would be perfect. (The default compile-type is release. You can do debug
> builds for specific debug tasks, but generally, a profile build provides
> debug symbols /and/ performance optimizations that you'll want, so I'd
> recommend profile rather than debug. See
> http://www.mythtv.org/wiki/Debugging .)
>
> Paul, yours has all sorts of stuff that you shouldn't be setting--stuff
> that overrides autodetection, so if you tell configure to do the wrong
> thing, it will.
>
> Trust the script to do its job. It does it well. :)

Ok, thanks. I'll give that a go.

Cheers,
	Paul.


More information about the mythtv-users mailing list