| | 269 | 1. About 10 hours later, double-click the installer. Wait 15 minutes. |
| | 270 | 1. "The software was successfully installed." Now there's an experience I haven't had in a while. |
| | 271 | 1. Double-click the August 2003 GCC updater. Wait 2 minutes. |
| | 272 | 1. "The software was successfully installed." I'm on a roll!! |
| | 273 | 1. So, where was I two days ago, anyway? Oh yeah, trying to build GHC! That was the original point, wasn't it? I'm not sure anymore. |
| | 274 | 1. Of course, GHC is still looking for gcc under /usr (since it's first in your PATH for some reason) and not under /usr/bin where it really lives. |
| | 275 | 1. Edit PATH to put /usr at the end. This doesn't work. |
| | 276 | 1. Play some symlink games. |
| | 277 | 1. Now {{{gcc}}} points to gcc 3.3, but the same error message comes up as before when I run {{{make}}} in ghc: |
| | 278 | {{{ |
| | 279 | % make |
| | 280 | make -C utils/mkdependC boot |
| | 281 | ------------------------------------------------------------------------ |
| | 282 | == make boot -r; |
| | 283 | in /Users/krc/ghc-head/ghc/includes |
| | 284 | ------------------------------------------------------------------------ |
| | 285 | gcc -O -DTABLES_NEXT_TO_CODE -I. -I../rts -c mkDerivedConstants.c -o mkDerivedConstants.o |
| | 286 | In file included from Rts.h:144, |
| | 287 | from mkDerivedConstants.c:23: |
| | 288 | OSThreads.h:135:4: #error "Threads not supported" |
| | 289 | In file included from Rts.h:144, |
| | 290 | from mkDerivedConstants.c:23: |
| | 291 | OSThreads.h:141: error: parse error before "osThreadId" |
| | 292 | OSThreads.h:141: warning: data definition has no type or storage class |
| | 293 | OSThreads.h:145: error: parse error before "OSThreadProc" |
| | 294 | OSThreads.h:145: warning: data definition has no type or storage class |
| | 295 | OSThreads.h:147: error: parse error before '*' token |
| | 296 | OSThreads.h:153: error: parse error before '*' token |
| | 297 | OSThreads.h:154: error: parse error before '*' token |
| | 298 | OSThreads.h:155: error: parse error before '*' token |
| | 299 | OSThreads.h:156: error: parse error before '*' token |
| | 300 | OSThreads.h:157: error: parse error before '*' token |
| | 301 | OSThreads.h:163: error: parse error before '*' token |
| | 302 | OSThreads.h:164: error: parse error before '*' token |
| | 303 | OSThreads.h:169: error: parse error before '*' token |
| | 304 | OSThreads.h:170: error: parse error before '*' token |
| | 305 | OSThreads.h:171: error: parse error before '*' token |
| | 306 | In file included from Rts.h:160, |
| | 307 | from mkDerivedConstants.c:23: |
| | 308 | Storage.h:211: error: parse error before "sm_mutex" |
| | 309 | Storage.h:211: warning: data definition has no type or storage class |
| | 310 | Storage.h:212: error: parse error before "atomic_modify_mutvar_mutex" |
| | 311 | Storage.h:212: warning: data definition has no type or storage class |
| | 312 | In file included from ../rts/Capability.h:27, |
| | 313 | from mkDerivedConstants.c:28: |
| | 314 | ../rts/Task.h:88: error: parse error before "OSThreadId" |
| | 315 | ../rts/Task.h:88: warning: no semicolon at end of struct or union |
| | 316 | ../rts/Task.h:115: error: parse error before "cond" |
| | 317 | ../rts/Task.h:115: warning: data definition has no type or storage class |
| | 318 | ../rts/Task.h:116: error: parse error before "lock" |
| | 319 | ../rts/Task.h:116: warning: data definition has no type or storage class |
| | 320 | ../rts/Task.h:155: error: parse error before '}' token |
| | 321 | ../rts/Task.h:155: warning: data definition has no type or storage class |
| | 322 | ../rts/Task.h:158: error: parse error before '*' token |
| | 323 | ../rts/Task.h: In function `isBoundTask': |
| | 324 | ../rts/Task.h:160: error: `task' undeclared (first use in this function) |
| | 325 | ../rts/Task.h:160: error: (Each undeclared identifier is reported only once |
| | 326 | ../rts/Task.h:160: error: for each function it appears in.) |
| | 327 | ../rts/Task.h: At top level: |
| | 328 | ../rts/Task.h:166: error: parse error before '*' token |
| | 329 | ../rts/Task.h:166: warning: data definition has no type or storage class |
| | 330 | ../rts/Task.h:178: error: parse error before '*' token |
| | 331 | ../rts/Task.h:178: warning: data definition has no type or storage class |
| | 332 | ../rts/Task.h:183: error: parse error before '*' token |
| | 333 | ../rts/Task.h:188: error: parse error before '*' token |
| | 334 | ../rts/Task.h:194: error: parse error before '*' token |
| | 335 | ../rts/Task.h:200: error: parse error before '*' token |
| | 336 | ../rts/Task.h:205: error: parse error before '*' token |
| | 337 | ../rts/Task.h:209: error: parse error before '*' token |
| | 338 | ../rts/Task.h:209: warning: data definition has no type or storage class |
| | 339 | ../rts/Task.h:225: error: parse error before '*' token |
| | 340 | ../rts/Task.h:225: error: parse error before '*' token |
| | 341 | ../rts/Task.h:225: error: `OSThreadProcAttr' declared as function returning a function |
| | 342 | ../rts/Task.h:235: error: parse error before "currentTaskKey" |
| | 343 | ../rts/Task.h:235: warning: data definition has no type or storage class |
| | 344 | ../rts/Task.h:246: error: parse error before '*' token |
| | 345 | ../rts/Task.h:257: error: parse error before '*' token |
| | 346 | ../rts/Task.h: In function `setMyTask': |
| | 347 | ../rts/Task.h:260: error: `task' undeclared (first use in this function) |
| | 348 | ../rts/Task.h: At top level: |
| | 349 | ../rts/Task.h:270: error: parse error before '*' token |
| | 350 | ../rts/Task.h: In function `taskEnter': |
| | 351 | ../rts/Task.h:274: error: `task' undeclared (first use in this function) |
| | 352 | In file included from mkDerivedConstants.c:28: |
| | 353 | ../rts/Capability.h: At top level: |
| | 354 | ../rts/Capability.h:42: error: parse error before "Task" |
| | 355 | ../rts/Capability.h:42: warning: no semicolon at end of struct or union |
| | 356 | ../rts/Capability.h:61: error: parse error before '*' token |
| | 357 | ../rts/Capability.h:61: warning: data definition has no type or storage class |
| | 358 | ../rts/Capability.h:71: error: parse error before '*' token |
| | 359 | ../rts/Capability.h:71: warning: data definition has no type or storage class |
| | 360 | ../rts/Capability.h:74: error: parse error before "lock" |
| | 361 | ../rts/Capability.h:74: warning: data definition has no type or storage class |
| | 362 | ../rts/Capability.h:81: error: parse error before '*' token |
| | 363 | ../rts/Capability.h:81: warning: data definition has no type or storage class |
| | 364 | ../rts/Capability.h:82: error: parse error before '*' token |
| | 365 | ../rts/Capability.h:82: warning: data definition has no type or storage class |
| | 366 | ../rts/Capability.h:97: error: parse error before '}' token |
| | 367 | ../rts/Capability.h:174: error: parse error before "Task" |
| | 368 | ../rts/Capability.h:191: error: parse error before "Task" |
| | 369 | ../rts/Capability.h:197: error: parse error before '*' token |
| | 370 | ../rts/Capability.h:220: error: parse error before "Task" |
| | 371 | ../rts/Capability.h:224: error: parse error before "Task" |
| | 372 | ../rts/Capability.h: In function `recordMutableCap': |
| | 373 | ../rts/Capability.h:247: error: dereferencing pointer to incomplete type |
| | 374 | ../rts/Capability.h:253: error: dereferencing pointer to incomplete type |
| | 375 | mkDerivedConstants.c: In function `main': |
| | 376 | mkDerivedConstants.c:228: error: dereferencing pointer to incomplete type |
| | 377 | mkDerivedConstants.c:228: error: dereferencing pointer to incomplete type |
| | 378 | mkDerivedConstants.c:229: error: dereferencing pointer to incomplete type |
| | 379 | mkDerivedConstants.c:229: error: dereferencing pointer to incomplete type |
| | 380 | mkDerivedConstants.c:231: error: dereferencing pointer to incomplete type |
| | 381 | mkDerivedConstants.c:232: error: dereferencing pointer to incomplete type |
| | 382 | mkDerivedConstants.c:233: error: dereferencing pointer to incomplete type |
| | 383 | mkDerivedConstants.c:233: error: dereferencing pointer to incomplete type |
| | 384 | make[1]: *** [mkDerivedConstants.o] Error 1 |
| | 385 | make: *** [stage1] Error 1 |
| | 386 | [Kirsten-Chevaliers-Computer:~/ghc-head/ghc] krc% |
| | 387 | 1. Go to bed. |