Having installed the haskell platform on a new Ubuntu install, I tried to install the music suite. However I see compile errors as follows:
> cabal install music-preludes
Resolving dependencies...
Configuring music-pitch-literal-1.6...
Building music-pitch-literal-1.6...
Preprocessing library music-pitch-literal-1.6...
[1 of 4] Compiling Data.Semigroup.Applicative ( src/Data/Semigroup/Applicative.hs, dist/build/Data/Semigroup/Applicative.o )
src/Data/Semigroup/Applicative.hs:8:10:
Duplicate instance declarations:
instance Functor First
-- Defined at src/Data/Semigroup/Applicative.hs:8:10
instance Functor First -- Defined in `Data.Semigroup'
src/Data/Semigroup/Applicative.hs:10:10:
Duplicate instance declarations:
instance Applicative First
-- Defined at src/Data/Semigroup/Applicative.hs:10:10
instance Applicative First -- Defined in `Data.Semigroup'
src/Data/Semigroup/Applicative.hs:14:10:
Duplicate instance declarations:
instance Functor Last
-- Defined at src/Data/Semigroup/Applicative.hs:14:10
instance Functor Last -- Defined in `Data.Semigroup'
src/Data/Semigroup/Applicative.hs:16:10:
Duplicate instance declarations:
instance Applicative Last
-- Defined at src/Data/Semigroup/Applicative.hs:16:10
instance Applicative Last -- Defined in `Data.Semigroup'
Failed to install music-pitch-literal-1.6
cabal: Error: some packages failed to install:
lilypond-1.6 depends on music-pitch-literal-1.6 which failed to install.
music-pitch-1.6 depends on music-pitch-literal-1.6 which failed to install.
music-pitch-literal-1.6 failed during the building phase. The exception was:
ExitFailure 1
music-preludes-1.6 depends on music-pitch-literal-1.6 which failed to install.
music-score-1.6 depends on music-pitch-literal-1.6 which failed to install.
musicxml2-1.6 depends on music-pitch-literal-1.6 which failed to install.
Running ghc-pkg list, I have the following entries related to either music or semigroup:
Having installed the haskell platform on a new Ubuntu install, I tried to install the music suite. However I see compile errors as follows:
Running ghc-pkg list, I have the following entries related to either music or semigroup: