Dear All,
I am trying to install hxournal in xubuntu 12.04 with using synaptic
as much as possible. I use system ghc 7.4.1.
I try installing hxournal via
cabal install hxournal.
I am pretty inexperienced in this kind of thing, but I really want to
hxournal.
I also don't know the proper etiquette for asking questions here,
please bare with me.
Here is what happens when I try to install:
aker@ubuntu:~/Desktop$ cabal install hxournal -v
Reading available packages...
Choosing modular solver.
Resolving dependencies...
In order, the following will be installed:
QuickCheck-2.4.2 (reinstall) changes: template-haskell-2.7.0.0 ->
2.6.0.0
cmdargs-0.9.5 (new package)
fclabels-1.0.4 (new package)
incremental-parser-0.2 (new package)
iteratee-compress-0.2.1.0 (new package)
monad-coroutine-0.7.1 (new package)
poppler-0.12.2 (new package)
xournal-types-0.4 (new package)
xournal-builder-0.1.1 (new package)
xournal-parser-0.4.1 (new package)
xournal-render-0.6.0 (new package)
hxournal-0.6.6 (new package)
Warning: Note that reinstalls are always dangerous. Continuing
anyway...
Extracting
/home/aker/.cabal/packages/
hackage.haskell.org/QuickCheck/2.4.2/
QuickCheck-2.4.2.tar.gz
to /tmp/QuickCheck-2.4.2-2968...
Configuring QuickCheck-2.4.2...
Flags chosen: templatehaskell=True, base4=True, base3=True
Dependency base ==
4.5.0.0: using base-4.5.0.0
Dependency extensible-exceptions ==
0.1.1.4: using
extensible-exceptions-0.1.1.4
Dependency random ==
1.0.1.1: using random-1.0.1.1
Dependency template-haskell ==
2.6.0.0: using template-haskell-2.6.0.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix: /home/aker/.cabal
Binaries installed in: /home/aker/.cabal/bin
Libraries installed in: /home/aker/.cabal/lib/QuickCheck-2.4.2/
ghc-7.4.1
Private binaries installed in: /home/aker/.cabal/libexec
Data files installed in: /home/aker/.cabal/share/QuickCheck-2.4.2
Documentation installed in: /home/aker/.cabal/share/doc/
QuickCheck-2.4.2
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
Using ffihugs found on system at: /usr/bin/ffihugs
Using gcc version 4.6 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
Using hmake version 3.14 found on system at: /usr/bin/hmake
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
Using hugs found on system at: /usr/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
creating dist/build
creating dist/build/autogen
Building QuickCheck-2.4.2...
Preprocessing library QuickCheck-2.4.2...
Building library...
creating dist/build
/usr/bin/ghc --make -package-name QuickCheck-2.4.2 -hide-all-packages -
fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -
Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/
cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -
package-id base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702 -package-id
extensible-exceptions-0.1.1.4-d27a1ac47e54880cae007cceceb41580 -
package-id random-1.0.1.1-bc6e16642c3d519ab6ddb7ad1c347d93 -package-id
template-haskell-2.6.0.0-a17461c15061000e1d4db73c28e478a8 -O -
XHaskell98 Test.QuickCheck.All Test.QuickCheck.Function
Test.QuickCheck Test.QuickCheck.Arbitrary Test.QuickCheck.Gen
Test.QuickCheck.Monadic Test.QuickCheck.Modifiers
Test.QuickCheck.Property Test.QuickCheck.Test Test.QuickCheck.Text
Test.QuickCheck.Poly Test.QuickCheck.State Test.QuickCheck.Exception
Test/QuickCheck/Arbitrary.hs:63:8:
Could not find module `System.Random'
There are files missing in the `random-1.0.1.1' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
Extracting
/home/aker/.cabal/packages/
hackage.haskell.org/cmdargs/0.9.5/
cmdargs-0.9.5.tar.gz
to /tmp/cmdargs-0.9.5-2968...
Configuring cmdargs-0.9.5...
Flags chosen: quotation=True, testprog=True
Dependency base ==
4.5.0.0: using base-4.5.0.0
Dependency filepath ==
1.3.0.0: using filepath-1.3.0.0
Dependency process ==
1.1.0.1: using process-1.1.0.1
Dependency template-haskell ==
2.6.0.0: using template-haskell-2.6.0.0
Dependency transformers ==
0.2.2.0: using transformers-0.2.2.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix: /home/aker/.cabal
Binaries installed in: /home/aker/.cabal/bin
Libraries installed in: /home/aker/.cabal/lib/cmdargs-0.9.5/ghc-7.4.1
Private binaries installed in: /home/aker/.cabal/libexec
Data files installed in: /home/aker/.cabal/share/cmdargs-0.9.5
Documentation installed in: /home/aker/.cabal/share/doc/cmdargs-0.9.5
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
Using ffihugs found on system at: /usr/bin/ffihugs
Using gcc version 4.6 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
Using hmake version 3.14 found on system at: /usr/bin/hmake
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
Using hugs found on system at: /usr/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
creating dist/build
creating dist/build/autogen
Building cmdargs-0.9.5...
Preprocessing library cmdargs-0.9.5...
Building library...
creating dist/build
/usr/bin/ghc --make -package-name cmdargs-0.9.5 -hide-all-packages -
fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -
Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/
cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -
package-id base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702 -package-id
filepath-1.3.0.0-973f5e9fbed93e25cbe66dfeb6b99ad9 -package-id
process-1.1.0.1-18dadd8ad5fc640f55a7afdc7aace500 -package-id template-
haskell-2.6.0.0-a17461c15061000e1d4db73c28e478a8 -package-id
transformers-0.2.2.0-367ec8196a45fab9903c082ddf1e964e -O -XHaskell98 -
XTemplateHaskell System.Console.CmdArgs.Quote System.Console.CmdArgs
System.Console.CmdArgs.Annotate System.Console.CmdArgs.Default
System.Console.CmdArgs.Explicit System.Console.CmdArgs.GetOpt
System.Console.CmdArgs.Implicit System.Console.CmdArgs.Text
System.Console.CmdArgs.Helper System.Console.CmdArgs.Verbosity
Data.Generics.Any Data.Generics.Any.Prelude
System.Console.CmdArgs.Explicit.Complete
System.Console.CmdArgs.Explicit.ExpandArgsAt
System.Console.CmdArgs.Explicit.Help
System.Console.CmdArgs.Explicit.Process
System.Console.CmdArgs.Explicit.SplitJoin
System.Console.CmdArgs.Explicit.Type
System.Console.CmdArgs.Implicit.Ann
System.Console.CmdArgs.Implicit.Global
System.Console.CmdArgs.Implicit.Local
System.Console.CmdArgs.Implicit.Reader
System.Console.CmdArgs.Implicit.Reform
System.Console.CmdArgs.Implicit.Type
System.Console.CmdArgs.Implicit.UI
[ 1 of 25] Compiling System.Console.CmdArgs.Implicit.Ann ( System/
Console/CmdArgs/Implicit/Ann.hs, dist/build/System/Console/CmdArgs/
Implicit/Ann.o )
[ 2 of 25] Compiling System.Console.CmdArgs.Implicit.UI ( System/
Console/CmdArgs/Implicit/UI.hs, dist/build/System/Console/CmdArgs/
Implicit/UI.o )
[ 3 of 25] Compiling System.Console.CmdArgs.Verbosity ( System/Console/
CmdArgs/Verbosity.hs, dist/build/System/Console/CmdArgs/Verbosity.o )
[ 4 of 25] Compiling System.Console.CmdArgs.Implicit.Type ( System/
Console/CmdArgs/Implicit/Type.hs, dist/build/System/Console/CmdArgs/
Implicit/Type.o )
[ 5 of 25] Compiling System.Console.CmdArgs.Explicit.SplitJoin
( System/Console/CmdArgs/Explicit/SplitJoin.hs, dist/build/System/
Console/CmdArgs/Explicit/SplitJoin.o )
[ 6 of 25] Compiling System.Console.CmdArgs.Explicit.ExpandArgsAt
( System/Console/CmdArgs/Explicit/ExpandArgsAt.hs, dist/build/System/
Console/CmdArgs/Explicit/ExpandArgsAt.o )
[ 7 of 25] Compiling System.Console.CmdArgs.Explicit.Type ( System/
Console/CmdArgs/Explicit/Type.hs, dist/build/System/Console/CmdArgs/
Explicit/Type.o )
[ 8 of 25] Compiling System.Console.CmdArgs.Explicit.Process ( System/
Console/CmdArgs/Explicit/Process.hs, dist/build/System/Console/CmdArgs/
Explicit/Process.o )
[ 9 of 25] Compiling System.Console.CmdArgs.Explicit.Complete ( System/
Console/CmdArgs/Explicit/Complete.hs, dist/build/System/Console/
CmdArgs/Explicit/Complete.o )
[10 of 25] Compiling System.Console.CmdArgs.Helper ( System/Console/
CmdArgs/Helper.hs, dist/build/System/Console/CmdArgs/Helper.o )
[11 of 25] Compiling System.Console.CmdArgs.Default ( System/Console/
CmdArgs/Default.hs, dist/build/System/Console/CmdArgs/Default.o )
[12 of 25] Compiling System.Console.CmdArgs.Text ( System/Console/
CmdArgs/Text.hs, dist/build/System/Console/CmdArgs/Text.o )
[13 of 25] Compiling System.Console.CmdArgs.Explicit.Help ( System/
Console/CmdArgs/Explicit/Help.hs, dist/build/System/Console/CmdArgs/
Explicit/Help.o )
[14 of 25] Compiling System.Console.CmdArgs.Explicit ( System/Console/
CmdArgs/Explicit.hs, dist/build/System/Console/CmdArgs/Explicit.o )
[15 of 25] Compiling System.Console.CmdArgs.GetOpt ( System/Console/
CmdArgs/GetOpt.hs, dist/build/System/Console/CmdArgs/GetOpt.o )
[16 of 25] Compiling Data.Generics.Any ( Data/Generics/Any.hs, dist/
build/Data/Generics/Any.o )
Data/Generics/Any.hs:7:1:
Warning: In the use of `tyConString'
(imported from Data.Data, but defined in
Data.Typeable.Internal):
Deprecated: "renamed to tyConName; tyConModule and
tyConPackage are also available."
[17 of 25] Compiling Data.Generics.Any.Prelude ( Data/Generics/Any/
Prelude.hs, dist/build/Data/Generics/Any/Prelude.o )
[18 of 25] Compiling System.Console.CmdArgs.Implicit.Reader ( System/
Console/CmdArgs/Implicit/Reader.hs, dist/build/System/Console/CmdArgs/
Implicit/Reader.o )
[19 of 25] Compiling System.Console.CmdArgs.Annotate ( System/Console/
CmdArgs/Annotate.hs, dist/build/System/Console/CmdArgs/Annotate.o )
[20 of 25] Compiling System.Console.CmdArgs.Implicit.Local ( System/
Console/CmdArgs/Implicit/Local.hs, dist/build/System/Console/CmdArgs/
Implicit/Local.o )
[21 of 25] Compiling System.Console.CmdArgs.Implicit.Reform ( System/
Console/CmdArgs/Implicit/Reform.hs, dist/build/System/Console/CmdArgs/
Implicit/Reform.o )
[22 of 25] Compiling System.Console.CmdArgs.Implicit.Global ( System/
Console/CmdArgs/Implicit/Global.hs, dist/build/System/Console/CmdArgs/
Implicit/Global.o )
[23 of 25] Compiling System.Console.CmdArgs.Implicit ( System/Console/
CmdArgs/Implicit.hs, dist/build/System/Console/CmdArgs/Implicit.o )
[24 of 25] Compiling System.Console.CmdArgs ( System/Console/
CmdArgs.hs, dist/build/System/Console/CmdArgs.o )
[25 of 25] Compiling System.Console.CmdArgs.Quote ( System/Console/
CmdArgs/Quote.hs, dist/build/System/Console/CmdArgs/Quote.o )
System/Console/CmdArgs/Quote.hs:61:1:
Bad interface file: /home/aker/.cabal/lib/template-haskell-2.6.0.0/
ghc-7.4.1/Language/Haskell/TH.hi
Something is amiss; requested module template-
haskell-2.6.0.0:
Language.Haskell.TH differs from name found in the
interface file template-haskell:
Language.Haskell.TH
Extracting
/home/aker/.cabal/packages/
hackage.haskell.org/fclabels/1.0.4/
fclabels-1.0.4.tar.gz
to /tmp/fclabels-1.0.4-2968...
Configuring fclabels-1.0.4...
Dependency base ==
4.5.0.0: using base-4.5.0.0
Dependency mtl ==
2.0.1.0: using mtl-2.0.1.0
Dependency template-haskell ==
2.6.0.0: using template-haskell-2.6.0.0
Dependency transformers ==
0.2.2.0: using transformers-0.2.2.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix: /home/aker/.cabal
Binaries installed in: /home/aker/.cabal/bin
Libraries installed in: /home/aker/.cabal/lib/fclabels-1.0.4/ghc-7.4.1
Private binaries installed in: /home/aker/.cabal/libexec
Data files installed in: /home/aker/.cabal/share/fclabels-1.0.4
Documentation installed in: /home/aker/.cabal/share/doc/fclabels-1.0.4
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
Using ffihugs found on system at: /usr/bin/ffihugs
Using gcc version 4.6 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
Using hmake version 3.14 found on system at: /usr/bin/hmake
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
Using hugs found on system at: /usr/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
creating dist/build
creating dist/build/autogen
Building fclabels-1.0.4...
Preprocessing library fclabels-1.0.4...
Building library...
creating dist/build
/usr/bin/ghc --make -package-name fclabels-1.0.4 -hide-all-packages -
fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen -
Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/
cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -
package-id base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702 -package-id
mtl-2.0.1.0-db19dd8a7700e3d3adda8aa8fe5bf53d -package-id template-
haskell-2.6.0.0-a17461c15061000e1d4db73c28e478a8 -package-id
transformers-0.2.2.0-367ec8196a45fab9903c082ddf1e964e -O -Wall -
XHaskell98 Data.Label Data.Label.Abstract Data.Label.Maybe
Data.Label.MaybeM Data.Label.Pure Data.Label.PureM Data.Label.Derive
[1 of 7] Compiling Data.Label.Abstract ( src/Data/Label/Abstract.hs,
dist/build/Data/Label/Abstract.o )
[2 of 7] Compiling Data.Label.Pure ( src/Data/Label/Pure.hs, dist/
build/Data/Label/Pure.o )
[3 of 7] Compiling Data.Label.PureM ( src/Data/Label/PureM.hs, dist/
build/Data/Label/PureM.o )
[4 of 7] Compiling Data.Label.Maybe ( src/Data/Label/Maybe.hs, dist/
build/Data/Label/Maybe.o )
[5 of 7] Compiling Data.Label.Derive ( src/Data/Label/Derive.hs, dist/
build/Data/Label/Derive.o )
src/Data/Label/Derive.hs:26:1:
Bad interface file: /home/aker/.cabal/lib/template-haskell-2.6.0.0/
ghc-7.4.1/Language/Haskell/TH.hi
Something is amiss; requested module template-
haskell-2.6.0.0:
Language.Haskell.TH differs from name found in the
interface file template-haskell:
Language.Haskell.TH
Extracting
/home/aker/.cabal/packages/
hackage.haskell.org/iteratee-compress/
0.2.1.0/iteratee-compress-0.2.1.0.tar.gz
to /tmp/iteratee-compress-0.2.1.0-2968...
Configuring iteratee-compress-0.2.1.0...
Flags chosen: debug=True
Dependency base ==
4.5.0.0: using base-4.5.0.0
Dependency bytestring ==
0.9.2.1: using bytestring-0.9.2.1
Dependency iteratee ==
0.8.8.2: using iteratee-0.8.8.2
Dependency mtl ==
2.0.1.0: using mtl-2.0.1.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix: /home/aker/.cabal
Binaries installed in: /home/aker/.cabal/bin
Libraries installed in:
/home/aker/.cabal/lib/iteratee-compress-0.2.1.0/ghc-7.4.1
Private binaries installed in: /home/aker/.cabal/libexec
Data files installed in: /home/aker/.cabal/share/iteratee-
compress-0.2.1.0
Documentation installed in:
/home/aker/.cabal/share/doc/iteratee-compress-0.2.1.0
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
Using ffihugs found on system at: /usr/bin/ffihugs
Using gcc version 4.6 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
Using hmake version 3.14 found on system at: /usr/bin/hmake
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
Using hugs found on system at: /usr/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
cabal: Missing dependency on a foreign library:
* Missing C library: bz2
This problem can usually be solved by installing the system package
that
provides this library (you may need the "-dev" version). If the
library is
already installed but in a non-standard location then you can use the
flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
Extracting
/home/aker/.cabal/packages/
hackage.haskell.org/poppler/0.12.2/
poppler-0.12.2.tar.gz
to /tmp/poppler-0.12.2-2968...
creating /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup
creating /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist
creating /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup
/usr/bin/ghc --make /tmp/poppler-0.12.2-2968/poppler-0.12.2/Setup.hs -
o /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup/setup -odir /tmp/
poppler-0.12.2-2968/poppler-0.12.2/dist/setup -hidir /tmp/
poppler-0.12.2-2968/poppler-0.12.2/dist/setup -i -i/tmp/
poppler-0.12.2-2968/poppler-0.12.2 -package Cabal-1.14.0
/tmp/poppler-0.12.2-2968/poppler-0.12.2/Gtk2HsSetup.hs:25:2:
warning: #warning Setup.hs is guessing the version of Cabal. If
compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal
version 1.x.0 when building (prefixed by --ghc-option= when using the
'cabal' command) [-Wcpp]
[1 of 2] Compiling Gtk2HsSetup ( /tmp/poppler-0.12.2-2968/
poppler-0.12.2/Gtk2HsSetup.hs, /tmp/poppler-0.12.2-2968/poppler-0.12.2/
dist/setup/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( /tmp/poppler-0.12.2-2968/
poppler-0.12.2/Setup.hs, /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/
setup/Main.o )
Linking /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup/setup ...
/tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup/setup configure --
verbose=2
--ghc --prefix=/home/aker/.cabal --user --constraint=mtl ==2.0.1.0
--constraint=haskell98 ==2.0.0.1 --constraint=gtk ==0.12.3 --
constraint=glib
==0.12.3 --constraint=containers ==0.4.2.1 --constraint=cairo ==0.12.3
--constraint=bytestring ==0.9.2.1 --constraint=base ==4.5.0.0
--constraint=array ==0.4.0.0 --disable-tests --disable-benchmarks
Configuring poppler-0.12.2...
Dependency array ==
0.4.0.0: using array-0.4.0.0
Dependency base ==
4.5.0.0: using base-4.5.0.0
Dependency bytestring ==
0.9.2.1: using bytestring-0.9.2.1
Dependency cairo ==0.12.3: using cairo-0.12.3
Dependency containers ==
0.4.2.1: using containers-0.4.2.1
Dependency glib ==0.12.3: using glib-0.12.3
Dependency gtk ==0.12.3: using gtk-0.12.3
Dependency haskell98 ==
2.0.0.1: using haskell98-2.0.0.1
Dependency mtl ==
2.0.1.0: using mtl-2.0.1.0
Dependency poppler-glib >=0.12.4: using version 0.18.4
Dependency gobject-2.0 -any: using version 2.32.1
Dependency glib-2.0 -any: using version 2.32.1
Dependency cairo >=1.2.0: using version 1.10.2
Dependency gdk-2.0 -any: using version 2.24.10
Dependency gdk-pixbuf-2.0 -any: using version 2.26.1
Dependency pango -any: using version 1.30.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix: /home/aker/.cabal
Binaries installed in: /home/aker/.cabal/bin
Libraries installed in: /home/aker/.cabal/lib/poppler-0.12.2/ghc-7.4.1
Private binaries installed in: /home/aker/.cabal/libexec
Data files installed in: /home/aker/.cabal/share/poppler-0.12.2
Documentation installed in: /home/aker/.cabal/share/doc/poppler-0.12.2
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
Using ffihugs found on system at: /usr/bin/ffihugs
Using gcc version 4.6 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using gtk2hsC2hs found on system at: /usr/bin/gtk2hsC2hs
Using gtk2hsHookGenerator found on system at: /usr/bin/
gtk2hsHookGenerator
Using gtk2hsTypeGen found on system at: /usr/bin/gtk2hsTypeGen
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.9 found on system at: /usr/bin/happy
Using hmake version 3.14 found on system at: /usr/bin/hmake
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
Using hugs found on system at: /usr/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
/usr/bin/pkg-config --modversion poppler-glib
/usr/bin/pkg-config --modversion gobject-2.0
/usr/bin/pkg-config --modversion glib-2.0
/usr/bin/pkg-config --modversion cairo
/usr/bin/pkg-config --modversion gdk-2.0
/usr/bin/pkg-config --modversion gdk-pixbuf-2.0
/usr/bin/pkg-config --modversion pango
Ensuring that class hierarchy in Graphics/UI/Gtk/Poppler/Types.chs is
up-to-date.
/usr/bin/gtk2hsTypeGen --modname=Graphics.UI.Gtk.Poppler.Types --
import=System.Glib.GObject --lib=poppler --prefix=poppler --
tag=poppler --hierarchy=hierarchy.list --tag=popplerglib --
tag=popplerglib-0.0 --tag=popplerglib-0.2 --tag=popplerglib-0.4 --
tag=popplerglib-0.6 --tag=popplerglib-0.8 --tag=popplerglib-0.10 --
tag=popplerglib-0.12 --tag=popplerglib-0.14 --tag=popplerglib-0.16 --
tag=popplerglib-0.18 --tag=gobject --tag=gobject-2.0 --tag=gobject-2.2
--tag=gobject-2.4 --tag=gobject-2.6 --tag=gobject-2.8 --
tag=gobject-2.10 --tag=gobject-2.12 --tag=gobject-2.14 --
tag=gobject-2.16 --tag=gobject-2.18 --tag=gobject-2.20 --
tag=gobject-2.22 --tag=gobject-2.24 --tag=gobject-2.26 --
tag=gobject-2.28 --tag=gobject-2.30 --tag=gobject-2.32 --tag=glib --
tag=glib-2.0 --tag=glib-2.2 --tag=glib-2.4 --tag=glib-2.6 --
tag=glib-2.8 --tag=glib-2.10 --tag=glib-2.12 --tag=glib-2.14 --
tag=glib-2.16 --tag=glib-2.18 --tag=glib-2.20 --tag=glib-2.22 --
tag=glib-2.24 --tag=glib-2.26 --tag=glib-2.28 --tag=glib-2.30 --
tag=glib-2.32 --tag=cairo --tag=cairo-1.0 --tag=cairo-1.2 --
tag=cairo-1.4 --tag=cairo-1.6 --tag=cairo-1.8 --tag=cairo-1.10 --
tag=gdk --tag=gdk-2.0 --tag=gdk-2.2 --tag=gdk-2.4 --tag=gdk-2.6 --
tag=gdk-2.8 --tag=gdk-2.10 --tag=gdk-2.12 --tag=gdk-2.14 --
tag=gdk-2.16 --tag=gdk-2.18 --tag=gdk-2.20 --tag=gdk-2.22 --
tag=gdk-2.24 --tag=gdkpixbuf --tag=gdkpixbuf-2.0 --tag=gdkpixbuf-2.2 --
tag=gdkpixbuf-2.4 --tag=gdkpixbuf-2.6 --tag=gdkpixbuf-2.8 --
tag=gdkpixbuf-2.10 --tag=gdkpixbuf-2.12 --tag=gdkpixbuf-2.14 --
tag=gdkpixbuf-2.16 --tag=gdkpixbuf-2.18 --tag=gdkpixbuf-2.20 --
tag=gdkpixbuf-2.22 --tag=gdkpixbuf-2.24 --tag=gdkpixbuf-2.26 --
tag=pango --tag=pango-1.0 --tag=pango-1.2 --tag=pango-1.4 --
tag=pango-1.6 --tag=pango-1.8 --tag=pango-1.10 --tag=pango-1.12 --
tag=pango-1.14 --tag=pango-1.16 --tag=pango-1.18 --tag=pango-1.20 --
tag=pango-1.22 --tag=pango-1.24 --tag=pango-1.26 --tag=pango-1.28 --
tag=pango-1.30
creating /tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup
/tmp/poppler-0.12.2-2968/poppler-0.12.2/dist/setup/setup build --
verbose=2
creating dist/build
creating dist/build/autogen
Building poppler-0.12.2...
Preprocessing library poppler-0.12.2...
creating dist/build/Graphics/UI/Gtk/Poppler
creating dist/build/Graphics/UI/Gtk
creating dist/build/Graphics/UI
creating dist/build/Graphics
creating dist/build/Graphics/UI
creating dist/build/Graphics/UI/Gtk
creating dist/build/Graphics/UI/Gtk/Poppler
/usr/bin/gtk2hsC2hs --include=dist/build --include=/usr/lib/ghc/
array-0.4.0.0 --include=/usr/lib/ghc/base-4.5.0.0 --include=/usr/lib/
ghc/bytestring-0.9.2.1 --include=/home/aker/.cabal/lib/cairo-0.12.3/
ghc-7.4.1 --include=/usr/lib/ghc/containers-0.4.2.1 --include=/home/
aker/.cabal/lib/glib-0.12.3/ghc-7.4.1 --include=/home/aker/.cabal/lib/
gtk-0.12.3/ghc-7.4.1 --include=/home/aker/.cabal/lib/haskell98-2.0.0.1/
ghc-7.4.1 --include=/usr/lib/haskell-packages/ghc/lib/mtl-2.0.1.0/
ghc-7.4.1 --cppopts=-Idist/build/autogen --cppopts=-Idist/build --
cppopts=-I. --cppopts=-I/usr/include/poppler/glib --cppopts=-I/usr/
include/poppler --cppopts=-I/usr/include/glib-2.0 --cppopts=-I/usr/lib/
x86_64-linux-gnu/glib-2.0/include --cppopts=-I/usr/include/cairo --
cppopts=-I/usr/include/pixman-1 --cppopts=-I/usr/include/freetype2 --
cppopts=-I/usr/include/libpng12 --cppopts=-I/usr/include/gtk-2.0 --
cppopts=-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include --cppopts=-I/usr/
include/gio-unix-2.0/ --cppopts=-I/usr/include/pango-1.0 --cppopts=-I/
usr/include/gdk-pixbuf-2.0 --output-dir=dist/build/Graphics/UI/Gtk/
Poppler/ --output=Types.hs --precomp=dist/build/precompchs.bin glib/
poppler.h ./Graphics/UI/Gtk/Poppler/Types.chs
gtk2hsC2hs: Errors during expansion of binding hooks:
./Graphics/UI/Gtk/Poppler/Types.chs:121: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoContext' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:140: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_context_get_type' in the header
file.
./Graphics/UI/Gtk/Poppler/Types.chs:144: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoLayout' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:163: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_layout_get_type' in the header
file.
./Graphics/UI/Gtk/Poppler/Types.chs:167: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoFont' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:186: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_font_get_type' in the header
file.
./Graphics/UI/Gtk/Poppler/Types.chs:190: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoFontFamily' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:209: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_font_family_get_type' in the
header file.
./Graphics/UI/Gtk/Poppler/Types.chs:213: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoFontFace' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:232: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_font_face_get_type' in the
header file.
./Graphics/UI/Gtk/Poppler/Types.chs:236: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoFontMap' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:255: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_font_face_get_type' in the
header file.
./Graphics/UI/Gtk/Poppler/Types.chs:259: (column 12) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `PangoFontset' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:278: (column 22) [ERROR]
>>> Unknown identifier!
Cannot find a definition for `pango_fontset_get_type' in the header
file.
World file is already up to date.
cabal: Error: some packages failed to install:
QuickCheck-2.4.2 failed during the building phase. The exception was:
ExitFailure 1
cmdargs-0.9.5 failed during the building phase. The exception was:
ExitFailure 1
fclabels-1.0.4 failed during the building phase. The exception was:
ExitFailure 1
hxournal-0.6.6 depends on poppler-0.12.2 which failed to install.
incremental-parser-0.2 depends on QuickCheck-2.4.2 which failed to
install.
iteratee-compress-0.2.1.0 failed during the configure step. The
exception was:
ExitFailure 1
monad-coroutine-0.7.1 depends on QuickCheck-2.4.2 which failed to
install.
poppler-0.12.2 failed during the building phase. The exception was:
ExitFailure 1
xournal-builder-0.1.1 depends on fclabels-1.0.4 which failed to
install.
xournal-parser-0.4.1 depends on iteratee-compress-0.2.1.0 which failed
to
install.
xournal-render-0.6.0 depends on poppler-0.12.2 which failed to
install.
xournal-types-0.4 depends on fclabels-1.0.4 which failed to install.