[Haskell-beginners] HaXml will not install...
Sean Charles
sean at objitsu.com
Mon Jul 4 18:01:36 CEST 2011
I have just tried to install HaXml after installing htx with no
problems, thinking it might have been that I tried
ghc-pkg hide hxt
and tried again but no luck, that's gotten me out of issues with
different version of GLFW but alas not this time. So, can anybody help
me out of this one! I've included the output from the install plus the
output of running "cabal info base".
Thanks
Sean.
-------- installation output --------
scharles at ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/cimd$ cabal
install haxml
Resolving dependencies...
Configuring HaXml-1.22...
Preprocessing library HaXml-1.22...
Preprocessing executables for HaXml-1.22...
Building HaXml-1.22...
src/Text/XML/HaXml/Schema/TypeConversion.hs:8:7:
Could not find module `Text.XML.HaXml.Schema.Environment':
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
HaXml-1.22 failed during the building phase. The exception was:
ExitFailure 1
scharles at ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/cimd$ cabal
install -v haxml
Reading available packages...
Resolving dependencies...
In order, the following would be installed:
HaXml-1.22 (new package)
Extracting
/home/scharles/.cabal/packages/hackage.haskell.org/HaXml/1.22/HaXml-1.22.tar.gz
to /tmp/HaXml-1.2215949...
Configuring HaXml-1.22...
Flags chosen: bytestringinbase=False, splitbase=True
Dependency base ==4.2.0.2: using base-4.2.0.2
Dependency bytestring ==0.9.1.7: using bytestring-0.9.1.7
Dependency containers ==0.3.0.0: using containers-0.3.0.0
Dependency filepath ==1.1.0.4: using filepath-1.1.0.4
Dependency polyparse ==1.7: using polyparse-1.7
Dependency pretty ==1.0.1.1: using pretty-1.0.1.1
Dependency random ==1.0.0.2: using random-1.0.0.2
Using Cabal-1.10.2.0 compiled by ghc-6.12
Using compiler: ghc-6.12.3
Using install prefix: /home/scharles/.cabal
Binaries installed in: /home/scharles/.cabal/bin
Libraries installed in: /home/scharles/.cabal/lib/HaXml-1.22/ghc-6.12.3
Private binaries installed in: /home/scharles/.cabal/libexec
Data files installed in: /home/scharles/.cabal/share/HaXml-1.22
Documentation installed in: /home/scharles/.cabal/share/doc/HaXml-1.22
Using alex version 2.3.5 found on system at: /home/scharles/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /home/scharles/.cabal/bin/c2hs
Using cpphs version 1.11 found on system at: /home/scharles/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.5.2 found on system at: /usr/bin/gcc
Using ghc version 6.12.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 6.12.3 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.6.1 found on system at: /usr/bin/haddock
Using happy version 1.18.6 found on system at:
/home/scharles/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
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.25 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
Preprocessing library HaXml-1.22...
Preprocessing executables for HaXml-1.22...
Building HaXml-1.22...
Building library...
creating dist/build
/usr/bin/ghc --make -package-name HaXml-1.22 -hide-all-packages
-fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen
-Idist/build/autogen -Idist/build -optP-DMYVERSION="\"1.22\""
-optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build
-hidir dist/build -stubdir dist/build -package-id
base-4.2.0.2-d09520f27d14dc38c6981fa942393083 -package-id
bytestring-0.9.1.7-253db8fad875ae549d30aec0d8553adf -package-id
containers-0.3.0.0-7be04792060ce1514c52e2cb13a5c18a -package-id
filepath-1.1.0.4-1425f312faf5b8e9f4babf887e252326 -package-id
polyparse-1.7-b5af8124e8aeb60817d4c8a8608def30 -package-id
pretty-1.0.1.1-b6652d4fb1f996119a76dcaa986e9d70 -package-id
random-1.0.0.2-a4bf29bbfd08ec91d43a4c919e9253f8 -O -XCPP
-XExistentialQuantification Text.XML.HaXml.Schema.Schema Text.XML.HaXml
Text.XML.HaXml.ByteStringPP Text.XML.HaXml.Combinators
Text.XML.HaXml.DtdToHaskell.Convert Text.XML.HaXml.DtdToHaskell.Instance
Text.XML.HaXml.DtdToHaskell.TypeDef Text.XML.HaXml.Escape
Text.XML.HaXml.Html.Generate Text.XML.HaXml.Html.Parse
Text.XML.HaXml.Html.ParseLazy Text.XML.HaXml.Html.Pretty
Text.XML.HaXml.Lex Text.XML.HaXml.Namespaces Text.XML.HaXml.OneOfN
Text.XML.HaXml.Parse Text.XML.HaXml.ParseLazy Text.XML.HaXml.Posn
Text.XML.HaXml.Pretty Text.XML.HaXml.SAX Text.XML.HaXml.Schema.Parse
Text.XML.HaXml.Schema.XSDTypeModel
Text.XML.HaXml.Schema.HaskellTypeModel
Text.XML.HaXml.Schema.NameConversion
Text.XML.HaXml.Schema.TypeConversion Text.XML.HaXml.Schema.PrettyHaskell
Text.XML.HaXml.Schema.PrimitiveTypes Text.XML.HaXml.ShowXmlLazy
Text.XML.HaXml.Types Text.XML.HaXml.TypeMapping Text.XML.HaXml.Util
Text.XML.HaXml.Validate Text.XML.HaXml.Verbatim Text.XML.HaXml.Wrappers
Text.XML.HaXml.XmlContent Text.XML.HaXml.XmlContent.Parser
Text.XML.HaXml.XmlContent.Haskell Text.XML.HaXml.Xtract.Combinators
Text.XML.HaXml.Xtract.Lex Text.XML.HaXml.Xtract.Parse
src/Text/XML/HaXml/Schema/TypeConversion.hs:8:7:
Could not find module `Text.XML.HaXml.Schema.Environment':
Use -v to see a list of the files searched for.
World file is already up to date.
cabal: Error: some packages failed to install:
HaXml-1.22 failed during the building phase. The exception was:
ExitFailure 1
scharles at ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/cimd$
-------- base output --------
scharles at ubuntu:~$ cabal info base
* base (library)
Synopsis: Basic libraries (backwards-compatibility version)
Versions available: 3.0.3.1, 3.0.3.2, (4.0.0.0), (4.1.0.0), (4.2.0.0),
(4.2.0.1), (4.2.0.2), (4.3.0.0), (4.3.1.0)
Versions installed: 3.0.3.2, (4.2.0.2)
Homepage: [ Not specified ]
Bug reports:
http://hackage.haskell.org/trac/ghc/newticket?component=libraries/base
Description: This is a backwards-compatible version of the base
package.
It depends on a later version of base, and was probably
supplied with your compiler when it was installed.
License: BSD3
Maintainer: libraries at haskell.org
Source repo: http://darcs.haskell.org/packages/base3-compat
Dependencies: base >=4.0 && <4.3, syb ==0.1.*
Documentation: [ Not installed ]
Cached: No
Modules:
Control.Applicative
Control.Arrow
Control.Category
Control.Concurrent
Control.Concurrent.Chan
Control.Concurrent.MVar
Control.Concurrent.QSem
Control.Concurrent.QSemN
Control.Concurrent.SampleVar
Control.Exception
Control.Monad
Control.Monad.Fix
Control.Monad.Instances
Control.Monad.ST
Control.Monad.ST.Lazy
Control.Monad.ST.Strict
Data.Bits
Data.Bool
Data.Char
Data.Complex
Data.Dynamic
Data.Either
Data.Eq
Data.Fixed
Data.Foldable
Data.Function
Data.Generics
Data.Generics.Aliases
Data.Generics.Basics
Data.Generics.Instances
Data.Generics.Schemes
Data.Generics.Text
Data.Generics.Twins
Data.HashTable
Data.IORef
Data.Int
Data.Ix
Data.List
Data.Maybe
Data.Monoid
Data.Ord
Data.Ratio
Data.STRef
Data.STRef.Lazy
Data.STRef.Strict
Data.String
Data.Traversable
Data.Tuple
Data.Typeable
Data.Unique
Data.Version
Data.Word
Debug.Trace
Foreign
Foreign.C
Foreign.C.Error
Foreign.C.String
Foreign.C.Types
Foreign.Concurrent
Foreign.ForeignPtr
Foreign.Marshal
Foreign.Marshal.Alloc
Foreign.Marshal.Array
Foreign.Marshal.Error
Foreign.Marshal.Pool
Foreign.Marshal.Utils
Foreign.Ptr
Foreign.StablePtr
Foreign.Storable
GHC.Arr
GHC.Base
GHC.Conc
GHC.ConsoleHandler
GHC.Desugar
GHC.Dotnet
GHC.Enum
GHC.Environment
GHC.Err
GHC.Exception
GHC.Exts
GHC.Float
GHC.ForeignPtr
GHC.Handle
GHC.IOscharles at ubuntu:~$ cabal info base
* base (library)
Synopsis: Basic libraries (backwards-compatibility version)
Versions available: 3.0.3.1, 3.0.3.2, (4.0.0.0), (4.1.0.0), (4.2.0.0),
(4.2.0.1), (4.2.0.2), (4.3.0.0), (4.3.1.0)
Versions installed: 3.0.3.2, (4.2.0.2)
Homepage: [ Not specified ]
Bug reports:
http://hackage.haskell.org/trac/ghc/newticket?component=libraries/base
Description: This is a backwards-compatible version of the base
package.
It depends on a later version of base, and was probably
supplied with your compiler when it was installed.
License: BSD3
Maintainer: libraries at haskell.org
Source repo: http://darcs.haskell.org/packages/base3-compat
Dependencies: base >=4.0 && <4.3, syb ==0.1.*
Documentation: [ Not installed ]
Cached: No
Modules:
Control.Applicative
Control.Arrow
Control.Category
Control.Concurrent
Control.Concurrent.Chan
Control.Concurrent.MVar
Control.Concurrent.QSem
Control.Concurrent.QSemN
Control.Concurrent.SampleVar
Control.Exception
Control.Monad
Control.Monad.Fix
Control.Monad.Instances
Control.Monad.ST
Control.Monad.ST.Lazy
Control.Monad.ST.Strict
Data.Bits
Data.Bool
Data.Char
Data.Complex
Data.Dynamic
Data.Either
Data.Eq
Data.Fixed
Data.Foldable
Data.Function
Data.Generics
Data.Generics.Aliases
Data.Generics.Basics
Data.Generics.Instances
Data.Generics.Schemes
Data.Generics.Text
Data.Generics.Twins
Data.HashTable
Data.IORef
Data.Int
Data.Ix
Data.List
Data.Maybe
Data.Monoid
Data.Ord
Data.Ratio
Data.STRef
Data.STRef.Lazy
Data.STRef.Strict
Data.String
Data.Traversable
Data.Tuple
Data.Typeable
Data.Unique
Data.Version
Data.Word
Debug.Trace
Foreign
Foreign.C
Foreign.C.Error
Foreign.C.String
Foreign.C.Types
Foreign.Concurrent
Foreign.ForeignPtr
Foreign.Marshal
Foreign.Marshal.Alloc
Foreign.Marshal.Array
Foreign.Marshal.Error
Foreign.Marshal.Pool
Foreign.Marshal.Utils
Foreign.Ptr
Foreign.StablePtr
Foreign.Storable
GHC.Arr
GHC.Base
GHC.Conc
GHC.ConsoleHandler
GHC.Desugar
GHC.Dotnet
GHC.Enum
GHC.Environment
GHC.Err
GHC.Exception
GHC.Exts
GHC.Float
GHC.ForeignPtr
GHC.Handle
GHC.IO
GHC.IOBase
GHC.Int
GHC.List
GHC.Num
GHC.PArr
GHC.Pack
GHC.Ptr
GHC.Read
GHC.Real
GHC.ST
GHC.STRef
GHC.Show
GHC.Stable
GHC.Storable
GHC.TopHandler
GHC.Unicode
GHC.Weak
GHC.Word
Numeric
Prelude
System.CPUTime
System.Console.GetOpt
System.Environment
System.Exit
System.IO
System.IO.Error
System.IO.Unsafe
System.Info
System.Mem
System.Mem.StableName
System.Mem.Weak
System.Posix.Internals
System.Posix.Types
System.Timeout
Text.ParserCombinators.ReadP
Text.ParserCombinators.ReadPrec
Text.Printf
Text.Read
Text.Read.Lex
Text.Show
Text.Show.Functions
Unsafe.Coerce
scharles at ubuntu:~$
GHC.IOBase
GHC.Int
GHC.List
GHC.Num
GHC.PArr
GHC.Pack
GHC.Ptr
GHC.Read
GHC.Real
GHC.ST
GHC.STRef
GHC.Show
GHC.Stable
GHC.Storable
GHC.TopHandler
GHC.Unicode
GHC.Weak
GHC.Word
Numeric
Prelude
System.CPUTime
System.Console.GetOpt
System.Environment
System.Exit
System.IO
System.IO.Error
System.IO.Unsafe
System.Info
System.Mem
System.Mem.StableName
System.Mem.Weak
System.Posix.Internals
System.Posix.Types
System.Timeout
Text.ParserCombinators.ReadP
Text.ParserCombinators.ReadPrec
Text.Printf
Text.Read
Text.Read.Lex
Text.Show
Text.Show.Functions
Unsafe.Coerce
scharles at ubuntu:~$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110704/b12cc095/attachment-0001.htm>
More information about the Beginners
mailing list