You are not logged in.
Pages: 1
Hi all,
I'm trying to recompile mplayer in ABS and it's sending me mad. It might be cos I've been staring at this screen for too long, but I'm not sure what to do. I've recompiled it in the past with no probs but updated ABS today and got the PKGBUILD for the latest version 1.0pre4-2. I can do makepkg from here with no problem, but I need to compile in xvid support. I edited the PKGBUILD according to the mplayer docs but it keeps failing. Here's the pkbuild -
./configure --prefix=/usr --enable-gui --enable-linux-devfs --disable-arts
--disable-external-faad --enable-runtime-cpudetection --disable-smb
--enable-sdl --enable-x11 --with-win32libdir=/usr/lib/win32
--with-xvidlibdir=/usr/lib/libxvidcore.a
--with-xvidincdir=/usr/include/xvid.h --enable-alsa
But when I run makepkg I get this
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
cc1: /usr/include/xvid.h: not a directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/var/abs/multimedia/mplayer/src/MPlayer-1.0pre4'
make: *** [version.h] Error 2
==> ERROR: Build Failed. Aborting...
[root@sigma7 mplayer]# find / -name xvid.h
/usr/include/xvid.h
Have I edited the PKGBUILD incorrectly??
Two other things about mplayer-
the latest pkgbuild has Blue-1.2 as a source but the latest version is 1.4 so that doesn't work...
also, if I change this then regenerate the md5 sums I get this error -
[root@sigma7 mplayer]# makepkg -f
/usr/bin/makepkg: ./PKGBUILD: line 15: syntax error near unexpected token `('
/usr/bin/makepkg: ./PKGBUILD: line 15: `build() {'
Segmentation fault
Sorry for the long post - expect it's something silly I forgot to do...thanks in advance for help.
Offline
Edit Sarah beat me again.....
Mr Green
Offline
in your configure options where you list:
/usr/lib/libxvidcore.a and /usr/include/xvid.h
drop the libxvidcore.a and xvid.h. the error is telling me that it thinks that both files are being considerd as directories.
AKA uknowme
I am not your friend
Offline
You're right again sarah31 - but it does state to pass the full path to configure in the mplayer docs, ah well....thanks.
edit: you were in there first though Greeno! sarahs just faster at typing:) (how many fingers do polar bears have anyway?...)
Offline
Pages: 1