On Feb 13, 2012, at 5:16 PM, Matthew Flatt wrote:

> Have you changed anything about your installation via MacPorts lately?
> 
> I think you're seeing a mismatch between a MacPorts iconv and the
> pre-installed iconv. See also
> 
> https://lists.racket-lang.org/dev/archive/2011-April/006153.html

To follow up on this, and perhaps for others: it turned out that the build was 
pulling include files from /usr/include but getting its libraries from 
/opt/local/lib. I solved it this once by setting CPPFLAGS:

export CPPFLAGS=-I/opt/local/include

... before running configure.

I'm puzzled, though, because I've never had this problem before, including 
another OS X machine (this one, running 10.6) where I have libiconv installed 
through macports as well, and where CPPFLAGS is also not set by default in my 
environment. This isn't high enough on my list to paw through configure and try 
to figure out how include paths are computed, so I'll just leave this as a "use 
it if you need it" item.

Hope this helps others,

John

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to