Forwarding to blfs-dev. Kristian Gavran wrote: > Hi Bruce, > > I've found a small bug in BLFS svn book regarding > MPlayer-1.0pre7try2. > > 1. The configure command used in the BLFS book isn't completly right. We > are using "/usr" as prefix so that the configure script can't locate the > proprietary codecs which are installed in "/usr/lib/mplayer" in the step > before. > > 2. The configure script insists to configure the CFLAG for itself. So it > would be usefull to bypass the CFLAG environment variable when calling > the configure script. Further we should use a sed command to correct the > autogenerated CFLAG. The reason for this is that the configure script > generates an "-O4" switch in the config.mak. This is useless because the > highest optimization flag supported by GCC is "-O3". > > 3. Further we should use the configure switch "--disable-ossaudio" > because OSS is deprecated AFAIK. > > I would suggest to use this command for configuring and intstalling > mplayer: > > --- > > patch -Np1 -i ../MPlayer-1.0pre7try2-kernel_2.6-1.patch && > patch -Np1 -i ../MPlayer-1.0pre7try2-gcc4-1.patch && > patch -Np1 -i ../MPlayer-1.0pre7try2-jack_fixes-1.patch && > patch -Np1 -i ../MPlayer-1.0pre7try2-x264_fixes-1.patch && > CFLAGS= ./configure --prefix=/usr --confdir=/etc/mplayer > --with-codecsdir=/usr/lib/mplayer/codecs \ > --enable-largefiles --disable-ossaudio && > sed -i "[EMAIL PROTECTED]@-O3@" config.mak && > make > > ---- > > HTH. > > -Kristian >
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
