[MacPorts] #19816: ghc 6.10.3 is NOT linked to libedit
#19816: ghc 6.10.3 is NOT linked to libedit ----------------------------+----------------------------------------------- Reporter: kazu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghci libedit | Port: ----------------------------+----------------------------------------------- ghc 6.10.3 depends on libedit but ghc 6.10.3 which I installed is not linked to libedit. % otool -L /opt/local/lib/ghc-6.10.3/ghc /opt/local/lib/ghc-6.10.3/ghc: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libncursesw.5.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/lib/libgmp.3.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) Because of this, I cannot use command history of ghci (e.g. C-p). Note that I could use this feature on ghci 6.10.2. -- Ticket URL: <http://trac.macports.org/ticket/19816> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19816: ghc 6.10.3 is NOT linked to libedit ----------------------------+----------------------------------------------- Reporter: kazu@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghci libedit | Port: ghc ----------------------------+----------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => gwright@… * port: => ghc Old description:
ghc 6.10.3 depends on libedit but ghc 6.10.3 which I installed is not linked to libedit.
% otool -L /opt/local/lib/ghc-6.10.3/ghc /opt/local/lib/ghc-6.10.3/ghc: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libncursesw.5.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/lib/libgmp.3.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Because of this, I cannot use command history of ghci (e.g. C-p). Note that I could use this feature on ghci 6.10.2.
New description: ghc 6.10.3 depends on libedit but ghc 6.10.3 which I installed is not linked to libedit. {{{ % otool -L /opt/local/lib/ghc-6.10.3/ghc /opt/local/lib/ghc-6.10.3/ghc: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libncursesw.5.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /opt/local/lib/libgmp.3.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) }}} Because of this, I cannot use command history of ghci (e.g. C-p). Note that I could use this feature on ghci 6.10.2. -- -- Ticket URL: <http://trac.macports.org/ticket/19816#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19816: ghc 6.10.3 is NOT linked to libedit ----------------------------+----------------------------------------------- Reporter: kazu@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghci libedit | Port: ghc ----------------------------+----------------------------------------------- Comment(by kazu@…): I have resolved this problem. GHC starts using Haskeline instead of libedit. Since the default key binding of Haskeline does not provide C-p, this happens. Adding the following lines to your "~/.haskeline" binds C-p to the previous history command. bind: ctrl-p up bind: ctrl-n down Note that I guess dependency to libedit should be removed. -- Ticket URL: <http://trac.macports.org/ticket/19816#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19816: ghc 6.10.3 is NOT linked to libedit ----------------------------+----------------------------------------------- Reporter: kazu@… | Owner: gwright@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghci libedit | Port: ghc ----------------------------+----------------------------------------------- Changes (by gwright@…): * status: new => assigned Comment: Yes, 6.10.3 no longer depends on libedit, but on the Haskeline. I will remove the dependency as part of other cleanups. -- Ticket URL: <http://trac.macports.org/ticket/19816#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19816: ghc 6.10.3 is NOT linked to libedit -----------------------------+---------------------------------------------- Reporter: kazu@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: ghci libedit Port: ghc | -----------------------------+---------------------------------------------- Changes (by gwright@…): * status: assigned => closed * resolution: => fixed Comment: r53756 updates the dependencies. -- Ticket URL: <http://trac.macports.org/ticket/19816#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts