
Denis Bueno wrote:
On Nov 9, 2007 4:38 AM, Bjorn Bringert
wrote: I have this in my ~/.profile so that I don't have to keep giving flags to configure for every single thing I build against MacPorts libraries:
export CPATH=/opt/local/include export LIBRARY_PATH=/opt/local/lib export LD_LIBRARY_PATH=/opt/local/lib
Thanks, Paul and Bjorn. Indeed, this did the trick. Any thoughts why ./configure claimed to have discovered readline on its own, but then was unable to use it? Or maybe, for some reason, the message is unrelated?
There are two separate tests: (1) whether your installed GHC claims to have a readline package, which succeeded, and (2) whether the C library for readline can be found, and this latter test failed. The build itself should not have failed though - it should just have built GHC without readline support. I think I fixed the bug that caused this recently, and I'll make sure the fix gets merged into 6.8.2. Cheers, Simon