[Gpg4win-devel] Setup to compile source

Werner Koch wk at gnupg.org
Thu Dec 5 08:47:51 CET 2013


On Wed,  4 Dec 2013 23:30, ashton at ieee.org said:
> Is there a description somewhere of how to go about compiling the source
> code for gpg4win?

It is described in the README file of the installer.

  1. Download the source and binary packages that are required to build
     the installer:
  
     $ cd packages
     $ sh download.sh
     [...]
     $ cd ..
  
  2. Configure the source tree for cross compilation:
  
     $ ./autogen.sh --build-w32
  
  3. Build the installer:
  
     $ make
  
  The installer will be made available in three files:
  
  src/gpg4win-X.Y.Z.exe
  src/gpg4win-light-X.Y.Z.exe
  src/gpg4win-src-X.Y.Z.exe
  
  Basic requirements
  ==================
  
  A decent POSIX system is required for building this software as well
  as GNU make.  We are using Debian GNU/Linux 7 (Wheezy), any other
  POSIX system should work as well but you may run into problems due to
  different toolchain versions.
  
  If you want trying to build under Debian 6 (Lenny) you need to put a
  line "deb http://apt.intevation.org lenny/mingw" into /etc/apt/sources
  and update the mingw packages.  However it building under Lenny is not
  anymore suggested.
  
  To satisfy all needs of configure at least the following packages need
  to be installed:
  
   build-essential (libc6-dev, gcc, g++, make)
   automake 1.11, autoconf (if building from GIT)
   mingw-w64-i686-dev
   mingw-w64-x86-64-dev
   nsis
   stow
   unzip
   texinfo
   imagemagick
   gs-common (gs)
   docbook-utils
   sharutils (uudecode for claws icon patch)
   gettext (msgfmt, dcgettext, gmsgfmt, xgettext for glib)
   libglib2.0-dev (glib-genmarshal, glib-compile-{resources,schemas})
   libgdk-pixbuf2.0-dev (gdk-pixbuf-csource)
   docbook-utils, ghostscript (claws-mail manual)
   texlive (you need most modules, e.g. texlive-latex-extra)
   latex-xcolor (for the compendium)

If you need to include the 64 bit version of gpgex you use 
     
   ./autogen.sh --build-w32-w64


Salam-Shalom,

   Werner
  

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.



More information about the Gpg4win-devel mailing list