You are not logged in.

#1 2007-03-19 23:09:56

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Problems compiling Mplayer

I followed this guide to enable xvmc for Mplayer on my laptop, but when doing makepkg to compile it into an Arch linux package I get this error message:

GTK-2 devel packages were not found, trying GTK 1.2
Checking for GTK version ... gtk2 2.10.11-2
Error: The GUI requires GTK devel packages (which were not found).
Check "configure.log" if you do not understand why it failed.
sed: can't read config.mak: No such file or directory
Makefile:7: config.mak: No such file or directory
make: *** No rule to make target `config.mak'.  Stop.
==> ERROR: Build Failed.  Aborting...

My laptop is a Dell 9400 Inspiron with nVidia GeForce GO 7900 GS

Has anyone had any luck with this HOWTO?

This is my version of gtk:
pacman -Q gtk2
gtk2 2.10.11-2

Offline

#2 2007-03-20 02:33:13

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problems compiling Mplayer

try installing pkgconfig then rerun makepkg

Offline

#3 2007-03-20 16:59:51

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Re: Problems compiling Mplayer

Snowman wrote:

try installing pkgconfig then rerun makepkg

I installed pkgconfig but running makepkg still failed. This is some of the output from the terminal:

lirc.c:2:21: error: lirc-dl.h: No such file or directory
lirc.c: In function 'mp_input_lirc_init':
lirc.c:23: error: dereferencing pointer to incomplete type
lirc.c:24: error: dereferencing pointer to incomplete type
lirc.c: In function 'mp_input_lirc_read':
lirc.c:31: error: dereferencing pointer to incomplete type
lirc.c:32: error: dereferencing pointer to incomplete type
lirc.c: In function 'mp_input_lirc_close':
lirc.c:38: error: dereferencing pointer to incomplete type
lirc.c:40: error: dereferencing pointer to incomplete type
make[1]: *** [lirc.o] Error 1
make[1]: Leaving directory `/var/abs/extra/multimedia/mplayer/src/MPlayer-1.0rc1/input'
make: *** [input/libinput.a] Error 2
==> ERROR: Build Failed.  Aborting...

I am a newbie at compiling, so a bit lost here. Any help is appreciated.

This is a fresh install btw. I installed it yesterday (replacing Ubuntu Feisty).

Last edited by alphahsk (2007-03-20 19:24:08)

Offline

#4 2007-03-20 21:22:52

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: Problems compiling Mplayer

alphahsk wrote:

lirc.c:2:21: error: lirc-dl.h: No such file or directory

The stock mplayer PKGBUILD has 'lirc-utils' in its makedepends. So you have two options:
a) install lirc-utils with pacman
b) if you don't need infrared control, edit the PKGBUILD and change --enable-lirc to --disable-lirc in the ./configure line (and remove 'lirc-utils' from makedepends if its there).

Offline

#5 2007-03-21 18:31:54

alphahsk
Member
From: Norway
Registered: 2007-01-22
Posts: 40

Re: Problems compiling Mplayer

sh__ wrote:

The stock mplayer PKGBUILD has 'lirc-utils' in its makedepends. So you have two options:
a) install lirc-utils with pacman
b) if you don't need infrared control, edit the PKGBUILD and change --enable-lirc to --disable-lirc in the ./configure line (and remove 'lirc-utils' from makedepends if its there).

I followed your method a) and it worked like a charm.

Cheers big_smile

hsk.

Offline

Board footer

Powered by FluxBB