Fw: cannot find -lreadline
sorry, repost. ----- Original Message ----- From: "Luc Taesch" <list@taesch.com> To: <glasgow-haskell-users-request@haskell.org> Sent: Tuesday, September 16, 2003 8:06 AM Subject: cannot find -lreadline
when compiling HaXML with 6.01 on mandrake, I got /usr/bin/ld: cannot find -lreadline, as detailled hereafter.
also , when I installed the rpm I also got a message on readline missing,
despite it is installed.
is anybody aware of this issue ? any variable to set ? on mandrale,
readline is on /lib/libreadline.so.4.3. what about redhat ?
thanks , Luc
[test@localhost HaXml-1.09]$ rpm -ql readline /lib/libhistory.so.4 /lib/libhistory.so.4.1 /lib/libhistory.so.4.2 /lib/libhistory.so.4.3 /lib/libreadline.so.4 /lib/libreadline.so.4.1 /lib/libreadline.so.4.2 /lib/libreadline.so.4.3 [test@localhost HaXml-1.09]$
nstance.hs, ../Text/XML/HaXml/DtdToHaskell/Instance.o ) Skipping Main ( DtdToHaskell.hs, ./DtdToHaskell.o ) Linking ... /usr/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status make[1]: *** [../../DtdToHaskell] Error 1 make[1]: Leaving directory `/home/test/Documents/test/HaXml-1.09/obj/ghc' make: *** [tools-ghc] Error 2
The report states about getChar, getLine, and getContents: "By default, these input functions echo to standard output." In version 1.3 of the report, it used to continue "Functions in the I/O library provide full control over echoing." Apparently, this has been removed and the I/O library contains neither facilities to control echoing nor a specification of what the h-cousins hGetChar, hGetLine, and hGetContents are supposed to do wrt echoing. Can I rely on them not to echo their inputs? -Peter
participants (2)
-
Luc Taesch -
Peter Thiemann