Error while installing dependencies for PyGTK on Mac OS 10.6.3

Posted by Winston C. Yang on Stack Overflow See other posts from Stack Overflow or by Winston C. Yang
Published on 2010-05-16T02:41:32Z Indexed on 2010/05/16 2:50 UTC
Read the original article Hit count: 319

Filed under:
|
|
|
|

I tried to install the following dependencies for PyGTK 2.16.0 (the Python GIMP Tool Kit) on Mac OS 10.6.3:

  • glib 2.25.5
  • gettext-0.18
  • libiconv-1.13.1

When I tried to install glib, I got the following error message:

gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv

The libiconv web page talks about a circular dependency between gettext and libiconv---build one, then build the other, then build the first again. I tried to do this, though possibly incorrectly. (Will the following work: make distclean; ./configure; make; sudo make install?)

The author of a posting had the same problem, and he solved it by installing libiconv-1.13.1.

Could anyone explain the error in more detail, and how to correct it?

© Stack Overflow or respective owner

Related posts about python

Related posts about pygtk