[Hackage] #631: readline-1.0.1.0 not linking with GNU macports
readline on darwin
Hackage
cvs-ghc at haskell.org
Mon Apr 26 07:35:04 EDT 2010
#631: readline-1.0.1.0 not linking with GNU macports readline on darwin
----------------------------------+-----------------------------------------
Reporter: osaunders | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.6.0.1
Severity: normal | Keywords:
Difficulty: very easy (<1 hour) | Ghcversion: 6.10.1
Platform: Mac OS |
----------------------------------+-----------------------------------------
Old description:
> I had some problems installing readline-1.0.1.0 on Darwin. I don't
> think it was looking for GNU readline among my Macports.
>
> In the end I did this and it worked:
>
> sudo cabal unpack readline
> cd readline-1.0.1.0/
> chmod +x configure
> sudo ./configure --with-readline-includes=/opt/local/include/readline
> --with-readline-libraries=/opt/local/lib
> sudo runhaskell Setup build
> sudo runhaskell Setup install
New description:
I had some problems installing readline-1.0.1.0 on Darwin. I don't
think it was looking for GNU readline among my Macports.
In the end I did this and it worked:
{{{
sudo cabal unpack readline
cd readline-1.0.1.0/
chmod +x configure
sudo ./configure --with-readline-includes=/opt/local/include/readline
--with-readline-libraries=/opt/local/lib
sudo runhaskell Setup build
sudo runhaskell Setup install
}}}
--
Comment(by YitzGale):
For me this did not work - configure still seems to find the native
fake readline and Mac OS X and refuses to proceed. Nor did any other
of the many combinations I tried of various suggestions in
[http://hackage.haskell.org/trac/ghc/ticket/3121 GHC Ticket #3121]
and Judah Jacobson's
[http://www.haskell.org/pipermail/libraries/2009-May/011595.html May 2009
post]
on the libraries list.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/631#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list