how to return ghc to Cabal-1.0

Serge D. Mechveliani mechvel at botik.ru
Mon Aug 8 08:42:25 EDT 2005


People,

Please, how to return GHC to Cabal-1.0 ?

I have installed   ghc-6.4.1.20050806-i386-unknown-linux
in my home.
Then I tried to upgrade Cabal in GHC to 1.1.1.
For this, I istalled  Cabal-1.1.1  to my home.

Then, there appeared a certain difficulty in building application.

But now I decide to stop these experiments 
(have not time now to struggle with complications) and to return to 
regular
              ghc-6.4.1  (with Cabal-1.0).

And cannot!

Then, I remove the installation directory and install   
ghc-6.4.1-pre binary  by new, starting from `configure'.  

Then  ghci -package Cabal

crashes, reporting something of  Cabal-1.1.1.

Then, I install Cabal-1.0, as tried earlier with 1.1.1
(change paths to point to home,
 make setup
 ./setup configure --prefix=/home...
 ./setup build
 ./setup install --user 
).
Then re-installed GHC.
And again,              ghci -package Cabal
reports

-------------------------------------------
              GHC Interactive, version 6.4.1.20050806, for Haskell 98.
...
Loading package base-1.0 ... linking ... done.
Loading package mtl-1.0 ... linking ... done.
Loading package lang-1.0 ... linking ... done.
Loading package QuickCheck-1.0 ... linking ... done.
Loading package readline-1.0 ... linking ... done.
Loading package unix-1.0 ... linking ... done.
Loading package posix-1.0 ... linking ... done.
Loading package util-1.0 ... linking ... done.
Loading package Cabal-1.1.1 ... ghc-6.4.1.20050806: 
can't load .so/.DLL for: HSCabal-1.1.1 
(libHSCabal-1.1.1.so: cannot open shared object file: 
No such file or directory)
------------------------------------------

This looks like a tragedy. Please, how to return to 1.0 ?

Regards,

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list