[Haskell-cafe] library version problem
vigalchin at gmail.com
Thu Apr 10 22:36:13 EDT 2008
Before I got your email, I deregistered unix-220.127.116.11 which made my
unix-18.104.22.168 namespace changes visible. However, deregistering seems to made
other things worse, e.g. runhaskell Setup.hs configure gives an error
message "unknown parameter package: unix-22.214.171.124". Sigh .. how do I get back
to where i was in order to do a "hide"?
Kind regards, Vasili
On Thu, Apr 10, 2008 at 8:22 PM, Philip Weaver <philip.weaver at gmail.com>
> 2008/4/10 Galchin, Vasili <vigalchin at gmail.com>:
> > Hello,
> > I doing work using Linux. The wrong version (for me) of the unix
> > package seems to be visible. I see possibilities to use ghc-pkg to
> > the unix package that I don't want(126.96.36.199) but that seems dangerious.
> > Details are below . What should I do?
> If you don't want to use it, then it's safe to hide it:
> ghc-pkg hide unix-188.8.131.52
> You can always unhide it later.
> You can also tell ghc to use a specific version of a package:
> ghc -package unix-184.108.40.206
> Of course, you'll need to make sure unix-220.127.116.11 is registered with
> > Regards, vasili
> > When I do:
> > > ghci
> > :m System.Posix
> > I am getting the wrong version of the Unix package. I know this to be
> > because I did
> > ghc-pkg latest unix
> > and got unix-18.104.22.168
> > I want unix.22.214.171.124 because this version has changes that I made to the
> > package. libHSunix-126.96.36.199.a is installed under
> > /usr/local/lib/unix-188.8.131.52/ghc-6.8.2 I did a "nm -a
> > and found symbols that I added.
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe