| | 200 | |
| | 201 | |
| | 202 | NOTES FOR GHC 6.6.1 AND REVISION > 19955 |
| | 203 | ---------------------------------------- |
| | 204 | |
| | 205 | This note should describe a workaround to get the current pug snapshot running |
| | 206 | under the following environment (I believe only the ghc stuff is essential for |
| | 207 | this workaround): |
| | 208 | |
| | 209 | - GNU/Linux 2.6.22-14 |
| | 210 | - libc6 2.6.1-1ubuntu10 |
| | 211 | - gcc-Version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) |
| | 212 | - perl 5.8.8 |
| | 213 | - Cabal-1.1.6.2, base-2.1.1, filepath-1.0, (ghc-6.6.1), |
| | 214 | haskell98-1.0, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0, |
| | 215 | regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0, |
| | 216 | stm-2.0, template-haskell-2.1, time-1.1.1, unix-2.1 |
| | 217 | |
| | 218 | The last version that builds on this environment was revision 19955. |
| | 219 | |
| | 220 | 1. Update to current version |
| | 221 | ~/dev/pugs: svn up . |
| | 222 | |
| | 223 | 2. Revert some files to former version |
| | 224 | ~/dev/pugs: svn up -r19955 src/Pugs/Meta/Str.hs src/Pugs/Types.hs src/UTF8.hs \ |
| | 225 | Pugs.cabal.in util/build_pugs.pl third_party/ |
| | 226 | |
| | 227 | 3. Build it ... |
| | 228 | ~/dev/pugs: perl Makefile.PL && make soon |
| | 229 | |
| | 230 | 4. ...twice |
| | 231 | ~/dev/pugs: make soon |
| | 232 | |
| | 233 | 5. Skip building Test.pm.yml |
| | 234 | ~/dev/pugs: cp ext/Test/lib/Test.pm blib6/lib/ |
| | 235 | |
| | 236 | Last two steps seems to be necessary to avoid messages like this |
| | 237 | ./pugs -CParse-YAML ext/Test/lib/Test.pm > blib6/lib/Test.pm.yml |
| | 238 | pugs: user error (Not implemented: asYAML "Sub") |