Fwd: [Haskell-cafe] ghc for sunos
---------- Forwarded message ---------- From: Brian McQueen <mcqueenorama@gmail.com> Date: Sep 9, 2005 9:14 AM Subject: Re: [Haskell-cafe] ghc for sunos To: Donald Bruce Stewart <dons@cse.unsw.edu.au> I installed it and its choking while looking for libreadline. I'm not an admin on these machines, so my options are limited. It seems to be a bit of an odd error msg though in that the search path looks wrong: ld.so.1: /users/bqueen/lib/ghc-6.2.2/ghc-6.2.2: fatal: libreadline.so.4: open failed: No such file or directory Why would the ghc dir be in there twice? Brian McQueen On 9/8/05, Donald Bruce Stewart <dons@cse.unsw.edu.au> wrote:
mcqueenorama:
Is there a ghc for SunOS? I don't see on in the list. How hard would it be to make one? I'm surrounded by Sun boxes here.
GHC runs on sparc/solaris and i386/solaris. Is that what you're looking for? Have a look at the earlier 6.x releases for binaries for this OS.
-- Don
Brian McQueen <mcqueenorama@gmail.com> writes:
I installed it and its choking while looking for libreadline. I'm not an admin on these machines, so my options are limited.
You can download and install the readline library as an ordinary user, in your own filespace. Just add LD_LIBRARY_PATH=/path/to/my/lib/dir to your environment (and export it) before proceeding with ghc.
ld.so.1: /users/bqueen/lib/ghc-6.2.2/ghc-6.2.2: fatal:
Why would the ghc dir be in there twice?
This is perfectly normal. The executable is called ghc-6.2.2, and the directory it lives in has the same name (but also contains many other things apart from the executable). Regards, Malcolm
Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> writes:
Brian McQueen <mcqueenorama@gmail.com> writes:
I installed it and its choking while looking for libreadline. I'm not an admin on these machines, so my options are limited.
You can download and install the readline library as an ordinary user, in your own filespace. Just add LD_LIBRARY_PATH=/path/to/my/lib/dir to your environment (and export it) before proceeding with ghc.
Also, if a lurker is allowed to chime in, ghc seems to insist on the version of libreadline to use. Newer versions provide libreadline.so.5 and will not work. You will need to install a readline version 4.x in some_dir and take care that come_dir is listed first in LD_LIBRARY_PATH. HTH. -- Nicolas
After I got through the Readline complaint I got an ncurses compaint, and decided I'd bring in Knoppix CD and make a Linux system out of my desktop. I bet everything will work fine on a Linux system. Brian McQueen On 12 Sep 2005 10:44:29 +0200, Nicolas Pelletier <nicolasp@nortel.com> wrote:
Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> writes:
Brian McQueen <mcqueenorama@gmail.com> writes:
I installed it and its choking while looking for libreadline. I'm not an admin on these machines, so my options are limited.
You can download and install the readline library as an ordinary user, in your own filespace. Just add LD_LIBRARY_PATH=/path/to/my/lib/dir to your environment (and export it) before proceeding with ghc.
Also, if a lurker is allowed to chime in, ghc seems to insist on the version of libreadline to use. Newer versions provide libreadline.so.5 and will not work. You will need to install a readline version 4.x in some_dir and take care that come_dir is listed first in LD_LIBRARY_PATH.
HTH.
-- Nicolas
participants (3)
-
Brian McQueen -
Malcolm Wallace -
Nicolas Pelletier