wavewave / hxournal

hxournal : A pen notetaking program written in haskell
http://ianwookim.org/hxournal
Other
12 stars 1 forks source link

install error 0.6.6 #5

Closed gregwebs closed 12 years ago

gregwebs commented 12 years ago

I am installing on ghc 7.0.4. 0.6.5 installed for me. On 0.6.6 I get:

[45 of 53] Compiling Application.HXournal.Coroutine.File ( lib/Application/HXournal/Coroutine/File.hs, dist/build/Application/HXournal/Coroutine/File.o )

lib/Application/HXournal/Coroutine/File.hs:130:37:
    No instance for (GCast
                       Graphics.Xournal.Render.BBoxMapPDF.TXournalBBoxMapPDFBuf Xournal)
      arising from a use of `gcast'
    Possible fix:
      add an instance declaration for
      (GCast
         Graphics.Xournal.Render.BBoxMapPDF.TXournalBBoxMapPDFBuf Xournal)
    In the expression: gcast xojmap
    In a case alternative: ViewAppendState xojmap -> gcast xojmap
    In the expression:
      case xojstate of {
        ViewAppendState xojmap -> gcast xojmap
        SelectState txoj -> gcast txoj }

lib/Application/HXournal/Coroutine/File.hs:131:31:
    No instance for (GCast
                       Graphics.Xournal.Render.BBoxMapPDF.TTempXournalSelectPDFBuf
                       Xournal)
      arising from a use of `gcast'
    Possible fix:
      add an instance declaration for
      (GCast
         Graphics.Xournal.Render.BBoxMapPDF.TTempXournalSelectPDFBuf
         Xournal)
    In the expression: gcast txoj
    In a case alternative: SelectState txoj -> gcast txoj
    In the expression:
      case xojstate of {
        ViewAppendState xojmap -> gcast xojmap
        SelectState txoj -> gcast txoj }
cabal: Error: some packages failed to install:
hxournal-0.6.6 failed during the building phase. The exception was:
ExitFailure 1
wavewave commented 12 years ago

sorry for a little late reply. I was travelling. I just uploaded xournal-render-0.6.0 which was needed for hxournal-0.6.6 and I forgot to upload on the hackage. Please try to install hxournal with xournal-render-0.6.0 and tell me the result.

gregwebs commented 12 years ago

cabal install hxournal xournal-render works for me. It would be best to put a new version of hxournal on hackage that has the proper xournal-render dependency.

wavewave commented 12 years ago

Thanks for the report!