Jump to content

GTK+2.0 Question [solved]


Guest thenewmexican
 Share

Recommended Posts

Guest thenewmexican

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...