Changes between Initial Version and Version 1 of Documentation/BuildingStXTroubleshooting


Ignore:
Timestamp:
Dec 11, 2013, 11:49:56 PM (10 years ago)
Author:
jan vrany
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/BuildingStXTroubleshooting

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