GHC Mandrake problem

Pixel [email protected]
Fri, 24 Aug 2001 21:30:29 +0200 (CEST)


--=-=-=

Hampus Ram <[email protected]> writes:

> > Loading package std ... ghc-5.00.2: can't find .o or .so/.DLL for: m (lib.so: cannot open shared object file: No such file or directory)
> >
> > Can anyone tell me what's missing, or how to fix this??
> 
> A _very_ ugly "fix" for this problem is to make a symbolic link to
> libm.so and call it lib.so.

Maybe a nicer fix:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=ghc-5.00.2-no-libm.patch

--- ghc-5.00.2/ghc/driver/PackageSrc.hs.pix	Mon Apr 30 18:25:32 2001
+++ ghc-5.00.2/ghc/driver/PackageSrc.hs	Fri Aug 24 13:10:32 2001
@@ -127,7 +127,7 @@
 #                           ifdef mingw32_TARGET_OS
                             ["wsock32", "msvcrt"]
 #                           else
-                            ["m"]   -- libm, that is
+                            []   -- libm, that is
 #                           endif
                             ,
         include_dirs   = if installing

--=-=-=--