LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer but no GUI! (https://www.linuxquestions.org/questions/linux-software-2/mplayer-but-no-gui-344418/)

lokirulez 07-18-2005 05:25 PM

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. :cry:

TruongAn 07-18-2005 05:50 PM

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

XavierP 07-18-2005 05:59 PM

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.

__J 07-19-2005 02:38 AM

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. :cry:

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.

Artik 07-19-2005 02:48 AM

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. :cry:

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

Harmaa Kettu 07-19-2005 02:49 AM

This patch should make it work with gtk2.

lokirulez 07-19-2005 10:53 PM

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?

Artik 07-19-2005 11:44 PM

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!!!

lokirulez 07-20-2005 05:06 PM

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.

Artik 07-21-2005 12:04 AM

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

lokirulez 07-24-2005 02:46 AM

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.

lokirulez 07-28-2005 05:20 AM

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.


All times are GMT -5. The time now is 07:58 PM.