| | 192 | 1. Decide for some reason to get back out of bed and leave the other warm body in it behind in order to start building {{{gcc}}} again. Consider whether I need psychological help. |
| | 193 | 1. The problem is that it can't find {{{cc}}} in the {{{PATH}}} and although {{{/usr}}}, where {{{cc}}} is, SHOULD be in the {{{PATH}}}, it's not getting exported properly fsr. |
| | 194 | 1. Create a symbolic link to {{{/usr/cc}}} in {{{/usr/bin}}}. |
| | 195 | 1. Chainsaw, meet butter. |
| | 196 | 1. {{{make}}}. {{{libiberty}}} makes it all the way through this time. |
| | 197 | 1. NOW WHAT |
| | 198 | {{{ |
| | 199 | cc -arch ppc -no-cpp-precomp -g -c -no-cpp-precomp -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DIN_GCC -W -Wall -Wwri\ |
| | 200 | te-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -mdynamic-no-pic -DHAVE_CONFIG_H -DGE\ |
| | 201 | NERATOR_FILE -I. -I. -I/tmp/gcc3/gcc-1495/gcc -I/tmp/gcc3/gcc-1495/gcc/. -I/tmp/gcc3/gcc-1495/gcc/config -I/tmp/gcc3/gcc-1495/\ |
| | 202 | gcc/../include -I/tmp/gcc3/gcc-1495/gcc/../more-hdrs \ |
| | 203 | ./gengtype-lex.c -o gengtype-lex.o |
| | 204 | gengtype-lex.c:1: warning: ISO C forbids an empty source file |
| | 205 | cc -arch ppc -no-cpp-precomp -g -c -no-cpp-precomp -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DIN_GCC -W -Wall -Wwri\ |
| | 206 | te-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -mdynamic-no-pic -DHAVE_CONFIG_H -DGE\ |
| | 207 | NERATOR_FILE -I. -I. -I/tmp/gcc3/gcc-1495/gcc -I/tmp/gcc3/gcc-1495/gcc/. -I/tmp/gcc3/gcc-1495/gcc/config -I/tmp/gcc3/gcc-1495/\ |
| | 208 | gcc/../include -I/tmp/gcc3/gcc-1495/gcc/../more-hdrs \ |
| | 209 | ./gengtype-yacc.c -o gengtype-yacc.o |
| | 210 | cc: ./gengtype-yacc.c: No such file or directory |
| | 211 | cc: no input files |
| | 212 | gnumake[2]: *** [gengtype-yacc.o] Error 1 |
| | 213 | gnumake[1]: *** [stage1_build] Error 2 |
| | 214 | + status=2 |
| | 215 | + command set +x |
| | 216 | + set +x |
| | 217 | |
| | 218 | ******************************************** |
| | 219 | * *** gnumake failed building compiler *** * |
| | 220 | ******************************************** |
| | 221 | }}} |
| | 222 | 1. Figure this is probably because I don't have bison and yacc installed. Consider the comical aptness of the term "yak-shaving" here. |
| | 223 | 1. Wait a sec, I do have bison and yacc! They're under {{{/usr}}}! Why the hell are they under {{{/usr}}}, anyway, and why isn't {{{/usr}}} in my {{{PATH}}}? Actually, that was probably just because I unzipped a tarball in the wrong place at some point. I guess I'll just put them all in {{{/usr/bin}}}. |
| | 224 | 1. {{{make clean}}} so configure can notice that bison and yacc and flex are there now. {{{make}}} |
| | 225 | 1. |
| | 226 | {{{ |
| | 227 | (cd . && \ |
| | 228 | bison -d -o gengtype-yacc.c /tmp/gcc3/gcc-1495/gcc/gengtype-yacc.y || \ |
| | 229 | ( rm -f gengtype-yacc.c && false ) ) |
| | 230 | bison: /usr/share/bison.simple: No such file or directory |
| | 231 | gnumake[2]: *** [gengtype-yacc.c] Error 1 |
| | 232 | gnumake[1]: *** [stage1_build] Error 2 |
| | 233 | + status=2 |
| | 234 | + command set +x |
| | 235 | + set +x |
| | 236 | |
| | 237 | ******************************************** |
| | 238 | * *** gnumake failed building compiler *** * |
| | 239 | ******************************************** |
| | 240 | }}} |
| | 241 | 1. WTH is {{{bison.simple}}}? |
| | 242 | 1. Download {{{bison.simple}}} off the intorblags and put it in {{{/usr/bin}}}. |
| | 243 | 1. Oh, it wants it to be in {{{/usr/share}}}. Well, sure, put it there too. |
| | 244 | 1. It's missing another include file: |
| | 245 | {{{ |
| | 246 | In file included from /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c:25: |
| | 247 | /usr/include/sys/mman.h:62:39: mach/shared_memory_server.h: No such file or directory |
| | 248 | In file included from /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c:25: |
| | 249 | /usr/include/sys/mman.h:170: parse error before "sf_mapping_t" |
| | 250 | /usr/include/sys/mman.h:171: parse error before "sf_mapping_t" |
| | 251 | /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c: In function `segv_handler': |
| | 252 | /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c:66: dereferencing pointer to incomplete type |
| | 253 | /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c:115: dereferencing pointer to incomplete type |
| | 254 | /tmp/gcc3/gcc-1495/gcc/config/rs6000/host-darwin.c:115: dereferencing pointer to incomplete type |
| | 255 | gnumake[2]: *** [host-darwin.o] Error 1 |
| | 256 | gnumake[1]: *** [stage1_build] Error 2 |
| | 257 | }}} |
| | 258 | 1. What is {{{shared_memory_server.h}}} and why isn't there an easy way to answer the question "what is it, and to get it can I just download the file somewhere or do I have to finally give in and buy the upgrade to Mac OS 10.4?" |