How to compile and install glib and gtk+?

Hi,
I am trying to "configure", a "make", and "sudo make install" on the package glib-2.26.0.
I type ./configure which works fine but then when I type 'make' it gets to a certain point and then gives the following error message:
*#error GNU libiconv not in use but included iconv.h is from libiconv*
What does this mean? I've already installed iconv under /usr/bin so what exactly is going on here?
Thanks in advance,
Mark
PS: I originally had Leopard on my machine, and now I have Snow Leopard; does that mean that I have to rebuild every package from scratch?? Could this be causing the problem?

Actually this is not necessarily the wrong place to ask such a question (or was it moved to the unix forum? My head hurts). In my experience, gtk+2 and the associated software is not completely trivial to compile on OS X and to get working properly. I make fairly heavy daily use of it. I let fink do this for me.
One immediate suggestion: Try not to put this stuff in /usr/bin. If you can put it in /usr/local, or using fink, put it in /sw, or macports (a fink alternative some prefer), in /opt/local, it has the advantage of (a) not clobbering anything distributed with OS X, and (b) won't get clobbered by OS X updates.
I maintain precompiled versions of gtk+2 and all that other stuff, informally, to be installed via fink if you are interested.
If so, start here: My pre-compiled packages
Use the 64-bit version if you are able to.

Similar Messages

Maybe you are looking for