| 1 | = Troubleshooting Smalltalk/X build process = |
| 2 | |
| 3 | Despite all the time we invest into a new build environment, the building process is still not |
| 4 | fool proof and things may go wrong. Easily than you may think :-) This page contains description of |
| 5 | some of common problems and provides some hints. |
| 6 | |
| 7 | Obviously, this list is incomplete and we'll add more as we'll go by... |
| 8 | |
| 9 | == How to generate symbols == |
| 10 | You cannot compile librun? Do you have your symbols.h empty? |
| 11 | {{{ |
| 12 | cd <builder>/build/stx/librun |
| 13 | rm -rf symbols.h |
| 14 | make STC=../stc/stc symbols.h |
| 15 | }}} |
| 16 | |
| 17 | == I updated {{{rbspec}}} files, re-compiled but the new projects are not included == |
| 18 | * Go to the <buildtree>/builder/build/projects/smalltalk |
| 19 | * Use |
| 20 | {{{ |
| 21 | make clobber |
| 22 | rake compile |
| 23 | }}} |
| 24 | |
| 25 | == How to create *.c file? == |
| 26 | For example, you have {{{InstvarAccessSample.st}}}. To create *c file, type: |
| 27 | {{{ |
| 28 | make InstvarAccessSample.c |
| 29 | }}} |
| 30 | |
| 31 | Do not forget to delete the *c file after it becomes obsolete. rake/make '''does not''' automatically delete the *c files, but it uses them to do the *so library. |
| 32 | |
| 33 | == I have a build error == |
| 34 | This might be tricky, now |
| 35 | |
| 36 | === stx: not founf === |
| 37 | {{{ |
| 38 | /bin/sh: stc: not found |
| 39 | make[1]: *** [__STANDARD_C_RULE__] Error 127 |
| 40 | }}} |
| 41 | |
| 42 | Use |
| 43 | {{{ |
| 44 | make STC=../stc/stc |
| 45 | }}} |
| 46 | |
| 47 | |
| 48 | == Why there are no sources for librun and stc? == |
| 49 | These sources are not available. You have to either ask [http://www.exept.de eXept] or |
| 50 | use precompiled versions. |