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. |
Did you install the development packages of the required dependencies?
|
I receive the same message when I ./configure gtk+-2.8.1 . How have you solve the problem?
|
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)?
|
Go tohttp://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00079.html . If you sucess let me know how...
|
Quote:
|
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.
|
Quote:
|
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. :) |
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. |
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.
|
Thanks for the info. I'll probably use Opera for the use I had in mind.
|
Firefox is included in Mandriva and you can also download a binary from the mozilla website that does not need compiling.
|
Ah. OK.
|
: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. |