[Hat] hat make ld can't find HSreadline-1.0.1.0_p
Larry Evans
cppljevans at suddenlink.net
Mon Oct 25 20:53:30 EDT 2010
Following instructions here:
file:///home/evansl/download/haskell/hat/hat-2.06/docs/install.html
I did:
./configure
However, when I tried the next step, make, I got:
--{---cut here---
evansl at evansl-desktop:~/download/haskell/hat/hat-2.06$ make
cd src/tools; make HC=ghc all
make[1]: Entering directory
`/home/evansl/download/haskell/hat/hat-2.06/src/tools'
hmake -hc=ghc -I. -I/home/evansl/download/haskell/hat/hat-2.06/include
-fglasgow-exts -package base -package readline -package containers
-DUSE_READLINE=1 -prof -auto-all -fno-warn-missing-methods
-fno-warn-missing-fields HatStackText
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/pathutils.o
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/artutils.o
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/finitemap.o
\
-d/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools
cd
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools &&
ghc -fglasgow-exts -package base -package readline -package containers
-prof -auto-all -fno-warn-missing-methods -fno-warn-missing-fields -I.
-I/home/evansl/download/haskell/hat/hat-2.06/include -i.
-i/home/evansl/download/haskell/hat/hat-2.06/include -o HatStackText
Run.o CommonUI.o Ident.o HatStack.o FFIExtensions.o HighlightStyle.o
PrettyLibHighlight.o SExp.o SrcRef.o LowLevel.o HatStackText.o
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/pathutils.o
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/artutils.o
/home/evansl/download/haskell/hat/hat-2.06/targets/x86_64-Linux/obj/tools/finitemap.o
/usr/bin/ld: cannot find -lHSreadline-1.0.1.0_p
collect2: ld returned 1 exit status
make[1]: ***
[/home/evansl/download/haskell/hat/hat-2.06/lib/x86_64-Linux/hat-stack]
Error 1
make[1]: Leaving directory
`/home/evansl/download/haskell/hat/hat-2.06/src/tools'
make: *** [targets/x86_64-Linux/hat-tools-ghc] Error 2
evansl at evansl-desktop:~/download/haskell/hat/hat-2.06$ ghc-pkg list|grep
readline
readline-1.0.1.0
evansl at evansl-desktop:~/download/haskell/hat/hat-2.06$
--}---cut here---
So how do I get the loader (ld) to look in the right place to find
HSreadline-1.0.1.0_p? I would guess that it would be in the
readline package shown by the ghc-pkg list output, but apparently
not :(
Any help's appreciated.
TIA.
-Larry
More information about the Hat
mailing list