| 1 | [root@lenny bin]# ghc-pkg list | grep regex |
|---|
| 2 | regex-base-0.93.2 |
|---|
| 3 | regex-compat-0.93.1 |
|---|
| 4 | regex-posix-0.94.2 |
|---|
| 5 | [root@lenny bin]# ghc-pkg check |
|---|
| 6 | [root@lenny bin]# ghc-pkg describe regex-base |
|---|
| 7 | name: regex-base |
|---|
| 8 | version: 0.93.2 |
|---|
| 9 | id: regex-base-0.93.2-93d41c404776e7153a3c56abb15299c9 |
|---|
| 10 | license: BSD3 |
|---|
| 11 | copyright: Copyright (c) 2006, Christopher Kuklewicz |
|---|
| 12 | maintainer: TextRegexLazy@personal.mightyreason.com |
|---|
| 13 | stability: Seems to work, passes a few tests |
|---|
| 14 | homepage: http://sourceforge.net/projects/lazy-regex |
|---|
| 15 | package-url: http://darcs.haskell.org/packages/regex-unstable/regex-base/ |
|---|
| 16 | description: Interface API for regex-posix,pcre,parsec,tdfa,dfa |
|---|
| 17 | category: Text |
|---|
| 18 | author: Christopher Kuklewicz |
|---|
| 19 | exposed: True |
|---|
| 20 | exposed-modules: Text.Regex.Base Text.Regex.Base.RegexLike |
|---|
| 21 | Text.Regex.Base.Context Text.Regex.Base.Impl |
|---|
| 22 | hidden-modules: |
|---|
| 23 | import-dirs: /usr/lib/ghc-6.12.3/regex-base-0.93.2 |
|---|
| 24 | library-dirs: /usr/lib/ghc-6.12.3/regex-base-0.93.2 |
|---|
| 25 | hs-libraries: HSregex-base-0.93.2 |
|---|
| 26 | extra-libraries: |
|---|
| 27 | extra-ghci-libraries: |
|---|
| 28 | include-dirs: |
|---|
| 29 | includes: |
|---|
| 30 | depends: array-0.3.0.1-438000c197b51c147f229b54edbf632e |
|---|
| 31 | base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 |
|---|
| 32 | bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 |
|---|
| 33 | containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 |
|---|
| 34 | mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177 |
|---|
| 35 | hugs-options: |
|---|
| 36 | cc-options: |
|---|
| 37 | ld-options: |
|---|
| 38 | framework-dirs: |
|---|
| 39 | frameworks: |
|---|
| 40 | haddock-interfaces: /usr/share/doc/ghc/html/libraries/regex-base-0.93.2/regex-base.haddock |
|---|
| 41 | haddock-html: /usr/share/doc/ghc/html/libraries/regex-base-0.93.2 |
|---|
| 42 | |
|---|
| 43 | [root@lenny bin]# cabal install -v --global --enable-documentation regex-pcre |
|---|
| 44 | /usr/bin/ghc --numeric-version |
|---|
| 45 | looking for package tool: ghc-pkg near compiler in /usr/bin |
|---|
| 46 | found package tool in /usr/bin/ghc-pkg |
|---|
| 47 | /usr/bin/ghc-pkg --version |
|---|
| 48 | /usr/bin/ghc --supported-languages |
|---|
| 49 | Reading installed packages... |
|---|
| 50 | /usr/bin/ghc-pkg dump --global |
|---|
| 51 | /usr/bin/ghc --print-libdir |
|---|
| 52 | Reading available packages... |
|---|
| 53 | Resolving dependencies... |
|---|
| 54 | selecting regex-pcre-0.94.2 (hackage) and discarding regex-base-0.71, |
|---|
| 55 | 0.72.0.1, 0.72.0.2, 0.83, 0.90, 0.91, 0.92, regex-pcre-0.81, 0.82, 0.91, 0.92, |
|---|
| 56 | 0.93, 0.94 and 0.94.1 |
|---|
| 57 | selecting regex-base-0.93.2 (installed or hackage) and discarding |
|---|
| 58 | regex-base-0.93 and 0.93.1 |
|---|
| 59 | selecting mtl-2.0.1.0 (installed or hackage) and discarding mtl-1.0, 1.1.0.0, |
|---|
| 60 | 1.1.0.1, 1.1.0.2, 1.1.1.0, 1.1.1.1, 2.0.0.0, transformers-0.0.0.0, 0.0.1.0, |
|---|
| 61 | 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.3.0 and 0.1.4.0 |
|---|
| 62 | selecting transformers-0.2.2.0 (installed or hackage) and discarding |
|---|
| 63 | transformers-0.2.0.0 and 0.2.1.0 |
|---|
| 64 | selecting containers-0.3.0.0 (installed or hackage) and discarding |
|---|
| 65 | containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1 and 0.4.0.0 |
|---|
| 66 | selecting bytestring-0.9.1.7 (installed or hackage) and discarding |
|---|
| 67 | bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, |
|---|
| 68 | 0.9.1.3, 0.9.1.4, 0.9.1.5, 0.9.1.6, 0.9.1.8 and 0.9.1.9 |
|---|
| 69 | selecting ghc-prim-0.2.0.0 (installed) |
|---|
| 70 | selecting ffi-1.0 (installed) |
|---|
| 71 | selecting rts-1.0 (installed) |
|---|
| 72 | selecting array-0.3.0.1 (installed or hackage) and discarding array-0.1.0.0, |
|---|
| 73 | 0.2.0.0, 0.3.0.0 and 0.3.0.2 |
|---|
| 74 | selecting base-3.0.3.2 (installed) and 4.2.0.2 (installed) and discarding |
|---|
| 75 | syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2, 0.2.1, 0.2.2 and 0.3 |
|---|
| 76 | selecting integer-gmp-0.2.0.1 (installed) |
|---|
| 77 | selecting syb-0.1.0.2 (installed) |
|---|
| 78 | In order, the following would be installed: |
|---|
| 79 | regex-base-0.93.2 (reinstall) changes: mtl-1.1.0.2 -> 2.0.1.0 |
|---|
| 80 | regex-pcre-0.94.2 (new package) |
|---|
| 81 | regex-base-0.93.2 has already been downloaded. |
|---|
| 82 | Extracting |
|---|
| 83 | /root/.cabal/packages/hackage.haskell.org/regex-base/0.93.2/regex-base-0.93.2.tar.gz |
|---|
| 84 | to /tmp/regex-base-0.93.224447... |
|---|
| 85 | Configuring regex-base-0.93.2... |
|---|
| 86 | Flags chosen: splitbase=True, newbase=True |
|---|
| 87 | Dependency array ==0.3.0.1: using array-0.3.0.1 |
|---|
| 88 | Dependency base ==4.2.0.2: using base-4.2.0.2 |
|---|
| 89 | Dependency bytestring ==0.9.1.7: using bytestring-0.9.1.7 |
|---|
| 90 | Dependency containers ==0.3.0.0: using containers-0.3.0.0 |
|---|
| 91 | Dependency mtl ==2.0.1.0: using mtl-2.0.1.0 |
|---|
| 92 | Using Cabal-1.8.0.6 compiled by ghc-6.12 |
|---|
| 93 | Using compiler: ghc-6.12.3 |
|---|
| 94 | Using install prefix: /usr/local |
|---|
| 95 | Binaries installed in: /usr/local/bin |
|---|
| 96 | Libraries installed in: /usr/local/lib/regex-base-0.93.2/ghc-6.12.3 |
|---|
| 97 | Private binaries installed in: /usr/local/libexec |
|---|
| 98 | Data files installed in: /usr/local/share/regex-base-0.93.2 |
|---|
| 99 | Documentation installed in: /usr/local/share/doc/regex-base-0.93.2 |
|---|
| 100 | Using alex version 2.3.3 found on system at: /usr/bin/alex |
|---|
| 101 | Using ar found on system at: /usr/bin/ar |
|---|
| 102 | No c2hs found |
|---|
| 103 | No cpphs found |
|---|
| 104 | No ffihugs found |
|---|
| 105 | Using gcc version 4.5.1 found on system at: /usr/bin/gcc |
|---|
| 106 | Using ghc version 6.12.3 found on system at: /usr/bin/ghc |
|---|
| 107 | Using ghc-pkg version 6.12.3 found on system at: /usr/bin/ghc-pkg |
|---|
| 108 | No greencard found |
|---|
| 109 | Using haddock version 2.6.1 found on system at: /usr/bin/haddock |
|---|
| 110 | Using happy version 1.18.5 found on system at: /usr/bin/happy |
|---|
| 111 | No hmake found |
|---|
| 112 | Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs |
|---|
| 113 | No hscolour found |
|---|
| 114 | No hugs found |
|---|
| 115 | No jhc found |
|---|
| 116 | Using ld found on system at: /usr/bin/ld |
|---|
| 117 | No lhc found |
|---|
| 118 | No lhc-pkg found |
|---|
| 119 | No nhc98 found |
|---|
| 120 | Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config |
|---|
| 121 | Using ranlib found on system at: /usr/bin/ranlib |
|---|
| 122 | Using strip found on system at: /usr/bin/strip |
|---|
| 123 | Using tar found on system at: /bin/tar |
|---|
| 124 | Creating dist/build (and its parents) |
|---|
| 125 | Creating dist/build/autogen (and its parents) |
|---|
| 126 | Preprocessing library regex-base-0.93.2... |
|---|
| 127 | Building regex-base-0.93.2... |
|---|
| 128 | Building library... |
|---|
| 129 | Creating dist/build (and its parents) |
|---|
| 130 | /usr/bin/ghc --make -package-name regex-base-0.93.2 -hide-all-packages -fbuilding-cabal-package -no-user-package-conf -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 array-0.3.0.1-438000c197b51c147f229b54edbf632e -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 -package-id containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 -package-id mtl-2.0.1.0-3f9e375da935e2a5248eaad918c634c8 -O -Wall -O2 -XMultiParamTypeClasses -XFunctionalDependencies -XTypeSynonymInstances -XFlexibleInstances -XFlexibleContexts Text.Regex.Base Text.Regex.Base.RegexLike Text.Regex.Base.Context Text.Regex.Base.Impl |
|---|
| 131 | [1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o ) |
|---|
| 132 | [2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o ) |
|---|
| 133 | [3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o ) |
|---|
| 134 | [4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o ) |
|---|
| 135 | Linking... |
|---|
| 136 | /usr/bin/ar -r dist/build/libHSregex-base-0.93.2.a dist/build/Text/Regex/Base.o dist/build/Text/Regex/Base/RegexLike.o dist/build/Text/Regex/Base/Context.o dist/build/Text/Regex/Base/Impl.o |
|---|
| 137 | /usr/bin/ar: creating dist/build/libHSregex-base-0.93.2.a |
|---|
| 138 | /usr/bin/ld -x -r -o dist/build/HSregex-base-0.93.2.o dist/build/Text/Regex/Base.o dist/build/Text/Regex/Base/RegexLik |
|---|
| 139 | Registering regex-base-0.93.2 |
|---|
| 140 | /usr/bin/ghc-pkg update - --global --no-user-package-conf --package-conf=dist/package.conf.inplace |
|---|
| 141 | Running Haddock for regex-base-0.93.2... |
|---|
| 142 | /usr/bin/haddock --ghc-version |
|---|
| 143 | Creating dist/build (and its parents) |
|---|
| 144 | Creating dist/build/autogen (and its parents) |
|---|
| 145 | Preprocessing library regex-base-0.93.2... |
|---|
| 146 | Warning: The documentation for the following packages are not installed. No |
|---|
| 147 | links will be generated to these packages: ffi-1.0, rts-1.0 |
|---|
| 148 | /usr/bin/ghc --print-libdir |
|---|
| 149 | copy Text/Regex/Base.hs to dist/build/tmp24447/Text/Regex/Base.hs |
|---|
| 150 | copy Text/Regex/Base/RegexLike.hs to |
|---|
| 151 | dist/build/tmp24447/Text/Regex/Base/RegexLike.hs |
|---|
| 152 | copy Text/Regex/Base/Context.hs to |
|---|
| 153 | dist/build/tmp24447/Text/Regex/Base/Context.hs |
|---|
| 154 | copy Text/Regex/Base/Impl.hs to dist/build/tmp24447/Text/Regex/Base/Impl.hs |
|---|
| 155 | Creating dist/doc/html/regex-base/ (and its parents) |
|---|
| 156 | /usr/bin/haddock --prologue=dist/doc/html/regex-base/haddock-prolog24447.txt --dump-interface=dist/doc/html/regex-base/regex-base.haddock --optghc=-package-name --optghc=regex-base-0.93.2 --verbosity=1 --html --read-interface=/usr/share/doc/ghc/html/libraries/array-0.3.0.1,/usr/share/doc/ghc/html/libraries/array-0.3.0.1/array.haddock --read-interface=/usr/share/doc/ghc/html/libraries/base-4.2.0.2,/usr/share/doc/ghc/html/libraries/base-4.2.0.2/base.haddock --read-interface=/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7,/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7/bytestring.haddock --read-interface=/usr/share/doc/ghc/html/libraries/containers-0.3.0.0,/usr/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0,/usr/share/doc/ghc/html/libraries/ghc-pr |
|---|
| 157 | Documentation created: dist/doc/html/regex-base/index.html |
|---|
| 158 | directory dist/doc/html/regex-base does exist: True |
|---|
| 159 | Creating /usr/local/share/doc/regex-base-0.93.2/html (and its parents) |
|---|
| 160 | copy directory 'dist/doc/html/regex-base' to |
|---|
| 161 | '/usr/local/share/doc/regex-base-0.93.2/html'. |
|---|
| 162 | Creating /usr/local/share/doc/regex-base-0.93.2/html (and its parents) |
|---|
| 163 | Installing dist/doc/html/regex-base/index.html to |
|---|
| 164 | /usr/local/share/doc/regex-base-0.93.2/html/index.html |
|---|
| 165 | Installing dist/doc/html/regex-base/mini_Text-Regex-Base-Impl.html to |
|---|
| 166 | /usr/local/share/doc/regex-base-0.93.2/html/mini_Text-Regex-Base-Impl.html |
|---|
| 167 | Installing dist/doc/html/regex-base/Text-Regex-Base-Impl.html to |
|---|
| 168 | /usr/local/share/doc/regex-base-0.93.2/html/Text-Regex-Base-Impl.html |
|---|
| 169 | Installing dist/doc/html/regex-base/mini_Text-Regex-Base-Context.html to |
|---|
| 170 | /usr/local/share/doc/regex-base-0.93.2/html/mini_Text-Regex-Base-Context.html |
|---|
| 171 | Installing dist/doc/html/regex-base/Text-Regex-Base-Context.html to |
|---|
| 172 | /usr/local/share/doc/regex-base-0.93.2/html/Text-Regex-Base-Context.html |
|---|
| 173 | Installing dist/doc/html/regex-base/haddock.css to |
|---|
| 174 | /usr/local/share/doc/regex-base-0.93.2/html/haddock.css |
|---|
| 175 | Installing dist/doc/html/regex-base/mini_Text-Regex-Base.html to |
|---|
| 176 | /usr/local/share/doc/regex-base-0.93.2/html/mini_Text-Regex-Base.html |
|---|
| 177 | Installing dist/doc/html/regex-base/Text-Regex-Base.html to |
|---|
| 178 | /usr/local/share/doc/regex-base-0.93.2/html/Text-Regex-Base.html |
|---|
| 179 | Installing dist/doc/html/regex-base/regex-base.haddock to |
|---|
| 180 | /usr/local/share/doc/regex-base-0.93.2/html/regex-base.haddock |
|---|
| 181 | Installing dist/doc/html/regex-base/haddock-util.js to |
|---|
| 182 | /usr/local/share/doc/regex-base-0.93.2/html/haddock-util.js |
|---|
| 183 | Installing dist/doc/html/regex-base/index-frames.html to |
|---|
| 184 | /usr/local/share/doc/regex-base-0.93.2/html/index-frames.html |
|---|
| 185 | Installing dist/doc/html/regex-base/doc-index.html to |
|---|
| 186 | /usr/local/share/doc/regex-base-0.93.2/html/doc-index.html |
|---|
| 187 | Installing dist/doc/html/regex-base/minus.gif to |
|---|
| 188 | /usr/local/share/doc/regex-base-0.93.2/html/minus.gif |
|---|
| 189 | Installing dist/doc/html/regex-base/frames.html to |
|---|
| 190 | /usr/local/share/doc/regex-base-0.93.2/html/frames.html |
|---|
| 191 | Installing dist/doc/html/regex-base/mini_Text-Regex-Base-RegexLike.html to |
|---|
| 192 | /usr/local/share/doc/regex-base-0.93.2/html/mini_Text-Regex-Base-Reg |
|---|
| 193 | Installing dist/doc/html/regex-base/haskell_icon.gif to |
|---|
| 194 | /usr/local/share/doc/regex-base-0.93.2/html/haskell_icon.gif |
|---|
| 195 | Installing dist/doc/html/regex-base/Text-Regex-Base-RegexLike.html to |
|---|
| 196 | /usr/local/share/doc/regex-base-0.93.2/html/Text-Regex-Base-RegexLike.html |
|---|
| 197 | Installing dist/doc/html/regex-base/plus.gif to |
|---|
| 198 | /usr/local/share/doc/regex-base-0.93.2/html/plus.gif |
|---|
| 199 | Creating /usr/local/share/doc/regex-base-0.93.2/html (and its parents) |
|---|
| 200 | Installing dist/doc/html/regex-base/regex-base.haddock to |
|---|
| 201 | /usr/local/share/doc/regex-base-0.93.2/html/regex-base.haddock |
|---|
| 202 | Creating /usr/local/share/doc/regex-base-0.93.2 (and its parents) |
|---|
| 203 | Installing LICENSE to /usr/local/share/doc/regex-base-0.93.2/LICENSE |
|---|
| 204 | Installing library in /usr/local/lib/regex-base-0.93.2/ghc-6.12.3 |
|---|
| 205 | Creating /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex (and its |
|---|
| 206 | parents) |
|---|
| 207 | Creating /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex/Base (and its |
|---|
| 208 | parents) |
|---|
| 209 | Installing dist/build/Text/Regex/Base.hi to |
|---|
| 210 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex/Base.hi |
|---|
| 211 | Installing dist/build/Text/Regex/Base/RegexLike.hi to |
|---|
| 212 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex/Base/RegexLike.hi |
|---|
| 213 | Installing dist/build/Text/Regex/Base/Context.hi to |
|---|
| 214 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex/Base/Context.hi |
|---|
| 215 | Installing dist/build/Text/Regex/Base/Impl.hi to |
|---|
| 216 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/Text/Regex/Base/Impl.hi |
|---|
| 217 | Creating /usr/local/lib/regex-base-0.93.2/ghc-6.12.3 (and its parents) |
|---|
| 218 | Installing dist/build/libHSregex-base-0.93.2.a to |
|---|
| 219 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/libHSregex-base-0.93.2.a |
|---|
| 220 | Creating /usr/local/lib/regex-base-0.93.2/ghc-6.12.3 (and its parents) |
|---|
| 221 | Installing dist/build/HSregex-base-0.93.2.o to |
|---|
| 222 | /usr/local/lib/regex-base-0.93.2/ghc-6.12.3/HSregex-base-0.93.2.o |
|---|
| 223 | /usr/bin/ghc --abi-hash -package-name regex-base-0.93.2 -hide-all-packages -fbuilding-cabal-package -no-user-pa |
|---|
| 224 | Registering regex-base-0.93.2... |
|---|
| 225 | /usr/bin/ghc-pkg update - --global --no-user-package-conf |
|---|
| 226 | cabal: ghc-pkg: |
|---|
| 227 | /usr/lib/ghc-6.12.3/package.conf.d/regex-base-0.93.2-93d41c404776e7153a3c56abb15299c9.conf: |
|---|
| 228 | removeLink: does not exist (No such file or directory) |
|---|
| 229 | cabal: Error: some packages failed to install: |
|---|
| 230 | regex-base-0.93.2 failed during the final install step. The exception was: |
|---|
| 231 | ExitFailure 1 |
|---|
| 232 | regex-pcre-0.94.2 depends on regex-base-0.93.2 which failed |
|---|
| 233 | |
|---|
| 234 | [root@lenny bin]# ghc-pkg field regex-base id |
|---|
| 235 | id: regex-base-0.93.2-93d41c404776e7153a3c56abb15299c9 |
|---|