LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-13-2006, 09:29 AM   #1
narcolepticpathos
LQ Newbie
 
Registered: Jun 2006
Location: Baldwin, WI
Distribution: SuSE 10.1
Posts: 6

Rep: Reputation: 0
Compiling MPlayer from source, can't find gtk-config


Hey all:

I am trying to compile MPlayer from source and the ./configure cannot find "gtk-config".

I am using SuSE 10.1 and here are my gtk packages:

narpath@EvoTwo:~> rpm -qa | grep gtk
gtk-sharp2-2.8.2-12
python-gtk-2.8.2-21
gtk2-doc-2.8.10-36
libgtkhtml-devel-2.11.0-16
gtk2-devel-2.8.10-36
gtkmm24-2.8.2-15
gtk-qt-engine-0.7cvs20060209-20
libgtkhtml-2.11.0-16
gtkmm2-devel-2.2.12-26
gtk2-2.8.10-36
gtksourceview-1.5.6-18
gtkspell-2.0.11-20
gtkglarea-1.2.2-908
gtkmm2-2.2.12-26
gtkmm24-devel-2.8.2-15
gtk-1.2.10-907
gtk2-engines-2.6.7-17


From what I have gathered here in the other threads, the GTK2 libraries don't have "gtk-config", only GTK1. What script path could I give to ./configure so it will work?


:narpath
 
Old 06-13-2006, 10:36 AM   #2
jeelliso
Member
 
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
You'll have to check the README or INSTALL file for Mplayer since every program is different. One of these files will probably tell you what arguments you need to use to change where config looks for your GTK libraries.

Why not just let YaST install Mplayer?

~Justin
 
Old 06-13-2006, 04:36 PM   #3
narcolepticpathos
LQ Newbie
 
Registered: Jun 2006
Location: Baldwin, WI
Distribution: SuSE 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
It says the "gtk-config" could be in the /opt/bin folder...which its not. It should be in the /opt/gnome/bin, which is my equivalent. And I know which arguments to change, its just that I have to give a path to the config file, which I don't know...Here is what arguments I pass already with my ./configure file. (I already found the "glib-config")

./configure --enable-gui --with-glib-config=/opt/gnome/bin/glib-config



As far as YaST goes, MPlayer hasn't been included in SuSE for quite while.

Last edited by narcolepticpathos; 06-13-2006 at 04:38 PM.
 
Old 06-13-2006, 04:38 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have slocate installed? You can use it to find where gtk-config is using "locate gtk-config".
 
Old 06-13-2006, 05:03 PM   #5
samwwwblack
Member
 
Registered: Apr 2003
Location: Midlands, UK
Distribution: Lapwing-Linux 2009.1
Posts: 64

Rep: Reputation: 15
Update the Mplayer source to the latest CVS release, this fixes some security holes and can use a pure GTK2 GUI (rather than GTK1)
 
Old 06-13-2006, 06:10 PM   #6
narcolepticpathos
LQ Newbie
 
Registered: Jun 2006
Location: Baldwin, WI
Distribution: SuSE 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, I missed it. I found "gtk-config" in some /usr/. . . or so on. It didn't work anyways. But it's okay. I took samwwwblack advice and got the new MPlayer (pre8). I did the ./configure --enable-gui with no additional arguments. It compilied great! Thanks for support!
 
  


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
where to find gtk-config? kpachopoulos Linux - General 2 09-28-2005 02:54 PM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
can't find gtk-config Fresha Linux - Software 3 02-21-2004 11:22 AM
Cannot find gtk-config and glib-config NOT_Skeletor Linux - Software 3 06-27-2003 09:39 AM

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

All times are GMT -5. The time now is 06:58 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