Hello,
I've been trying to install `pandoc-crossref` on my Fedora 26 system
using Cabal, but can't seem to do so. I've tried three different
machines and get the same error on all. Would someone with some Haskell
experience be able to help please?
Here's the error. I've also filed the upstream but they haven't been
able to help either. It may be a Fedora specific issue?
https://github.com/lierdakil/pandoc-crossref/issues/132
[asinha@ankur ~]$ cabal install pandoc-crossref
Resolving dependencies...
Configuring pandoc-crossref-0.2.6.0...
Building pandoc-crossref-0.2.6.0...
Failed to install pandoc-crossref-0.2.6.0
Build log ( /home/asinha/.cabal/logs/pandoc-crossref-0.2.6.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-25488/pandoc-crossref-0.2.6.0'
Configuring pandoc-crossref-0.2.6.0...
Building pandoc-crossref-0.2.6.0...
Preprocessing library pandoc-crossref-0.2.6.0...
[ 1 of 18] Compiling Text.Pandoc.CrossRef.Util.PandocOrphans (
lib/Text/Pandoc/CrossRef/Util/PandocOrphans.hs,
dist/build/Text/Pandoc/CrossRef/Util/PandocOrphans.o )
[ 2 of 18] Compiling Text.Pandoc.CrossRef.Util.Gap (
lib/Text/Pandoc/CrossRef/Util/Gap.hs, dist/build/Text/Pandoc/CrossRef/Util/Gap.o )
[ 3 of 18] Compiling Text.Pandoc.CrossRef.References.Types (
lib/Text/Pandoc/CrossRef/References/Types.hs,
dist/build/Text/Pandoc/CrossRef/References/Types.o )
[ 4 of 18] Compiling Text.Pandoc.CrossRef.Util.Util (
lib/Text/Pandoc/CrossRef/Util/Util.hs, dist/build/Text/Pandoc/CrossRef/Util/Util.o )
[ 5 of 18] Compiling Text.Pandoc.CrossRef.Util.Meta (
lib/Text/Pandoc/CrossRef/Util/Meta.hs, dist/build/Text/Pandoc/CrossRef/Util/Meta.o )
[ 6 of 18] Compiling Text.Pandoc.CrossRef.Util.CustomLabels (
lib/Text/Pandoc/CrossRef/Util/CustomLabels.hs,
dist/build/Text/Pandoc/CrossRef/Util/CustomLabels.o )
[ 7 of 18] Compiling Text.Pandoc.CrossRef.Util.Template (
lib/Text/Pandoc/CrossRef/Util/Template.hs, dist/build/Text/Pandoc/CrossRef/Util/Template.o
)
[ 8 of 18] Compiling Text.Pandoc.CrossRef.Util.Options (
lib/Text/Pandoc/CrossRef/Util/Options.hs, dist/build/Text/Pandoc/CrossRef/Util/Options.o
)
[ 9 of 18] Compiling Text.Pandoc.CrossRef.Util.CodeBlockCaptions (
lib/Text/Pandoc/CrossRef/Util/CodeBlockCaptions.hs,
dist/build/Text/Pandoc/CrossRef/Util/CodeBlockCaptions.o )
[10 of 18] Compiling Text.Pandoc.CrossRef.Util.Settings.Template (
lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs,
dist/build/Text/Pandoc/CrossRef/Util/Settings/Template.o )
[11 of 18] Compiling Text.Pandoc.CrossRef.Util.Settings.Gen (
lib/Text/Pandoc/CrossRef/Util/Settings/Gen.hs,
dist/build/Text/Pandoc/CrossRef/Util/Settings/Gen.o )
lib/Text/Pandoc/CrossRef/Util/Settings/Gen.hs:30:16: error:
• Pattern match failure in do expression at
lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs:52:5-15
• In the untyped splice: $(makeCon ''Options 'Options)
cabal: Leaving directory '/tmp/cabal-tmp-25488/pandoc-crossref-0.2.6.0'
cabal: Error: some packages failed to install:
pandoc-crossref-0.2.6.0 failed during the building phase. The exception was:
ExitFailure 1
--
Thanks,
Regards,
Ankur Sinha "FranciscoD"
http://fedoraproject.org/wiki/User:Ankursinha