Changeset 2486


Ignore:
Timestamp:
31/03/2009 14:36:31 (3 years ago)
Author:
chris
Message:

Win32 build instructions updated thanks to Achim.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt

    r2478 r2486  
    11How to build Box Backup on Win32 using Cygwin and MinGW 
    2 By Chris Wilson, 2007-05-26 
     2By Chris Wilson, 2009-03-31 
    33 
    44(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]) 
    66 
    7 Start by installing Cygwin on your Windows machine [http://www.cygwin.org]. 
     7Start by installing Cygwin on your Windows machine from [http://www.cygwin.org/cygwin/]. 
     8 
    89Make sure to select the following packages during installation: 
    910 
     11* Devel/automake 
     12* Devel/autoconf 
    1013* Devel/gcc-mingw 
    1114* Devel/gcc-mingw-core 
    1215* Devel/gcc-mingw-g++ 
     16* Devel/make 
     17* Devel/mingw-runtime 
     18* Lib/libxml2 
     19* Lib/libxslt 
    1320* Mingw/mingw-zlib 
     21* Perl/Perl 
    1422 
    1523If you already have Cygwin installed, please re-run the installer and 
    1624ensure that those packages are installed. 
    1725 
    18 Download OpenSSL from  
    19 [http://www.openssl.org/source/openssl-0.9.7i.tar.gz] 
     26Download OpenSSL from [http://www.openssl.org/source/openssl-0.9.7i.tar.gz] 
    2027 
    2128Open a Cygwin shell, and unpack OpenSSL: 
     
    4350        ./configure 
    4451        make winshared 
    45         cp .libs/libpcre.a .libs/libpcreposix.a /usr/lib/mingw 
     52        cp .libs/libpcre.a .libs/libpcreposix.a /lib/mingw 
    4653        cp pcreposix.h /usr/include/mingw 
    4754 
    48 Now unpack the Box Backup sources, enter the source directory, 
    49 and configure like this: 
     55Now get the latest Box Backup sources 
    5056 
     57        svn co https://www.boxbackup.org/svn/box/trunk/ trunk 
     58 
     59Enter the source directory and configure like this: 
     60 
     61        cd trunk 
    5162        ./infrastructure/mingw/configure.sh 
    5263        make 
    5364 
     65Note: 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.