LinuxQuestions.org
Review your favorite Linux distribution.
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 07-18-2005, 05:25 PM   #1
lokirulez
Member
 
Registered: Jul 2005
Location: California
Distribution: xubuntu 6.06
Posts: 51

Rep: Reputation: 15
MPlayer but no GUI!


I am running Debian Sarge 3.1 on a 2.6.8 Kernel. I just installed the newest version of mplayer. It works fine from the command line, but I do not have a GUI. When I first ran ./configure --enable-gui, I get the following error:

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.

I have already installed gtk2.0-dev many times so I do not understand why I get this error, please help.
 
Old 07-18-2005, 05:50 PM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
You need to provide more information for mplayer

+ Firstly: Show mplayer where gtk is installed by paramater: --with-gtk-config=/*the path to gtk*/ --with-glib-config=/* the path to glib */
+ And after install please remember that the command to call graphical mplayer is gplayer
 
Old 07-18-2005, 05:59 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Re: You need to provide more information for mplayer

Quote:
Originally posted by TruongAn
+ And after install please remember that the command to call graphical mplayer is gplayer
The command is gmplayer. And you need to compile it with --enable-gui as one of the options.
 
Old 07-19-2005, 02:38 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Re: MPlayer but no GUI!

Quote:
Originally posted by lokirulez
I am running Debian Sarge 3.1 on a 2.6.8 Kernel. I just installed the newest version of mplayer. It works fine from the command line, but I do not have a GUI. When I first ran ./configure --enable-gui, I get the following error:

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.

I have already installed gtk2.0-dev many times so I do not understand why I get this error, please help.
mplayer does not use gtk-2.x, it uses gtk-1.x ( 1.2.10ish is the one you want). make sure you have gtk-1.2.x-dev and glib-1.2.x-dev ( note that I don't run debian, so I'm not sure what the exact package names will be) before running configure. btw, the older libs ( gtk and glib 1.2) can coexist without any problems with the newer versions ( gtk and glib 2.x) so leave the newer one's as they are.
 
Old 07-19-2005, 02:48 AM   #5
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
Re: MPlayer but no GUI!

Quote:
Originally posted by lokirulez
I am running Debian Sarge 3.1 on a 2.6.8 Kernel. I just installed the newest version of mplayer. It works fine from the command line, but I do not have a GUI. When I first ran ./configure --enable-gui, I get the following error:

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.

I have already installed gtk2.0-dev many times so I do not understand why I get this error, please help.
Why do you compile from source? Is there any real reason to have development version?

There is respository with mplayer avalible:

deb ftp://ftp.nerim.net/debian-marillat/ unstable main

add this line it to /etc/apt/sources.list and then run

apt-get update
apt-get install mplayer or
apt-get install mplayer-k6 or
apt-get install mplayer-586 or

also you would like to install
apt-get install w32codecs
 
Old 07-19-2005, 02:49 AM   #6
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
This patch should make it work with gtk2.
 
Old 07-19-2005, 10:53 PM   #7
lokirulez
Member
 
Registered: Jul 2005
Location: California
Distribution: xubuntu 6.06
Posts: 51

Original Poster
Rep: Reputation: 15
make error...

TruongAn,

I used the following command:

./configure --enable-gui --with-gtk-config=/usr/ib/ --with-glib-config=/usr/lib/

It worked fine, no errors. Until I tired the 'make' command. Everything went well then at the end my terminal started spitting all this out:


cc: ./configure:: No such file or directory
cc: line: No such file or directory
cc: 1:: No such file or directory
cc: /usr/lib/:: No such file or directory
cc: is: No such file or directory
cc: a: No such file or directory
cc: directory: No such file or directory
cc: ./configure:: No such file or directory
cc: line: No such file or directory
cc: 1:: No such file or directory
cc: /usr/lib/:: No such file or directory
cc: is: No such file or directory
cc: a: No such file or directory
cc: directory: No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/usr/src/MPlayer/MPlayer-1.0pre7'
make: *** [version.h] Error 2


I don't understand why it says "No such file or directory" so many times. Also it says that for /usr/lib which I know for a fact exists. Does this have anything to do with me using libgtk2.0 vice libgtk1.X?
 
Old 07-19-2005, 11:44 PM   #8
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
lokirulez

Why do you compile from the source?

The version 1.0pre7 is availble from repositories you do not need to compile it!!!
I've shown above that you can install without any headache!!!
 
Old 07-20-2005, 05:06 PM   #9
lokirulez
Member
 
Registered: Jul 2005
Location: California
Distribution: xubuntu 6.06
Posts: 51

Original Poster
Rep: Reputation: 15
Going for .deb

Artik,

You raise a good point. I used to use redhat and was used to installing from .rpm or from source. I downloaded w32codecs and mplayer .deb files from the link your provided. I'll try them out later today, wish me luck.
 
Old 07-21-2005, 12:04 AM   #10
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
Re: Going for .deb

Quote:
Originally posted by lokirulez
Artik,

You raise a good point. I used to use redhat and was used to installing from .rpm or from source. I downloaded w32codecs and mplayer .deb files from the link your provided. I'll try them out later today, wish me luck.
You do not need to install them manually - there different dependecies that also should be installed. There is Advanced Package Manager (APT) tool for you availible:

HOWTO on it: http://www.debian.org/doc/manuals/ap.../index.en.html

It is very powerful tool that allows you installation of a package and all its depndencies.

What you need to do:

add line:
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
to file /etc/apt/sources.list
it gives the source of packages for it
and then run
# apt-get update

Updates databes of all packages and depedencies

then
# apt-get install mplayer

Installs mplayer - and all its dependecies - it downloads automatically all you need and do the job.

Also take a look on synaptic - graphical forntend for APT

APT is one of main advantages of Debian of other distros
Good luck

Last edited by Artik; 07-21-2005 at 12:07 AM.
 
Old 07-24-2005, 02:46 AM   #11
lokirulez
Member
 
Registered: Jul 2005
Location: California
Distribution: xubuntu 6.06
Posts: 51

Original Poster
Rep: Reputation: 15
Dependencies hurt...

I am beginning to get very frustrated....I do not have a connection to the net on my laptop at the moment so I am unable to update my packages with the link above. So I did the next best thing, I visited that link and downloaded the dependencies I needed. I ran into several problems doing this, first of all some of those dependencies had other dependencies, and so on...There were also some packages I was unable to locate and I have googled for days. Then there are certain versions required and I cannot locate them. I just want to watch movies and I am not getting anywhere with this, should I just go back and try to install from source? That still does not work for me.
 
Old 07-28-2005, 05:20 AM   #12
lokirulez
Member
 
Registered: Jul 2005
Location: California
Distribution: xubuntu 6.06
Posts: 51

Original Poster
Rep: Reputation: 15
If you can't beat em' join em'.

Well I decided that I was tired of all the headaches. I will use mplayer with no GUI for the time being. Maybe some day I can enjoy the look and feel of a GUI. For now, I am satisfied. Thanks for all your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 RedRaven Debian 4 10-04-2005 11:27 AM
mplayer gui Irving Linux - Software 8 06-09-2004 01:17 PM
MPlayer GUI scottie Linux - Software 9 11-01-2003 10:00 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
mplayer gui dark_light Linux - General 1 04-08-2003 06:51 AM

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

All times are GMT -5. The time now is 10:52 PM.

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