
On Wed, May 6, 2009 at 12:17 PM, Judah Jacobson
On Tue, May 5, 2009 at 10:27 PM, brian
wrote: Here's the relevant bits :
checking for readline in -lreadline... yes checking for rl_readline_version... yes checking for rl_begin_undo_group... no configure: error: readline not found, so this package cannot be built
Looks like it found readline, and then decided it didn't ?
It's finding the system install of readline, which is really editline, so it later rejects it for not having enough functionality.
I'm having fairly consisten problems with cabal packages needing symlinks in /usr/local to work properly, i.e. it can't seem to find libraries in /sw/lib where fink puts them.
Is that a cabal problem or a ghc issue ?
For the readline package you can use cabal configure --configure-option=--extra-include-dirs=/sw/include --configure-option=--extra-lib-dirs=/sw/lib
which passes the necessary arguments to the autoconf script which the readline package uses.
Sorry, that should be --configure-option=--with-readline-includes=".." --configure-option=--with-readline-libraries=".." -Judah