Changes between Version 67 and Version 68 of Documentation/BuildingStXWithRakefiles


Ignore:
Timestamp:
Sep 28, 2018, 11:00:19 AM (6 years ago)
Author:
jan vrany
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/BuildingStXWithRakefiles

    v67 v68  
    6262 * Ruby 2.1 or newer
    6363 * rake
    64  * (Open)JDK 7 (newer is not supported)
     64 * JDK (Java Development Kit)
    6565 * Apache Ant
    6666
     
    338338Tested on [[https://wiki.debian.org/DebianStretch|Debian Stretch]], both 64bit and 32bit, standard installations.
    339339
    340 Install following packages:
    341 {{{
    342 sudo aptitude install ruby mercurial cvs build-essential bison flex libc6-dev gcc-multilib libx11-dev default-jdk ant libglib2.0-dev libwebkitgtk-dev libsoup2.4-dev libxext-dev unixodbc-dev libgl1-mesa-dev libfl-dev
    343 }}}
     340 * Install following packages:
     341   {{{
     342   sudo aptitude install ruby mercurial cvs build-essential bison flex libc6-dev gcc-multilib libx11-dev default-jdk ant libglib2.0-dev libwebkitgtk-dev libsoup2.4-dev libxext-dev unixodbc-dev libgl1-mesa-dev libfl-dev
     343   }}}
     344
     345 * Install and setup JDK 7 for use with [[http://swing.fit.cvut.cz/projects/stx/doc/online/english/programming/java.html|stx:libjava]] ('''optional'''):
     346
     347 Smalltalk/X Java integration (`stx:libjava`) requires OpenJDK 6 or (better) 7. '''Java 8 and newer are not yet supported'''.
     348 However, you '''do not need OpenJDK 7 installed''' in order to build the system - Open JDK is required '''only when you want
     349 to run Java code''' within Smalltalk/X.
     350
     351 To install OpenJDK 7, the best is to install [[https://www.azul.com/downloads/zulu/zulu-linux/|Zulu 7]] (Azul provides `.deb` packages). The only issue is that Zulu packages set themselves as default for `java` and `javac` command which will cause
     352 problems since other Java packages these days requires newer Java (`ant`, for example). To fix that, use Debian's
     353 [[https://wiki.debian.org/DebianAlternatives|update-alternatives]] to switch back to your desired default Java version. In short:
     354   {{{
     355   wget https://cdn.azul.com/zulu/bin/zulu7.24.0.1-jdk7.0.191-linux_amd64.deb
     356   sudo dpkg -i zulu7.24.0.1-jdk7.0.191-linux_amd64.deb
     357   sudo update-alternatives --config java
     358   sudo update-alternatives --config javac
     359   }}}
    344360
    345361This should be everything you need to compile Smalltalk/X jv-branch as [[#InaNutshell|described above]]
    346362
    347 '''Building 32bit Smalltalk/X on 64bit system'''
    348 
    349 To build 32bit Smalltalk/X on 64bit system, you need to install 32bit versions of some libraries in addition to above:
     363{{{
     364#!div class="note"
     365
     366To build '''32bit Smalltalk/X on 64bit system''', you need to install 32bit versions of some libraries in addition to above:
    350367
    351368{{{
     
    353370apt-get update
    354371apt-get install libx11-dev:i386 libxext-dev:i386 libxft2:i386 libxinerama-dev:i386 libodbc1:i386 odbcinst1debian2:i386 libgl1-mesa-dev:i386 libfl-dev:i386
     372}}}
     373
    355374}}}
    356375