You are not logged in.
Pages: 1
I'm trying to build mplayer, but whatever I try (also rebuilding mplayer from abs), it always ends with this error message during make:
make[1]: *** No rule to make target `x86/dsputil_yasm.o', needed by `libavcodec.a'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/yaourt-tmp-bart/aur-mplayer-nogui-svn/mplayer-nogui-svn/src/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Fout 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build mplayer-nogui-svn package.
I figured it might had something to do with yasm, but that is installed. Odd is the x86 because I have x86_64.
This is the pkgbuild I use:
pkgname=mplayer-nogui-svn
pkgver=28056
pkgrel=1
pkgdesc="Famous multimedia player, dev. version, without its GUI"
arch=('i686' 'x86_64')
url="http://www.mplayerhq.hu/"
license=('GPL')
depends=('ttf-dejavu')
makedepends=('subversion')
conflicts=('mplayer')
provides=('mplayer')
source=()
md5sums=()
build() {
cd $srcdir
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer -r $pkgver
cd mplayer
CFLAGS="$CFLAGS -fomit-frame-pointer"
./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
--enable-runtime-cpudetection --enable-largefiles --enable-menu --enable-tv-v4l1 --enable-tv-v4l2 \
--disable-libdv --disable-liblzo --enable-speex --disable-dvdread-internal \
--enable-fribidi --enable-smb --enable-dvdnav \
--disable-openal --disable-faad-internal --disable-jack --disable-esd \
--enable-musepack --disable-libamr_nb --disable-libamr_wb \
--enable-x264 --enable-mencoder
make || return 1
make DESTDIR=$pkgdir install || return 1
install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
install -d $pkgdir/usr/share/mplayer/
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
rm -rf $srcdir/mplayer
}
Offline
The x86 directory in Mplayer, or specifically in FFmpeg, is new. x264's developers are currently rewriting the h264 decoders for the FFmpeg project. They created that directory to keep the ASM code separate from everything else because it doesn't work on some architectures. The code is fine for both 32 and 64 bit. With that being said, I'd say wait a little bit. It may just be that the subversion tree isn't fully up to date.
--EDIT--
Although, that file has been in the FFmpeg tree since 12/22/2008. Hmmm?
Offline
I'll give it another try later on then. I used the same pkgbuild I think 2 weeks ago on another computer and it worked then.
Last edited by Nepherte (2008-12-28 16:16:28)
Offline
I'll give it another try later on then. I used the same pkgbuild I think 2 weeks ago on another computer and it worked then.
By any chance are you using FFmpeg from subversion?
Offline
Yes I do, on both computers.
Offline
These lines in your mplayer-svn PKGBUILD will allow you to use the system FFmpeg instead of the mplayer version:
--disable-libavutil_a
--disable-libavcodec_a
--disable-libavformat_a
--disable-libswscale_a
--disable-libpostproc_a
This is assuming that you have --enable-swscale and --enable-postproc in your FFmpeg build.
Offline
Thx, that worked.
Offline
You're welcome. Check out how small your mplayer binary is now. Cool, huh?
Offline
Yea, Totally. Compiled in no time.
Offline
Pages: 1