Changes between Version 12 and Version 13 of BuildingInstructions
- Timestamp:
- Sep 21, 2016, 4:54:22 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingInstructions
v12 v13 14 14 - GCC compiler version 4.9.2 for OS/2 and the patched !OpenWatcom linker. The GCC compiler must be set up to use the !OpenWatcom linker for linking. Note that GCC 4.4.4 is known to have problems with the {{{_System}}} modifier and is not suitable for building Lucide SOM DLLs for this reason. 15 15 16 Installing via yum or Arca Noae Package Manager is recommended. Copy the following list of packages and paste into Arca Noae Package Manager's Quick install dialog or pass to {{{yum install}}} on the command line: 17 18 {{{kbuild gcc gcc-wlink gcc-wrc libc-devel poppler poppler-devel pthread pthread-devel os2tk45 os2tk45-headers os2tk45-libs}}} 16 If you do not have a working GCC environment with the above requirements, it is recommended that you use the ANPM to install GCC 4.9.2 distribution from the Netlabs RPM repository. Follow the installation instructions contained in the README file to set up the GCC environment. 17 18 Installing via yum or Arca Noae Package Manager is recommended. Copy the following list of packages and paste into Arca Noae Package Manager's Quick install dialog or pass to {{{yum install}}} on one command line: 19 20 {{{ 21 kbuild gcc gcc-wlink gcc-wrc watcom-wlink-hll watcom-rc libc-devel poppler poppler-devel pthread pthread-devel 22 os2tk45 os2tk45-headers os2tk45-libs exceptq-devel djvulibre-libs djvulibre-devel libjpeg libjpeg-devel 23 }}} 24 25 - wipfc.exe, the Watcom ipf (help file) compiler (available from the Netlabs RPM repository using ANPM or yum. 26 Note: wipfc.exe is currently in the [/lucide/browser/trunk/tools tools directory] pending adding it to the Netlabs repository. 27 28 - The 2.0 Beta 1 Open Watcom linker (wl.exe), resource compiler (wrc.exe) and (wipfc.exe - mentioned above). 29 30 - Mapxqs.exe from the exceptq-devel package 19 31 20 32 - SOM SDK 2.x. The one that is part of the OS/2 Tooklit version 4.5 is known to work and recommended. Note that installing the Toolkit is not required (though it will also work) -- you may simply extract the "som" subdirectory (with all its contents) from the Toolkit and place it in some directory. (You don't need to put any statements in CONFIG.SYS in this case.) … … 32 44 - OS/2 Toolkit (installed with eCS, ArcaOS, or as above via yum or Arca Noae Package Manager). 33 45 46 - djvulibre_dll.a (and its include files which are part of djvulibre-devel, installed above via yum or Arca Noae Package Manager). 47 48 - djvulibre-libs (installed above via yum or Arca Noae Package Manager). 49 50 - jpeg.a (and its include files which are part of libjpeg-devel, installed above via yum or Arca Noae Package Manager). 51 52 - libjpeg (installed above via yum or Arca Noae Package Manager). 34 53 35 54 === Setting up the environment === … … 44 63 Start {{{env.cmd}}} to setup the environment and type {{{kmk}}} in the root directory of the Lucide source tree to start kBuild and build the release version of Lucide and all plugins. 45 64 46 If you are a developer, you may prefer to use the {{{se.cmd}}} script instead of starting {{{env.cmd}}} in each new shell. This script will allow you to run {{{kmk}}} in the correct environment from any directory inside the Lucide source tree by simply typing {{{se kmk}}} in that directory. This is especially handy if you use e.g. File Commander as your development IDE. The {{{se.cmd}}} script may be obtained from here: 47 48 ftp://ftp.netlabs.org/pub/qt4/tools/se10.zip 65 If you are a developer, you may prefer to use the {{{se.cmd}}} script instead of starting {{{env.cmd}}} in each new shell. This script will allow you to run {{{kmk}}} in the correct environment from any directory inside the Lucide source tree by simply typing {{{se kmk}}} in that directory. This is especially handy if you use e.g. File Commander as your development IDE. The {{{se.cmd}}} script may be obtained from [/lucide/browser/trunk/tools the tools directory]. 49 66 50 67 … … 99 116 == Useful links == 100 117 101 * poppler library is found on poppler.freedesktop.org102 * djvu library is found djvu.sourceforge.net103 * jpeg library www.ijg.com118 * [http://poppler.freedesktop.org/ poppler library] 119 * [http://djvu.sourceforge.net djvu library] 120 * [http://www.ijg.com jpeg library] 104 121 105 122