There seems to be a good deal of interest on the sword list, so I&#39;m posting here too. Apologies if it&#39;s out of place.<br><br>These are preliminary instructions. It is quite possible that I have forgotten something important. Please let me know if there are any problems or issues with these. Also, I know very little about autotools and some of the things I have done could be fixed in a better way, so don&#39;t hesitate to say so.<br>
<br>Remember when editing any files, particularly shell scripts or your profile, that you need to preserve unix line endings. Notepad will not be your friend here. If you like vi, that comes with msys. Otherwise, I recommend Notepad++. Emacs is also available for windows, of course.<br>
<br><br>Gnomesword/Windows build instructions<br><br>Install mingw base system only<br>&nbsp;&nbsp;&nbsp; <a href="http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=240780">http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=240780</a><br>
Install msys<br>&nbsp;&nbsp;&nbsp; <a href="http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=24963">http://sourceforge.net/project/showfiles.php?group_id=2435&amp;package_id=24963</a><br>Install msysDTK directly over msys (direct link to file)<br>
&nbsp;&nbsp;&nbsp; <a href="http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?modtime=1041430674&amp;big_mirror=1">http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?modtime=1041430674&amp;big_mirror=1</a><br>Install m4-1.4.7-MSYS into your msys /bin<br>
&nbsp;&nbsp;&nbsp; <a href="http://downloads.sourceforge.net/mingw/m4-1.4.7-MSYS.tar.bz2?modtime=1162303978&amp;big_mirror=1">http://downloads.sourceforge.net/mingw/m4-1.4.7-MSYS.tar.bz2?modtime=1162303978&amp;big_mirror=1</a><br>Install strawberry perl in default location<br>
&nbsp;&nbsp;&nbsp; <a href="http://strawberryperl.com/">http://strawberryperl.com/</a><br>Set the environment variable INTLTOOL_PERL=/path/to/strawberry/bin/perl<br>&nbsp;&nbsp;&nbsp; export INTLTOOL_PERL=/c/strawberry/perl/bin/perl<br>&nbsp;&nbsp;&nbsp; this is done in c:\msys\1.0\etc\profile<br>
----notice-----<br>&nbsp;&nbsp;&nbsp; for all following instructions, when you run configure do it with --prefix=/mingw<br>install gnome versions of utilities<br>&nbsp;&nbsp;&nbsp; <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/">http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/</a><br>
&nbsp;&nbsp;&nbsp; create a directory c:\msys\1.0\dev<br>&nbsp;&nbsp;&nbsp; add it to your path (in profile)<br>&nbsp;&nbsp;&nbsp; unpack everything there<br>&nbsp;&nbsp;&nbsp; you need at this point, pkg-config, gettext, gettext-deve, gettext-runtime, gettext-runtime-dev<br>add this line to your profile<br>
&nbsp;&nbsp;&nbsp; export PKG_CONFIG_PATH=/dev/lib/pkgconfig<br>upgrade autoconf to 2.63 from source<br>&nbsp;&nbsp;&nbsp; <a href="http://ftp.gnu.org/gnu/autoconf/">http://ftp.gnu.org/gnu/autoconf/</a><br>upgrade automake to 1.9 from source<br>&nbsp;&nbsp;&nbsp; <a href="http://ftp.gnu.org/gnu/automake/">http://ftp.gnu.org/gnu/automake/</a><br>
install libcurl<br>&nbsp;&nbsp;&nbsp; <a href="http://curl.haxx.se/download.html">http://curl.haxx.se/download.html</a><br>&nbsp;&nbsp;&nbsp; (direct linke) <a href="http://www.gknw.net/mirror/curl/win32/curl-7.19.0-devel-mingw32.zip">http://www.gknw.net/mirror/curl/win32/curl-7.19.0-devel-mingw32.zip</a><br>
&nbsp;&nbsp;&nbsp; find curl-config script from linux and copy it to /mingw/bin<br>compile sword-1.5.11 from source (<br>&nbsp;&nbsp;&nbsp; with libcurl is easier than ftplib<br>&nbsp;&nbsp;&nbsp; you will have to manually alter makefile to link against regex<br>download gnomesword 2.4.1<br>
download lots of gnome libs and unpack them in dev<br>&nbsp;&nbsp;&nbsp; for everything, you need the normal and developer package<br>&nbsp;&nbsp;&nbsp; atk, cairo, fontconfig, freetype, gail, gconf, glib, gnome-common, gnome-doc-utils, gnome-vfs, goocanvas, gtk+, gtkhtml-3.18, intltool, libart, libbonobo, libbonoboui, libbzip, libffi, libglade, libgnome, libgnomecanvas, libgnome, libgnomeprint, libgnomeprintui, libgnomeui, libiconv, libIDL, libpng, libxml2, ORBIT, popt, pthreads, zlib<br>
alter configure script to allow compilation without scrollkeeper<br>apply linux/windows diff <br>&nbsp;&nbsp;&nbsp; hopefully most will be unnecessary soon<br>&nbsp;&nbsp;&nbsp; mailed to gnomesword-developers<br>run configure with --enable-gtkhtml --disable-scrollkeeper --prefix=/mingw<br>
make<br>&nbsp;&nbsp;&nbsp; you will have to alter the makefile in libs to link against libcurl.dll (-lcurl doesn&#39;t work)<br>make install<br>run gnomesword<br><br>getting gnomesword free from mingw is another topic.<br><br><br>helpful links<br>
<br><a href="http://live.gnome.org/Planner/Windows">http://live.gnome.org/Planner/Windows</a><br><a href="http://www.go-evolution.org/Building_Evolution_on_Windows">http://www.go-evolution.org/Building_Evolution_on_Windows</a><br>
<a href="http://www.mingw.org/wiki/msys">http://www.mingw.org/wiki/msys</a><br>