Changeset 2486
- Timestamp:
- 31/03/2009 14:36:31 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
r2478 r2486 1 1 How to build Box Backup on Win32 using Cygwin and MinGW 2 By Chris Wilson, 200 7-05-262 By Chris Wilson, 2009-03-31 3 3 4 4 (To read this document online with better formatting, browse to: 5 http://www.boxbackup.org/trac/wiki/CompileWithMinGW)5 [http://www.boxbackup.org/trac/wiki/CompileWithMinGW]) 6 6 7 Start by installing Cygwin on your Windows machine [http://www.cygwin.org]. 7 Start by installing Cygwin on your Windows machine from [http://www.cygwin.org/cygwin/]. 8 8 9 Make sure to select the following packages during installation: 9 10 11 * Devel/automake 12 * Devel/autoconf 10 13 * Devel/gcc-mingw 11 14 * Devel/gcc-mingw-core 12 15 * Devel/gcc-mingw-g++ 16 * Devel/make 17 * Devel/mingw-runtime 18 * Lib/libxml2 19 * Lib/libxslt 13 20 * Mingw/mingw-zlib 21 * Perl/Perl 14 22 15 23 If you already have Cygwin installed, please re-run the installer and 16 24 ensure that those packages are installed. 17 25 18 Download OpenSSL from 19 [http://www.openssl.org/source/openssl-0.9.7i.tar.gz] 26 Download OpenSSL from [http://www.openssl.org/source/openssl-0.9.7i.tar.gz] 20 27 21 28 Open a Cygwin shell, and unpack OpenSSL: … … 43 50 ./configure 44 51 make winshared 45 cp .libs/libpcre.a .libs/libpcreposix.a / usr/lib/mingw52 cp .libs/libpcre.a .libs/libpcreposix.a /lib/mingw 46 53 cp pcreposix.h /usr/include/mingw 47 54 48 Now unpack the Box Backup sources, enter the source directory, 49 and configure like this: 55 Now get the latest Box Backup sources 50 56 57 svn co https://www.boxbackup.org/svn/box/trunk/ trunk 58 59 Enter the source directory and configure like this: 60 61 cd trunk 51 62 ./infrastructure/mingw/configure.sh 52 63 make 53 64 65 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.
Note: See TracChangeset
for help on using the changeset viewer.
