LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing the gtk (https://www.linuxquestions.org/questions/linux-software-2/installing-the-gtk-366509/)

Elbryan 09-24-2005 06:56 AM

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?!?!

Andrew Benton 09-24-2005 07:22 AM

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

Elbryan 09-24-2005 08:21 AM

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 .. -.-

cs-cam 09-24-2005 08:25 AM

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

:)

Elbryan 09-24-2005 11:13 AM

# 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?

Elbryan 09-26-2005 10:05 AM

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.


Elbryan 09-26-2005 12:51 PM

I need an help .. i want to install aMule in Fedora core 4 but ._. .. without gtk I can't compile it!!

cs-cam 09-27-2005 02:08 AM

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...

Elbryan 09-27-2005 07:13 AM

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!

cs-cam 09-28-2005 01:55 AM

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.

rezwits 10-13-2007 01:17 AM

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


All times are GMT -5. The time now is 04:46 AM.