LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-02-2006, 05:16 PM   #1
mark8569
LQ Newbie
 
Registered: Oct 2006
Distribution: SUSE 10.0
Posts: 9

Rep: Reputation: 0
Unhappy Problems installing gtk+-2.10.6


Hi I am new to linux and I have been trying to install an mp3 player to my suse 10.0 distro. On trying to install xmms-1.2.10 the console informs me that:

*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***


None of which I really understand so I downloaded gtk+-2.10.6 and tried to install that but when I type "./configure" I get:

checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
Requested 'glib-2.0 >= 2.12.0' but version of GLib is 2.8.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


The bold line above confused me as I believe that 2.8.1 is between 2.0 and 2.12.0 however I thought I would then download a newer version of glib, 2.12.0 was the latest I could find.

This configured fine and then I typed make and all seems to go well but when I type "make install" I get this:

/usr/bin/install -c glib-gettextize /usr/local/bin/glib-gettextize
/usr/bin/install: cannot create regular file `/usr/local/bin/glib-gettextize': Permission denied
make[3]: *** [install-binSCRIPTS] Error 1
make[3]: Leaving directory `/home/mark/glib-2.12.0'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mark/glib-2.12.0'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mark/glib-2.12.0'
make: *** [install] Error 2

I have had something similar when trying to install another program and I am unsure what to do, please can someone help me with this thanx.

Mark
 
Old 11-02-2006, 05:32 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Do you have permission to install glib-gettextize in /usr/local/bin? With a typical GNU/Linux setup, you'll need to be root to install the package. You can configure and compile as an unprivileged user.

BTW there is glib and there is glib-2.0, sorta like second generation glib. GTK+ was looking for version 2.12.0 or later of glib-2.0, not glib in the range 2.0 - 2.12.0. So 2.8.1 doesn't satisfy the dependency.
 
Old 11-02-2006, 05:54 PM   #3
mark8569
LQ Newbie
 
Registered: Oct 2006
Distribution: SUSE 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
I have found the glibgettextsize file but I am unsure or unable to install it, I should have have full permissions as I am the only user I would have thought.
Thanks
 
Old 11-02-2006, 07:25 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Nope. You have to be the root user to install software. Before you execute make install, change to the root user
Code:
su
Enter the root password when you're prompted.
 
  


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
Installing gtk+ 2.10.2 pango problems LeonardTeo Linux - Software 2 08-26-2006 05:35 PM
Problems installing GTK in Mandrake 10.0 please help!! nerostar450 Linux - Software 1 10-13-2004 02:09 PM
Problems installing GTK dependencies Borje Linux - Software 9 04-26-2004 01:52 PM
Problems installing GTK+2.4.0 xonner Linux - Software 2 04-25-2004 04:27 PM
Problems installing glib and gtk+ 1.2.10... khermans Linux - Software 4 10-02-2002 09:47 AM

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

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