Compiling and installing glib and gtk+ on Snow Leopard

Hi, I'm trying to install the Leksah IDE and I've run into the problem that it requires glib and gtk+. Whenever I type 'configure' for glib-2.26.0 everything goes fine. But when I type 'make' it goes through necessary actions and then suddenly stops halfway through stating the following (annoying) error message: error: #error GNU libiconv not in use but included iconv.h is from libiconv What, exactly is happening here? I've compiled libiconv and put it under /usr/bin (so iconv is there). Yet it still complains...I don't get it. I've spend the best part of a day mucking around with this to no avail. Also: I used to have Leopard installed on my machine and then I upgraded to Snow Leopard--does this mean that I would need to rebuild from scratch most of the packages on the entire system? Could this change from 32-bit to 64-bit be causing an issue? Thanks, Mark

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/23/10 10:00 , Mark Spezzano wrote:
What, exactly is happening here? I've compiled libiconv and put it under /usr/bin (so iconv is there). Yet it still complains...I don't get it. I've spend the best part of a day mucking around with this to no avail.
What's happening is SL has its own libiconv that interferes with pretty much everything; there have been bug reports filed against ghc, Fink, MacPorts, and pretty much every other development-related package/collection I know of that is available on SL. (Also, compiling your own something and putting it in /usr/{bin,lib} is a BAD BAD BAD idea that will come back and bite you at some point.) - -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzDOF4ACgkQIn7hlCsL25VwvQCeJ8+W0FUPN6DtxAwwv4DNt/V3 0DYAoIVrJHdBnW5TbbVAeW4edZ6D0rT7 =sccS -----END PGP SIGNATURE-----
participants (2)
-
Brandon S Allbery KF8NH
-
Mark Spezzano