LinuxQuestions.org
Review your favorite Linux distribution.
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 09-24-2005, 06:56 AM   #1
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Installing the gtk


I want to install my gtk but when i try "configure --prefix=/opt/gtk" the compiler shows me this errors:

Code:
configure: error: Package requirements (glib-2.0 >= 2.7.1    atk >= 1.0.1    pan go >= 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_LIB S environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
What I should do?!?!
 
Old 09-24-2005, 07:22 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Have you installed glib-2.8, atk-1.10, cairo-1.0 and pango-1.10? Where did you install them. In the gtk source folder read gtk+-2.8.3/docs/reference/gtk/html/gtk-building.html then set CPPFLAGS, LDFLAGS, PKG_CONFIG_PATH and LD_LIBRARY_PATH to point to where you installed glib-2.8, atk-1.10, cairo-1.0 and pango-1.10
 
Old 09-24-2005, 08:21 AM   #3
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
I can't install it too .. i don't know how to set up the flag .. and .. atk requires glib ... aahh .. i don't know what to do .. -.-
 
Old 09-24-2005, 08:25 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Welcome to dependancies

All of those (except cairo) depend on glib, so you need to install it first. Once you've done that, I'd install cairo, then atk, then pango, then gtk. Your profile says you use Debian, if you type in this it'll install it all for you:
Code:
# never used debian or a derivitate so this is my best guess at a package name
apt-get install gtk
 
Old 09-24-2005, 11:13 AM   #5
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
# never used debian or a derivitate so this is my best guess at a package name
apt-get install gtk

This don't work .. i think i must add in my sources.conf the link ... or not?
 
Old 09-26-2005, 10:05 AM   #6
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
How to install gtk in fedora 4 core? =.=
I have been configure make make install with cairo, pando atk and glib but my gdk won't compile:
Code:
Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.6
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.
 
Old 09-26-2005, 12:51 PM   #7
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
I need an help .. i want to install aMule in Fedora core 4 but ._. .. without gtk I can't compile it!!
 
Old 09-27-2005, 02:08 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Originally posted by Elbryan
How to install gtk in fedora 4 core? =.=
I have been configure make make install with cairo, pando atk and glib but my gdk won't compile:
Code:
Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.6
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.
Have you actually read the error you posted? You have the wrong version of glib installed. Fix that and it'll either work or tell you that you have the wrong version of something different installed...
 
Old 09-27-2005, 07:13 AM   #9
Elbryan
Member
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
No i have installed glib now .. my glib works well i have configured, maked and "maked installed" (:P) the glib 2.8.3 ... but during other compilations, the other programs don't see it!
 
Old 09-28-2005, 01:55 AM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Using initiative has never killed anyone. Open a console, cd to the directory where you have extracted the GTK source and type this:
Code:
./configure --help | less
Read that and see if you can figure out what to do next.
 
Old 10-13-2007, 01:17 AM   #11
rezwits
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
this will help... but...

as far as guarantee your make(s) will all install properly, doubt it. Seems to me these gtk+ releases are very ifi and weird to install because of what version to use with what distro and what dependency versions work.

this though helps:

http://www.yolinux.com/TUTORIALS/GTK...mmingTips.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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.6.0 mcedpd Linux - Newbie 1 02-28-2005 08:49 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
installing GTK+ 2.4.2 Vindane Linux - Software 3 06-05-2004 05:20 PM
installing gtk dlm4444 Programming 1 09-26-2003 10:07 AM
Installing gtk+ help saiz66 Linux - Software 6 06-21-2003 04:06 PM

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

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