How to correctly install gtk2+ -for wxWidgets [Solved]

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

How to correctly install gtk2+ -for wxWidgets [Solved]

#1 Post by darkcity »

I'm trying to compile wxWidgets so I can compile Audacity ; -)

Code: Select all

*** 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.
I'm using PolarPup which is a Lucid derivative. I've installed many things from the Ubuntu repository including-

libgtk2.0_2.20.0
libgtk2.0-bin_2.20.0
libgtk2.0-common_2.20.0
libgtk2.0-dev_2.20.0

But to know avail. How can I configure gtk2+ so wxWidgets with recognize it is present?

Is there a PET for GTK2+ including dev files?

:twisted:
Last edited by darkcity on Mon 14 May 2012, 12:06, edited 1 time in total.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

i've now fixed this, but can't remember. possibly using a gtk2 pet.

If anyone has a similar problem give me a shout ; -)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

FWIW, if you had the devx you shouldn't have needed to install any extra gtk packages.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#4 Post by darkcity »

thanks for the reply, I was using Polarpup's devx. I may have messed something up to stop it working :twisted:

Post Reply