Re: [Haskell] Using hs-plugins with ghci

2005-02-12 Thread Donald Bruce Stewart
jgarciavivo:
 
 Hello everybody.
 
 I'm trying to use hs-plugins library with ghci and this is the result:
 
  ghci -package plugins
___ ___ _
   / _ \ /\  /\/ __(_)
  / /_\// /_/ / /  | |  GHC Interactive, version 6.2.1, for Haskell 98.
 / /_\\/ __  / /___| |  http://www.haskell.org/ghc/
 \/\/ /_/\/|_|  Type :? for help.
 
 Loading package base ... linking ... done.
 Loading package altdata ... linking ... done.
 Loading package haskell98 ... linking ... done.
 Loading package hi ... linking ... done.
 Loading package unix ... linking ... done.
 Loading package lang ... linking ... done.
 Loading package posix ... linking ... done.
 Loading package haskell-src ... linking ... done.
 Loading package plugins ... linking ... /usr/local/lib/hs-plugins/HSplugins.o:
 unknown symbol `addDLL'
 
 ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
 can't load package `plugins'

You need ghc-6.2.2.

Cheers,
  Don
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Using hs-plugins with ghci

2005-02-11 Thread Javier García-Vivó Albors

Hello everybody.

I'm trying to use hs-plugins library with ghci and this is the result:

 ghci -package plugins
   ___ ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |  GHC Interactive, version 6.2.1, for Haskell 98.
/ /_\\/ __  / /___| |  http://www.haskell.org/ghc/
\/\/ /_/\/|_|  Type :? for help.

Loading package base ... linking ... done.
Loading package altdata ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package hi ... linking ... done.
Loading package unix ... linking ... done.
Loading package lang ... linking ... done.
Loading package posix ... linking ... done.
Loading package haskell-src ... linking ... done.
Loading package plugins ... linking ... /usr/local/lib/hs-plugins/HSplugins.o:
unknown symbol `addDLL'

ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
can't load package `plugins'

Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.


Does anybody know how to fix it?? I'm getting crazy with this problem!!

Thanks a lot.



This message was sent using IMP, the Internet Messaging Program.

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] Using hs-plugins with ghci

2005-02-11 Thread Jules Bean
On 11 Feb 2005, at 14:31, Javier García-Vivó Albors wrote:
Does anybody know how to fix it?? I'm getting crazy with this problem!!

From section 8.1 of the hs-plugins manual:
It is also possible to load the plugins or eval libraries in GHC. A 
couple of recent patches to the linker have made this possible 
(available in ghc-6.2.2 or in the head branch)

...
So I guess you need 6.2.2...
Jules
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell