GHC on Solaris/SPARC?

Hi, I am having trouble with precompiled binary http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-sparc-sun-solaris2.ta... . My first problem was that the machine is 64-bit SPARC while the binary seems to be 32-bit. Since the dynamically linked GHC binary requires additional .so files to run, any libs which I try to compile on the machine itself run into ELF class incompatibility errors. So I tried installing prebuilt packages from http://sunfreeware.com/, and spent a couple hours grokking the Solaris package system before I figured out how to extract the right files. Now I think I have the right libs installed, but when I try to run GHC, I get this: -bash-3.00$ runhaskell Setup configure ld.so.1: ghc-6.8.3: fatal: relocation error: file /home/.../lib/libncurses.so.5: symbol main: referenced symbol not found (FYI, I got ncurses 5.6 from http://sunfreeware.com/programlistsparc10.html#ncurses.) Any suggestions would be welcome, thanks in advance. -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert

There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html We have Version 5.0.3. You may try (originally for SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R) from http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Cheers Christian Elliott Slaughter wrote:
Hi,
I am having trouble with precompiled binary http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-sparc-sun-solaris2.ta....
My first problem was that the machine is 64-bit SPARC while the binary seems to be 32-bit. Since the dynamically linked GHC binary requires additional .so files to run, any libs which I try to compile on the machine itself run into ELF class incompatibility errors. So I tried installing prebuilt packages from http://sunfreeware.com/, and spent a couple hours grokking the Solaris package system before I figured out how to extract the right files. Now I think I have the right libs installed, but when I try to run GHC, I get this:
-bash-3.00$ runhaskell Setup configure ld.so.1: ghc-6.8.3: fatal: relocation error: file /home/.../lib/libncurses.so.5: symbol main: referenced symbol not found
(FYI, I got ncurses 5.6 from http://sunfreeware.com/programlistsparc10.html#ncurses.)
Any suggestions would be welcome, thanks in advance.
-- Elliott Slaughter
"Any road followed precisely to its end leads precisely nowhere." - Frank Herbert
-- Elliott Slaughter
"Any road followed precisely to its end leads precisely nowhere." - Frank Herbert
------------------------------------------------------------------------
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Christian Maeder wrote:
There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html
We have Version 5.0.3.
You may try (originally for SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R) from http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets...
Or just build ncurses-5.6 with all the current patches. -- Yorick

On Tue, Sep 30, 2008 at 12:35 AM, Christian Maeder wrote: There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html We have Version 5.0.3. You may try (originally for
SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R) from http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Thanks.
Actually, could you (or do you know anyone who could) compile a binary of
darcs 2 for SPARC/Solaris? That's actually why I've been trying to install
GHC, because the only binary available on darcs.net is for version 1.
Thanks again.
--
Elliott Slaughter
"Any road followed precisely to its end leads precisely nowhere." - Frank
Herbert

On SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R I've created a darcs binary http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... without libcurl from the sources of darcs-2.1.0pre2 I haven't tested it much. So try if it works for you. Cheers Christian Elliott Slaughter wrote:
On Tue, Sep 30, 2008 at 12:35 AM, Christian Maeder
mailto:Christian.Maeder@dfki.de> wrote: There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html
We have Version 5.0.3. http://5.0.3.
You may try (originally for SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R) from http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets...
Thanks.
Actually, could you (or do you know anyone who could) compile a binary of darcs 2 for SPARC/Solaris? That's actually why I've been trying to install GHC, because the only binary available on darcs.net http://darcs.net is for version 1.
Thanks again.
-- Elliott Slaughter
"Any road followed precisely to its end leads precisely nowhere." - Frank Herbert

On Wed, Oct 1, 2008 at 10:14 AM, Christian Maeder
On SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R I've created a darcs binary
http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... without libcurl from the sources of darcs-2.1.0pre2
I haven't tested it much. So try if it works for you.
It works great, thanks! -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert
participants (3)
-
Christian Maeder
-
Elliott Slaughter
-
Poor Yorick