Hi, I can report a sucessful build on mips-sgi-irix6.5 (if anyone's interested) My problem is about how to cope with a missing libreadline.a For some reason (don't ask me why), the system I work with does not have readline installed - and I'm not root! I have a working copy of libreadline.a locally and would like to use that (so that the lack of line editing and command history in hugs doesn't drive me crazy!). Is there anyway to tell the ./configure script to look for readline in a specific location, or can I hack the makefile afterwards, or can I tell the loader to search an extra location? Any advice much apreciated. I'm sure you know how irritating a minor thing like this can be. :-) Duncan
Hi,
try using the environment variable LDFLAGS, e.g,
foo$ LDFLAGS=-L/path/to/where/libreadline/and/libncurses/live ./configure
I believe that's all there's to it, but am currently unable to verify.
hth
--sigbjorn
----- Original Message -----
From: "Duncan Coutts"
Hi,
I can report a sucessful build on mips-sgi-irix6.5 (if anyone's interested)
My problem is about how to cope with a missing libreadline.a For some reason (don't ask me why), the system I work with does not have readline installed - and I'm not root! I have a working copy of libreadline.a locally and would like to use that (so that the lack of line editing and command history in hugs doesn't drive me crazy!). Is there anyway to tell the ./configure script to look for readline in a specific location, or can I hack the makefile afterwards, or can I tell the loader to search an extra location?
Any advice much apreciated. I'm sure you know how irritating a minor thing like this can be. :-)
Duncan
_______________________________________________ Hugs-Users mailing list Hugs-Users@haskell.org http://www.haskell.org/mailman/listinfo/hugs-users
Hi, Thank's very much for the tip, it compiled and works fine now. That flag was all it needed (in combination with --with-readline obviously). I've not tried compiling hugs on one of the super-computers yet... That'd be a good advertisement for hugs. I can see the headline: "hugs beats ghc on run-time performance - ghc team claim unfair advantage" :-) Duncan
try using the environment variable LDFLAGS, e.g,
foo$ LDFLAGS=-L/path/to/where/libreadline/and/libncurses/live ./configure
I believe that's all there's to it, but am currently unable to verify.
hth --sigbjorn
participants (2)
-
Duncan Coutts -
Sigbjorn Finne