Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
On Tuesday 25 October 2011, 22:32:23, Captain Freako wrote: > dbanas@dbanas-eeepc:~$ cabal install base > > and got this: > > Resolving dependencies... > cabal: internal error: impossible > > Is it really impossible to use cabal to reinstall `base'? Fortunately, yes. Reinstalling base is impossible (at least with GHC, might be possible with other compilers), so it's good that cabal doesn't even try. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
Thanks, Daniel. So, do you have any advice for me, with regard to solving this issue: Implicit import declaration: Could not find module `Prelude': Perhaps you haven't installed the "dyn" libraries for package `base'? ? That is, how do I get the dynamic versions of the `base' package libraries installed, if not via a `cabal install'? Thanks, -db On Tue, Oct 25, 2011 at 1:45 PM, Daniel Fischer wrote: > On Tuesday 25 October 2011, 22:32:23, Captain Freako wrote: >> dbanas@dbanas-eeepc:~$ cabal install base >> >> and got this: >> >> Resolving dependencies... >> cabal: internal error: impossible >> >> Is it really impossible to use cabal to reinstall `base'? > > Fortunately, yes. Reinstalling base is impossible (at least with GHC, might > be possible with other compilers), so it's good that cabal doesn't even > try. > ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
On Wednesday 26 October 2011, 02:00:49, Captain Freako wrote: > So, do you have any advice for me, with regard to solving this issue: > > Implicit import declaration: >Could not find module `Prelude': > Perhaps you haven't installed the "dyn" libraries for package > `base'? > > ? > > That is, how do I get the dynamic versions of the `base' package > libraries installed, if not via a `cabal install'? How did you get your ghc? If from your distro's package manager, you should be able to get the dyn- libs from that too. If downloaded from the ghc page or built from source, well, then they should already be there, if they aren't, something went wrong. Other methods? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
On 26 October 2011 11:15, Daniel Fischer wrote: > On Wednesday 26 October 2011, 02:00:49, Captain Freako wrote: >> So, do you have any advice for me, with regard to solving this issue: >> >> Implicit import declaration: >> Could not find module `Prelude': >> Perhaps you haven't installed the "dyn" libraries for package >> `base'? >> >> ? >> >> That is, how do I get the dynamic versions of the `base' package >> libraries installed, if not via a `cabal install'? > > How did you get your ghc? > If from your distro's package manager, you should be able to get the dyn- > libs from that too. Unless you distro hasn't built GHC with dynamic library support. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
Hi, Am Mittwoch, den 26.10.2011, 13:10 +1100 schrieb Ivan Lazar Miljenovic: > > How did you get your ghc? > > If from your distro's package manager, you should be able to get the dyn- > > libs from that too. > > Unless you distro hasn't built GHC with dynamic library support. Debian (and in extension, Ubuntu) builds a ghc-dynamic package (http://packages.debian.org/sid/ghc-dynamic) on i386 and amd64, but does not build -dyn variants of the packaged libraries. So you base and everything that comes with ghc is covered, everything else (including stuff like mtl) is not. Greetings, Joachim -- Joachim "nomeata" Breitner m...@joachim-breitner.de | nome...@debian.org | GPG: 0x4743206C xmpp: nome...@joachim-breitner.de | http://www.joachim-breitner.de/ signature.asc Description: This is a digitally signed message part ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
On Wednesday 26 October 2011, 22:58:46, Joachim Breitner wrote: > Hi, > > Am Mittwoch, den 26.10.2011, 13:10 +1100 schrieb Ivan Lazar Miljenovic: > > > How did you get your ghc? > > > If from your distro's package manager, you should be able to get the > > > dyn- libs from that too. > > > > Unless you distro hasn't built GHC with dynamic library support. > > Debian (and in extension, Ubuntu) builds a ghc-dynamic package > (http://packages.debian.org/sid/ghc-dynamic) on i386 and amd64, but does > not build -dyn variants of the packaged libraries. So you base and > everything that comes with ghc is covered, everything else (including > stuff like mtl) is not. But everything that doesn't come with ghc *can* be reinstalled (though one has to be careful, and it may be inconvenient), so you provide a good starting point. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?
Thanks, Daniel. That was it. On Tue, Oct 25, 2011 at 5:15 PM, Daniel Fischer wrote: > On Wednesday 26 October 2011, 02:00:49, Captain Freako wrote: >> So, do you have any advice for me, with regard to solving this issue: >> >> Implicit import declaration: >> Could not find module `Prelude': >> Perhaps you haven't installed the "dyn" libraries for package >> `base'? >> >> ? >> >> That is, how do I get the dynamic versions of the `base' package >> libraries installed, if not via a `cabal install'? > > How did you get your ghc? > If from your distro's package manager, you should be able to get the dyn- > libs from that too. > If downloaded from the ghc page or built from source, well, then they > should already be there, if they aren't, something went wrong. > Other methods? > ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe