LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   GTK+ install problems (https://www.linuxquestions.org/questions/mandriva-30/gtk-install-problems-357705/)

garvint 08-28-2005 01:58 AM

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.

reddazz 08-28-2005 02:50 AM

Did you install the development packages of the required dependencies?

Lucas10 08-28-2005 05:15 AM

I receive the same message when I ./configure gtk+-2.8.1 . How have you solve the problem?

garvint 08-28-2005 06:06 AM

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

Lucas10 08-28-2005 06:51 AM

Go tohttp://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00079.html . If you sucess let me know how...

reddazz 08-28-2005 08:20 AM

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.

garvint 08-28-2005 09:56 AM

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.

reddazz 08-28-2005 10:39 AM

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.

garvint 08-28-2005 10:48 AM

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

garvint 08-28-2005 11:00 AM

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.

reddazz 08-28-2005 12:08 PM

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.

garvint 08-28-2005 12:46 PM

Thanks for the info. I'll probably use Opera for the use I had in mind.

reddazz 08-28-2005 01:30 PM

Firefox is included in Mandriva and you can also download a binary from the mozilla website that does not need compiling.

garvint 08-28-2005 05:51 PM

Ah. OK.

Lucas10 08-29-2005 03:39 PM

:Pengy:

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


All times are GMT -5. The time now is 03:37 AM.