Hello, On Sat, 14 Nov 2009, Jaco van Iterson wrote: > Only installation with 'cabal install yi' in a Cygwin shell under MS Windows > XP ended in: > Yi\Prelude.hs:182:9: > Duplicate instance declarations: > instance Category Accessor.T -- Defined at Yi\Prelude.hs:182:9-38 > instance Category Accessor.T > -- Defined in data-accessor-0.2.1:Data.Accessor.Private > cabal.exe: Error: some packages failed to install: > yi-0.6.1 failed during the building phase. The exception was: > exit: ExitFailure 1 > > Seems easy to fix but I can't even find where on my drive I can find the > source code. > > Where is the source?
You need to run 'cabal unpack yi' in a suitable directory. This will create a subdirectory containing the source. Enter that subdirectory, make the changes and then run 'cabal install' from that subdirectory. Regards, Kapil. -- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe