LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2004, 11:16 PM   #1
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
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?
 
Old 12-09-2004, 12:09 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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...
 
Old 12-09-2004, 12:13 AM   #3
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Original Poster
Rep: Reputation: 30
I have absolutly no clue where my gtk actually is... how do I found out?
 
Old 12-09-2004, 12:44 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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
 
Old 01-15-2005, 12:35 PM   #5
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
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,

Last edited by xiongnu; 01-15-2005 at 02:41 PM.
 
Old 01-17-2005, 09:04 AM   #6
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Original Poster
Rep: Reputation: 30
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.
 
Old 01-17-2005, 09:23 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 01-18-2005, 07:38 PM   #8
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
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#
 
Old 01-19-2005, 01:57 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
try running
Code:
gmplayer -vo x11 FILENAME
 
Old 01-19-2005, 06:16 AM   #10
filosophem
Member
 
Registered: Oct 2003
Location: FR
Distribution: Slackware / Ubuntu
Posts: 32

Rep: Reputation: 15
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
 
Old 02-13-2005, 01:49 PM   #11
alca
LQ Newbie
 
Registered: Feb 2005
Location: Czech republic
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer GUI problems Nego Linux - Software 1 01-23-2005 01:57 AM
mplayer gui problems cyborg_jt Linux - Software 3 10-12-2004 10:51 PM
Problems with mplayer GUI in Fedora C2 x86_64 dwmorton Linux - Newbie 5 06-19-2004 01:09 PM
problems with mplayer gui highhighs Mandriva 3 09-18-2003 03:37 AM
mplayer gui problems... scape Linux - Software 11 01-28-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration