LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer GUI problems (https://www.linuxquestions.org/questions/linux-software-2/mplayer-gui-problems-264291/)

Valhalla 12-08-2004 11:16 PM

MPlayer GUI problems
 
I'm trying to install MPlayer (obviously). However, when I type
in the mplayer directory ./configure --enable-gui
I get
Code:

Error:  The GUI requires GTK devel packages (which were not found).
only problem is, I Know I have gtk, gtk-devel, libpng, and libpng-devel installed. Help?

bulliver 12-09-2004 12:09 AM

Try running ./configure --help

This will give you a long list of options that you can pass to the configure script. You may see something similar to "--gtkdev-lib=". Obviously I'm just guessing that, but there should be something like that. Then you can run:
Code:

# ./configure --ebable-gui  --gtkdev-lib=/usr/lib/gtk-dev
but use where your gtkdev libs actually are...

Valhalla 12-09-2004 12:13 AM

I have absolutly no clue where my gtk actually is... how do I found out?

bulliver 12-09-2004 12:44 AM

Suse uses RPM right? So use:
Code:

# rpm -ql gtk-dev | grep lib
This command will list all the files that gtk-dev installed, and filter in the libraries.
Now you know what directory your gtk-dev libs are in.

If you get "gtk-lib package not installed" error or some thing then run:
Code:

# rpm -qa | grep gtk
This will list all packages with gtk in the title

xiongnu 01-15-2005 12:35 PM

Re: MPlayer GUI problems
 
Quote:

Originally posted by Valhalla
I'm trying to install MPlayer (obviously). However, when I type
in the mplayer directory ./configure --enable-gui
I get
Code:

Error:  The GUI requires GTK devel packages (which were not found).
only problem is, I Know I have gtk, gtk-devel, libpng, and libpng-devel installed. Help?

hi,

i also encountered this problem when i tried to install Mplayer on Xandros 3.0.

>>>>>>>>>>>>>>>>>>>>>...
xandros:/home/erdos/My Documents/MPlayer-1.0pre6a# ./configure --enable-gui
....
....
Checking for XShape extension ... yes
Checking for GTK version ...
Error: The GUI requires GTK devel packages (which were not found).

Check "configure.log" if you do not understand why it failed.

>>>>>>>>>>>>>>>>>>>>>

can someone tell me how to install GTK devel package?

i'm running Xandros 3.0 Deluxe on a IBM Thinkpad T23 machine.

thanks,

Valhalla 01-17-2005 09:04 AM

Xandros is debian based unless I'm mistaken. I think you can just download the rpms then use alien to convert them to deb packages.

reddazz 01-17-2005 09:23 AM

Mplayer uses gtk 1.x and not gtk 2.x, so you need to have them both and their devel packages installed on your system.

xiongnu 01-18-2005 07:38 PM

Quote:

Originally posted by Valhalla
Xandros is debian based unless I'm mistaken. I think you can just download the rpms then use alien to convert them to deb packages.
it is based on Debian

well, i figured out and installed the GTK devel package, gmplayer has been configured and compiled on my machine

but when i tried to run gmplayer command, i got msg below

any idea?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>

erdos@xandros:~$ gmplayer
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)

[1]+ Stopped gmplayer
erdos@xandros:~$ su
Password:
xandros:/home/erdos# gmplayer
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE


Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

vo: couldn't open the X11 display (:0.0)!
MPlayer GUI requires X11.
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv[:dev]> select video output driver & device ('-vo help' for a list)
-ao <drv[:dev]> select audio output driver & device ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <timepos> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

xandros:/home/erdos#

scuzzman 01-19-2005 01:57 AM

try running
Code:

gmplayer -vo x11 FILENAME

filosophem 01-19-2005 06:16 AM

why don't you try the lazy way:

install synaptic and then it will take care of all the dependencies for you. That's how i got mplayer running.

good luck

alca 02-13-2005 01:49 PM

hi all,

i got the same problem. I use SuSE 9.2. I was looking for gtk but needed packages are not included in distribution. I don't know why. I downloaded them from rpmfind.net, installed and now it works.

packages are:
glib-devel-1.2.10-586.i586.rpm
gtk-devel-1.2.10-877.i586.rpm

bye


All times are GMT -5. The time now is 03:41 PM.