Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
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
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.
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?
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?
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 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:
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.