LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-28-2005, 01:58 AM   #1
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Rep: Reputation: 15
GTK+ install problems


<!snip>
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

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

I get this when attempting to configure gtk+<the latest version>. I've installed all the dependencies, but don't know what to make of this-no-doubt-simple-to-the-expert error.
 
Old 08-28-2005, 02:50 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did you install the development packages of the required dependencies?
 
Old 08-28-2005, 05:15 AM   #3
Lucas10
Member
 
Registered: Jun 2005
Location: Sainte-Louise, Nouveau-Brunswick, Canada
Distribution: Mandrake 10.1 Official
Posts: 34

Rep: Reputation: 15
I receive the same message when I ./configure gtk+-2.8.1 . How have you solve the problem?
 
Old 08-28-2005, 06:06 AM   #4
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
I've googled for the latest version with no luck. Where can I find it? (or, better yet, what is the package name for urpmi)?
 
Old 08-28-2005, 06:51 AM   #5
Lucas10
Member
 
Registered: Jun 2005
Location: Sainte-Louise, Nouveau-Brunswick, Canada
Distribution: Mandrake 10.1 Official
Posts: 34

Rep: Reputation: 15
Go tohttp://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00079.html . If you sucess let me know how...
 
Old 08-28-2005, 08:20 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by garvint
I've googled for the latest version with no luck. Where can I find it? (or, better yet, what is the package name for urpmi)?
To compile anything, you need to install the development packages of any missing dependencies. They tend to be the name of the missing package with the *devel bit at the end.
 
Old 08-28-2005, 09:56 AM   #7
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
I've already been to ftp.gtk.org. It doesn't have devel packages. I'd love to be able to install the devel packages, but don't know where to find them.
 
Old 08-28-2005, 10:39 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by garvint
I've already been to ftp.gtk.org. It doesn't have devel packages. I'd love to be able to install the devel packages, but don't know where to find them.
You install development packages using your distributions package manager, in this case urpmi/rpmdrake. If you don't know how to resolve dependencies maybe you are better off using Mandriva binaries instead of compiling from source.
 
Old 08-28-2005, 10:48 AM   #9
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
I'll try urpmi. It has the benefit of getting dependencies automagically. I've done a urpmi devel. Does that tell me what I have installed or what is available to install.

I guess you could call me a sophisticated newbie.
 
Old 08-28-2005, 11:00 AM   #10
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
checking for GTK - version >= 1.2.0... no
*** 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.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
[garvint@localhost mozilla]$ locate gtk-config
/usr/share/doc/packages/gtk+-1.2.6/docs/gtk-config.1
/usr/share/doc/packages/gtk+-1.2.6/docs/gtk-config.1.in
/usr/share/doc/packages/gtk+-1.2.6/docs/gtk-config.txt.gz
[garvint@localhost mozilla]$ env|grep CONFIG
XDG_CONFIG_DIRS=/var/lib/menu-xdg
[garvint@localhost mozilla]$ env|grep PATHCONFIG
[garvint@localhost mozilla]$
[garvint@localhost mozilla]$ env|grep PATH
NLSPATH=/usr/share/locale/%l/%N
PATH=/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/garvint/bin:/etc/gtk:/usr/lib/gtk


Here is the error when I try to ./configure Firefox. Also included some variables. I don't seem to have gtk-config installed.
 
Old 08-28-2005, 12:08 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I don't understand why you are compiling those packages from source when they are already included in your distribution. Also if you are a newbie, why don't you read up on compiling software from source because you would save yourself all this unnecessary hassle. Anyway the package you need to install for that program to compile is libgtk+1.2-devel.
 
Old 08-28-2005, 12:46 PM   #12
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the info. I'll probably use Opera for the use I had in mind.

Last edited by garvint; 08-28-2005 at 01:09 PM.
 
Old 08-28-2005, 01:30 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Firefox is included in Mandriva and you can also download a binary from the mozilla website that does not need compiling.
 
Old 08-28-2005, 05:51 PM   #14
garvint
LQ Newbie
 
Registered: May 2005
Location: Closer than you think.
Distribution: Mandriva (latest)
Posts: 23

Original Poster
Rep: Reputation: 15
Ah. OK.
 
Old 08-29-2005, 03:39 PM   #15
Lucas10
Member
 
Registered: Jun 2005
Location: Sainte-Louise, Nouveau-Brunswick, Canada
Distribution: Mandrake 10.1 Official
Posts: 34

Rep: Reputation: 15


When I try to ./configure GTK+-2.8.1 I receive this message:

-Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.3
-configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.

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

I have follow the requested files (don't understand the "Alternatively you may...") and install it without problem but still I receive the same message. Can you help me
 
  


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
GTK+ install problems ih8linux Linux - Newbie 16 02-18-2006 08:23 PM
GTK install: Pango Problems Daddywags Linux - Software 9 04-27-2005 08:57 AM
Lopster install and GTK problems gregorw Linux - Software 3 03-22-2004 01:33 PM
GTK+-2.2.1 Install problems ih8linux Linux - Software 1 04-20-2003 01:00 AM
GTK install problems oudent Linux - Software 0 01-05-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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