c readline library에 대한 haskell readline library wrapper을 언급하고 있습니다. 아래Mac OSX에서 haskell readline 라이브러리를 어떻게 설치합니까?
cabal install readline
출력 :
$ cabal install readline
Resolving dependencies...
Configuring readline-1.0.1.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for GNUreadline.framework... checking for readline... no
checking for tputs in -lncurses... yes
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
See `config.log' for more details.
cabal: Error: some packages failed to install:
readline-1.0.1.0 failed during the configure step. The exception was:
ExitFailure 1
나는 (sudo port install readline
사용) MacPorts를 통해 설치는 C의 readline 라이브러리를 가지고 있지만 하스켈의 readline 라이브러리를 설치하는 동안 나는 여전히 같은 오류가 발생합니다.
http://www.haskell.org/cabal/FAQ.html – tekknolagi
'port'로'readline'을 설치했다면 왜'cabal'을 써서 설치해야합니까? – tekknolagi
'readline' c 라이브러리가 포트와 함께 설치되었지만'readline' haskell 라이브러리를 설치할 수 없습니다. 내가 그 질문을 분명히하기 위해 명확히했습니다. –