[Box Backup-commit] COMMIT r2486 - box/trunk/docs/api-notes

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Tue Mar 31 14:36:32 BST 2009


Author: chris
Date: 2009-03-31 14:36:31 +0100 (Tue, 31 Mar 2009)
New Revision: 2486

Modified:
   box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
Log:
Win32 build instructions updated thanks to Achim.


Modified: box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
===================================================================
--- box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt	2009-03-31 12:13:34 UTC (rev 2485)
+++ box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt	2009-03-31 13:36:31 UTC (rev 2486)
@@ -1,22 +1,29 @@
 How to build Box Backup on Win32 using Cygwin and MinGW
-By Chris Wilson, 2007-05-26
+By Chris Wilson, 2009-03-31
 
 (To read this document online with better formatting, browse to:
-http://www.boxbackup.org/trac/wiki/CompileWithMinGW)
+[http://www.boxbackup.org/trac/wiki/CompileWithMinGW])
 
-Start by installing Cygwin on your Windows machine [http://www.cygwin.org].
+Start by installing Cygwin on your Windows machine from [http://www.cygwin.org/cygwin/].
+
 Make sure to select the following packages during installation:
 
+* Devel/automake
+* Devel/autoconf
 * Devel/gcc-mingw
 * Devel/gcc-mingw-core
 * Devel/gcc-mingw-g++
+* Devel/make
+* Devel/mingw-runtime
+* Lib/libxml2
+* Lib/libxslt
 * Mingw/mingw-zlib
+* Perl/Perl
 
 If you already have Cygwin installed, please re-run the installer and
 ensure that those packages are installed.
 
-Download OpenSSL from 
-[http://www.openssl.org/source/openssl-0.9.7i.tar.gz]
+Download OpenSSL from [http://www.openssl.org/source/openssl-0.9.7i.tar.gz]
 
 Open a Cygwin shell, and unpack OpenSSL:
 
@@ -42,12 +49,17 @@
 	export CFLAGS="-mno-cygwin"
 	./configure
 	make winshared
-	cp .libs/libpcre.a .libs/libpcreposix.a /usr/lib/mingw
+	cp .libs/libpcre.a .libs/libpcreposix.a /lib/mingw
 	cp pcreposix.h /usr/include/mingw
 
-Now unpack the Box Backup sources, enter the source directory,
-and configure like this:
+Now get the latest Box Backup sources
 
+	svn co https://www.boxbackup.org/svn/box/trunk/ trunk
+
+Enter the source directory and configure like this:
+
+	cd trunk
 	./infrastructure/mingw/configure.sh
 	make
 
+Note: In case you have any problems during the configure or make stage, please try to eliminate one potential source of problems by running "find -type f -not \( -wholename .*svn*. \) -exec dos2unix {} \;" in the trunk directory to fix potential line break problems.




More information about the Boxbackup-commit mailing list