Changeset 320

Show
Ignore:
Timestamp:
04/25/07 04:00:37 (2 years ago)
Author:
keinfarbton
Message:

updated README

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/README

    r318 r320  
    11SWT: 
    22 
    3 Requirements: 
     3= Requirements = 
    44* D Compiler 
    55    www.digitalmars.com 
     
    77    www.dsource.org/projects/dsss 
    88* Rake (Ruby Make) 
    9     windows installer, including rake: http://rubyinstaller.rubyforge.org/wiki/wiki.pl 
    10     linux: comes with the disto, e.g. ubuntu "apt-get install rake" 
     9    Ruby windows installer, including rake: http://rubyinstaller.rubyforge.org/wiki/wiki.pl 
     10    linux: Ruby comes with the disto, e.g. ubuntu "apt-get install rake" 
    1111* Tango 
    1212    www.dsource.org/projects/tango 
    13     after installing, runng "dsss build", "dsss install" in the tango root directory 
     13    after installing, run "dsss build", "dsss install" in the tango root directory 
    1414* Mango (xml sax parser for tioport/bintod) 
    1515    www.dsource.org/projects/mango 
     
    1717    Or, even more simple, just run "dsss net install mango" 
    1818 
    19 = Last successfully tested with these dependencies =  
    20  * "+" was currentl version 
    21  * "-" needed downgrade 
     19= Last successfully tested with these dependencies = 
     20 * "+" was successful tested with the current version 
     21 * "-" was successful tested but a downgrade was needed 
    2222 
    2323    == Linux == 
     
    3636run "rake -T" to get a list with the available build targets. 
    3737 
    38      1. Build the libs 
     38     1. First build the libs (dejavu,swt), the target swt321 builds both 
    3939        rake swt321 
    4040     2. Build all examples 
     
    4646     rake swt-3.2.1-examples/paint 
    4747 
    48 After that the dejavu and the SWT lib were build and installed, 
    49 you can also run the compilation of a single example: 
    50     cd swt-3.2.1-examples 
    51     dsss build paint.d 
    52  
    5348To run the examples, some dynamic libs need to be accessible by the exmamples. 
    5449On Window either copy the swt-....dll from the swt-3.2.1-win32/libs directory 
    5550    to a directory, that is already in the PATH, or add this directory to the PATH 
    56     environment variable. 
     51    environment variable. Or copy the DLLs to the directory of the executable you 
     52    want to run. 
    5753On Linux do the same with the LD_LIBRARY_PATH variable. Additionally the mozilla libs are needed. 
    5854    SWT is linked with everything (at the moment), this include also the browser components. 
    59     LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk ./paint 
     55    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk/libs ./paint 
    6056    .. or .. 
    61     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk 
     57    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk/libs 
    6258 
    6359Then run: