Guest thenewmexican Posted May 2, 2007 Report Share Posted May 2, 2007 Mandriva version 2007 Powerpack x86_64 I'm trying to build wxWidgets-2.8.3. When I run configure. I get the output below. Urpmi tells me that I have GTK+2.0 installed. Where should I set LD_LIBRARY_PATH to. checking for GTK+ - version >= 2.0.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Thanks in advance. [moved from Software by spinynorman - welcome aboard :)] Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted May 2, 2007 Report Share Posted May 2, 2007 You have to install the -devel package of libgtk2 Usually when you want to compile something you need its header or -devel/-dev Quote Link to comment Share on other sites More sharing options...
neddie Posted May 2, 2007 Report Share Posted May 2, 2007 Welcome aboard! Have you tried installing "lib64gtk+2.0_0-devel" ? Usually the package names with "-devel" contain the stuff that you need to compile against. This particular one is in the main repository as lib64gtk+2.0_0-devel-2.10.3-4mdv2007.0.x86_64.rpm. If you haven't got it already, install it with urpmi and then try your ./configure again. Quote Link to comment Share on other sites More sharing options...
Guest thenewmexican Posted May 2, 2007 Report Share Posted May 2, 2007 Have you tried installing "lib64gtk+2.0_0-devel" ? Usually the package names with "-devel" contain the stuff that you need to compile against. This particular one is in the main repository as lib64gtk+2.0_0-devel-2.10.3-4mdv2007.0.x86_64.rpm. If you haven't got it already, install it with urpmi and then try your ./configure again. Thanks for the help. It worked. You rock. Quote Link to comment Share on other sites More sharing options...
neddie Posted May 2, 2007 Report Share Posted May 2, 2007 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted May 2, 2007 Report Share Posted May 2, 2007 Just get sure you don't miss something essential... wxwidgets/wxgtk is a dog to compile, normally you need more than a couple of patches and a few compile switches, related to openGL, gnomeprint, gtk version, unicode... Currently, it didn't make an appearance at cooker yet (only wxpython 2.8.3 is there), probably due to issues with the modules. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.