Compiling libsoup for Windows

From AbiWiki

Revision as of 17:31, 9 June 2008 by Rp (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Getting Started

  • Get an even-minor-version (like 2.2.5) zip of GNUTLS from http://josefsson.org/gnutls4win/ and unzip it.
  • In the lib directory, open every .la file and replace "/home/jas/gnutls4win/inst" with "/mingw" - no quotes. Also, remove any instances of " -L../../../src/gnutls-2.2.5/lib/.libs" at the beginning of dependency_libs strings.
  • Overlay the unzipped, fixed files (that is, the bin, include, lib, and so on directories) on your mingw tree.
  • Download the libsoup source from [1] and the patch from AbiWord Bug #11639, and apply the patch, placed inside the untarred source dir, using
patch -p1 < patch-name.diff

Configuration

  • In an MSYS shell in the location where you untarred the source, run
./configure --enable-ssl --prefix=/mingw

Building and Packaging

  • In the same msys shell, run
make
Personal tools