You are not logged in.

#1 2004-06-26 17:24:34

robot5x
Member
Registered: 2004-01-26
Posts: 266

mplayer + ABS

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

#2 2004-06-26 17:51:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,745

Re: mplayer + ABS

Edit Sarah beat me again..... smile


Mr Green

Offline

#3 2004-06-26 17:51:09

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: mplayer + ABS

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

#4 2004-06-26 18:02:30

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: mplayer + ABS

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

Board footer

Powered by FluxBB