GHC on Salix

Other talk about Salix
Post Reply
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

GHC on Salix

Post by GJones »

Has anyone had any luck getting GHC installed on a Salix system? Last I tried, the Slackbuild failed and the binary distribution was built with an incompatible version of glibc... If any of you managed to get it working, how did you pull it off?
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: GHC on Salix

Post by thenktor »

What is GHC and why did it fail? Some more input please :P
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: GHC on Salix

Post by GJones »

Sorry, GHC = Glasgow Haskell Compiler. I'll see about getting the failure message again, gimme a little time. :P
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: GHC on Salix

Post by GJones »

It's the same message from the Slackbuild as from the binary distribution:

Code: Select all

checking for path to top of build tree... utils/ghc-pwd/dist/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
configure: error: cannot determine current directory
Current system version is libgmp.so.10.0.1. libgmp.so.3 is not available from any package in the repos.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: GHC on Salix

Post by mimosa »

GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: GHC on Salix

Post by GJones »

Umm, really not a good idea. Using symbolic links like that can lead to all manner of failures down the road.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: GHC on Salix

Post by mimosa »

It's ugly, but it works, and is only needed for the build. Then you can delete it. This is a problem with ghc itself. There's an earlier thread where someone (gapan I think) suggested this solution to me.
Post Reply