compiling wxpython on ppc ubuntu-linux

hi

i am trying to compile wxpython from source under ubuntu linux. I get the folowing error:

···

***
configure: warning: zlib library not found or too old, will use built-in insteadchecking for png.h > 0.90... no
configure: warning: system png library not found or too old, will use built-in instead
checking for jpeglib.h... no
configure: warning: system jpeg library not found, will use built-in instead
checking for tiffio.h... no
configure: warning: system tiff library not found, will use built-in instead
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
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:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
***

I am not very good at linux, i have been trying different ways to do it but i couldnt find the way to solve it. I have been checking my ubuntu installation and seems that all packages related to gtk are installed properly.

I tried to run the gtk-config --libs command but iget an error saying there is no such command.

anyone knows what i am doing wrong?

thanks!

--
enrike

I am not very good at linux, i have been trying different ways to do it but i couldnt find the way to solve it. I have been checking my ubuntu installation and seems that all packages related to gtk are installed properly.

Knowing little of compiling wxPython (though I've done it successfully a number of times, on RedHat and Gentoo) and nothing of Ubuntu, I'm guessign you need some kind of development package for GTK, perhaps something like GTK-devel.

Also you don't seem to have a lot of other common libs, like libpng and libjpeg, zlib, etc. wxWidgets supplies it's own version of a lot of those, but it indicates to me that you haven't installed much to support development.

One more thought. If you have teh option on ubuntu, you might want to use GTK2 instead.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov