मैं haskell readline library wrapper को c readline library पर संदर्भित कर रहा हूं।मैक ओएसएक्स पर हैकसेल रीडलाइन लाइब्रेरी कैसे स्थापित करें?
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
मैं macports (sudo port install readline
का प्रयोग करके) के माध्यम से स्थापित ग ReadLine पुस्तकालय है, लेकिन मैं अब भी वही त्रुटि Haskell ReadLine पुस्तकालय इंस्टॉल करते समय मिलता है।
http://www.haskell.org/cabal/FAQ.html – tekknolagi
आप 'port' साथ' readline' स्थापित किया है तो क्यों आप कोशिश करते हैं और 'cabal' साथ इसे स्थापित करने की जरूरत है? – tekknolagi
'readline' c लाइब्रेरी पोर्ट के साथ स्थापित है, लेकिन मैं' readline' हैकेल लाइब्रेरी इंस्टॉल नहीं कर सकता। मैंने स्पष्ट करने के लिए सवाल स्पष्ट कर दिया है। –