Closed charles-paperman closed 7 years ago
Hi! I see. Would you please try installing from the code in PR #2? The branch is remove-data-function-dep
. Thanks!
Here the new error message, sorry for the delay
cha@cha-legros:~/pandoc-include-code$ cabal configure
Resolving dependencies...
Configuring pandoc-include-code-1.0.0.0...
cha@cha-legros:~/pandoc-include-code$ cabal install
Resolving dependencies...
Configuring pandoc-include-code-1.0.0.0...
Building pandoc-include-code-1.0.0.0...
Failed to install pandoc-include-code-1.0.0.0
Build log ( /home/cha/.cabal/logs/pandoc-include-code-1.0.0.0.log ):
Configuring pandoc-include-code-1.0.0.0...
Warning: 'license: MPL-2.0' is not a recognised license. The known licenses
are: GPL, GPL-2, GPL-3, LGPL, LGPL-2.1, LGPL-3, BSD3, MIT, Apache, Apache-2.0,
PublicDomain, AllRightsReserved, OtherLicense
Building pandoc-include-code-1.0.0.0...
Preprocessing library pandoc-include-code-1.0.0.0...
[1 of 1] Compiling Text.Pandoc.Filter.IncludeCode ( src/Text/Pandoc/Filter/IncludeCode.hs, dist/build/Text/Pandoc/Filter/IncludeCode.o )
src/Text/Pandoc/Filter/IncludeCode.hs:53:16:
Not in scope: type constructor or class `Applicative'
cabal: Error: some packages failed to install:
pandoc-include-code-1.0.0.0 failed during the building phase. The exception
was:
ExitFailure 1
cha@cha-legros:~/pandoc-include-code$
I was having the same problem as @charles-paperman and have the same problem he reported subsequently. I'm using OS X 10.11.6 with MacPorts 2.4.1.
@charles-paperman @jkulesza Do you mind posting the output of ghc -V
on your system? I think I have the fix, just making sure. Thanks, and sorry for the trouble!
OK, I have pushed the changes to the PR. Test with:
git clone -b remove-data-function-dep git@github.com:owickstrom/pandoc-include-code.git
cd pandoc-include-code
cabal install
Using your change with the branch cited, I was successful:
487 jkulesza@machinename[~/GIT/pandoc-include-code]> cabal install
Resolving dependencies...
Configuring pandoc-include-code-1.0.0.0...
Building pandoc-include-code-1.0.0.0...
Installed pandoc-include-code-1.0.0.0
However, for completeness:
500 jkulesza@machinename[~]> ghc -v
Glasgow Haskell Compiler, Version 7.8.3, stage 2 booted by GHC version 7.6.2
Using binary package database: /local/macports/lib/ghc-7.8.3/package.conf.d/package.cache
Using binary package database: /home/jkulesza/.ghc/x86_64-darwin-7.8.3/package.conf.d/package.cache
hiding package aeson-0.7.0.4 to avoid conflict with later version aeson-0.7.0.6
hiding package attoparsec-0.10.4.0 to avoid conflict with later version attoparsec-0.11.3.4
hiding package Cabal-1.18.1.3 to avoid conflict with later version Cabal-2.0.0.2
hiding package conduit-1.2.3.1 to avoid conflict with later version conduit-1.2.12
hiding package exceptions-0.6.1 to avoid conflict with later version exceptions-0.8.3
hiding package highlighting-kate-0.5.11.1 to avoid conflict with later version highlighting-kate-0.6.4
hiding package hslua-0.3.9 to avoid conflict with later version hslua-0.4.1
hiding package HTTP-4000.2.10 to avoid conflict with later version HTTP-4000.3.7
hiding package lifted-base-0.2.1.1 to avoid conflict with later version lifted-base-0.2.3.11
hiding package mmorph-1.0.0 to avoid conflict with later version mmorph-1.1.0
hiding package monad-control-0.3.2.2 to avoid conflict with later version monad-control-1.0.2.2
hiding package mtl-2.1.3.1 to avoid conflict with later version mtl-2.2.1
hiding package network-2.4.2.3 to avoid conflict with later version network-2.6.3.2
hiding package pandoc-1.12.4.2 to avoid conflict with later version pandoc-1.17.2
hiding package pandoc-types-1.12.4.1 to avoid conflict with later version pandoc-types-1.17.2
hiding package parsec-3.1.5 to avoid conflict with later version parsec-3.1.11
hiding package resourcet-1.1.3.3 to avoid conflict with later version resourcet-1.1.9
hiding package scientific-0.2.0.2 to avoid conflict with later version scientific-0.3.4.9
hiding package tagsoup-0.13.3 to avoid conflict with later version tagsoup-0.14.1
hiding package temporary-1.2.0.3 to avoid conflict with later version temporary-1.2.1.1
hiding package texmath-0.6.6.3 to avoid conflict with later version texmath-0.8.6.7
hiding package transformers-0.3.0.0 to avoid conflict with later version transformers-0.5.4.0
hiding package transformers-base-0.4.1 to avoid conflict with later version transformers-base-0.4.4
hiding package yaml-0.8.10.1 to avoid conflict with later version yaml-0.8.23.3
hiding package zip-archive-0.1.4 to avoid conflict with later version zip-archive-0.3.1.1
hiding package pandoc-types-1.16.1.1 to avoid conflict with later version pandoc-types-1.17.2
wired-in package ghc-prim mapped to ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c
wired-in package integer-gmp mapped to integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4
wired-in package base mapped to base-4.7.0.1-c64d224738ec7af4085e89ca9c12c37b
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.9.0.0-310613e57f38a482326cc4ba2989009e
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags:
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
ghc: no input files
Usage: For basic information, try the `--help' option.
Hehe, verbose indeed! OK, I'll merge the PR and release a new version of pandoc-include-code. Thank you, both!
Hi,
I failed do install from the source. After doing a git clone of this I get the following.