[racket-dev] build fail for 64-bit OS X af9bab74265

From: Stevie Strickland (sstrickl at ccs.neu.edu)
Date: Wed Feb 22 16:43:03 EST 2012

Just wanted to throw in my two cents that I was having the same problem as John, and his fix works for me also.  I'd misdiagnosed it on my machines, tried a couple of things, and then just ended up disabling mac64 until now.  Thanks, John!

Stevie

On Feb 22, 2012, at 4:25 PM, John Clements wrote:

> 
> 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
> 
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/dev



Posted on the dev mailing list.