Changes between Initial Version and Version 1 of Building_Instructions


Ignore:
Timestamp:
Dec 29, 2011, 11:14:28 AM (13 years ago)
Author:
herwigb
Comment:

GnuPG: Fill building instructions page.

Legend:

Unmodified
Added
Removed
Modified
  • Building_Instructions

    v1 v1  
     1= Building Instructions for GnuPG for eCS (OS/2) =
     2
     3== As provided by Tobias Huerlimann ==
     4
     5Compiling GnuPG shouldn't be a problem anymore because of the OS/2 specific handwritten makefiles (Makefile.os2).
     6Software requirements
     7
     8To compile GnuPG for OS/2 you need the following software:
     9
     10    * Innotek GCC.
     11    * EMX GCC should also work (older releases were compiled with it), but you will have to adapt some things.
     12    * GNU Make
     13      The makefiles are not in nmake syntax
     14    * A unixish shell, for example: Bash
     15    * A LibINTL library that knows UNIXROOT (e.g. I used the gettext package from Innotek)
     16    * libbzip2, for example from Hobbes
     17
     18Additional software is needed to create the man pages in INF format or the NLS files.
     19
     20    * IPFC from the OS/2 Developer's Toolkit
     21      For the creation of the INF file
     22    * msgfmt.exe from the GNU gettext package
     23      For the creation of the NLS packages
     24
     25If you also want to install GnuPG via the makefiles, the following tools should be in PATH:
     26
     27    * cp
     28    * cmp
     29    * mkdir
     30    * test
     31
     32Build process
     33
     34   1. Makefile.os2 assumes that the shell is called sh.exe. If that is not the case, please change Makefile.os2.config accordingly.
     35   2. If you want to change the install destination (default: %UNIXROOT%/usr), please edit:
     36          * Makefile.os2.config
     37          * os2/os2init.c
     38   3. If you do not have IPFC or msgfmt.exe and therefore cannot create the INF documentation or the NLS packages, delete the directories "doc" and "po" from the variable "SUBDIRS" in Makefile.os2.
     39   4. Now "make -f Makefile.os2" should be enough to compile GnuPG.
     40   5. Optional: "make -f Makefile.os2 check" runs a small testsuite. You have to install rndos2.dll or RexxEGD before that.
     41   6. Optional: "make -f Makefile.os2 install-files" installs GnuPG in the %UNIXROOT% hierarchy.
     42
     43== Updating the source ==
     44
     45You have to edit the following OS/2 specific files:
     46
     47 * os2/PKGINFO : properly set the version number
     48 * config.h : properly set the version number (multiple places!)
     49 * Makefile.os2.config : properly set the version number
     50
     51''Note:'' running sh ./configure creates new makefile and new config.h, both are not usable right now!