Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17120 closed defect (fixed)

ghc 6.10.1_0 ghci without readline

Reported by: marco.comini@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ghc readline missing Cc:
Port: ghc

Description

I've succesfully installed the port, but unlike previous versions of GHC now ghci has no readline support (which is quite essential to me).

I don't know exactly if this part of the log can help

Configuring editline-0.2.1.0...
...
checking for readline... no
...
checking editline/readline.h usability... yes
checking editline/readline.h presence... yes
checking for editline/readline.h... yes
...
checking for completion_matches... yes
configure: error: editline not found, so this package cannot be built

Change History (4)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to gwright@…

comment:2 Changed 15 years ago by axman6@…

From what i've seen in http://hackage.haskell.org/trac/ghc/ticket/2606, it's an issue with libedit, which seems to be something akin to readline. It's apparently been fixed in HEAD, so hopefully there'll be a new release soon.

comment:3 Changed 15 years ago by gwright@…

Resolution: fixed
Status: newclosed

This has been fixed. You need to make sure your libedit port is version 20080712-2.11 (or later), then rebuild ghc. The previous libedit port was not detected by ghc's configure process, so ghc's libedit support was not built. This problem is not the same as ghc bug 2606 mentioned by axman6 above.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.