Paul Johnson | 19 Feb 23:39 2007
Picon

cabal-upload build problem

I want to upload a package to Hackage.  I tried installing cabal-upload, 
but got the following error:

! Preprocessing executables for cabal-upload-0.2...
! Building cabal-upload-0.2...
!
! src/CabalUpload.hs:7:7:
!    Could not find module `Distribution.Compat.FilePath':
!    it is hidden (in package Cabal-1.1.6)

I tried "ghc-pkg expose Cabal-1.1.6" without success.

I have ghc-6.6 installed on Linux (Fedora Core 6), including Cabal-1.1.6.

(BTW I know I will also need a user id and password.  That was going to 
be my next step).

Paul.
Duncan Coutts | 19 Feb 23:57 2007
Picon
Picon

Re: cabal-upload build problem

On Mon, 2007-02-19 at 22:39 +0000, Paul Johnson wrote:
> I want to upload a package to Hackage.  I tried installing cabal-upload, 
> but got the following error:
> 
> ! Preprocessing executables for cabal-upload-0.2...
> ! Building cabal-upload-0.2...
> !
> ! src/CabalUpload.hs:7:7:
> !    Could not find module `Distribution.Compat.FilePath':
> !    it is hidden (in package Cabal-1.1.6)
> 
> 
> I tried "ghc-pkg expose Cabal-1.1.6" without success.
> 
> I have ghc-6.6 installed on Linux (Fedora Core 6), including Cabal-1.1.6.

It was a mistake that that module was hidden in the version of Cabal
that shipped with ghc-6.6. If you install Cabal-1.1.6.1 or the current
darcs version 1.1.7 that should fix it.

BTW, make sure you don't unregister the Cabal 1.1.6 version you've
already got though because you have packages installed that depend on
that version. It's perfectly ok to have multiple versions installed at
once though.

Duncan
Kirsten Chevalier | 19 Feb 23:42 2007
Picon

Re: [Haskell] cabal-upload build problem

You might try asking this on GHC-users instead, rather than haskell, since it's a GHC-specific question. I took the liberty of CCing this there.

Cheers,
Kirsten

On 2/19/07, Paul Johnson <paul <at> cogito.org.uk> wrote:
I want to upload a package to Hackage.  I tried installing cabal-upload,
but got the following error:

! Preprocessing executables for cabal-upload-0.2...
! Building cabal-upload-0.2...
!
! src/CabalUpload.hs:7:7:
!    Could not find module `Distribution.Compat.FilePath':
!    it is hidden (in package Cabal-1.1.6)


I tried "ghc-pkg expose Cabal-1.1.6" without success.

I have ghc-6.6 installed on Linux (Fedora Core 6), including Cabal-1.1.6.

(BTW I know I will also need a user id and password.  That was going to
be my next step).

Paul.
_______________________________________________
Haskell mailing list
Haskell <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell



--
Kirsten Chevalier* chevalier <at> alum.wellesley.edu *Often in error, never in doubt
"Dare to be naive."--R. Buckminster Fuller
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users <at> haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Gmane