Monday, June 15, 2009

Building GnuTLS 2.10.5 for Win32

GnuTLS is a library providing network security and used by many open-source software. I am compiling GnuTLS for Windows in order to port open-source software from Linux. GnuTLS depends on the following libraries:

The following commands are meant to be typed in a MSYS terminal. If you don’t understand what MSYS is, follow the instruction in this post to install MinGW first. Then, open a MSYS terminal from the desktop or Start menu.

  1. Zlib

    Although zlib is optional for GnuTLS, you can compile zlib as in this post.

  2. libgpg-error 1.10

    Compile libgpg-error:

    ./configure --prefix=/mingw --enable-static
    make
    make install
  3. libgcrypt 1.5.0

    Compile libgcrypt:

    ./configure --prefix=/mingw --enable-static
    make
    make install
  4. libtasn1 2.13

    Compile libtasn1:

    ./configure --prefix=/mingw
    make
    make install
  5. GnuTLS 2.10.5

    Build GNUtls:

    ./configure --prefix=/mingw --disable-guile --enable-static
    make
    make install

Also Read

About This Blog

KBlog logo This blog seeks to provide useful information to people, based on the author's knowledge and experience. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Follow by Email

Total Pageviews