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

From: John Clements (clements at brinckerhoff.org)
Date: Wed Feb 22 16:25:18 EST 2012

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120222/aad6e0f9/attachment-0001.p7s>

Posted on the dev mailing list.