Changes between Version 44 and Version 45 of WikiStart


Ignore:
Timestamp:
Oct 31, 2006 2:39:36 PM (13 years ago)
Author:
andreasw
Comment:

added info about updating local copy

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v44 v45  
    1818 
    1919 1. Find out what version of the code you would like to obtain.
    20    * '''If you only want to download and compile the code only once''', we recommend that you get the source code archive from the [http://www.coin-or.org/download/source COIN source site].  For each package, you find a subdirectory there that with several archives.  Usually, you would choose the one with the latest release number, such as {{{Pgk.x.y.z.tgz}}}.
    21    * '''If you want to stay up to date with bug-fixes and improvements''', we recommand that you use [wiki:user-download#ObtainingtheCodeUsingSubversion subversion] to get the latest '''stable branch'''.  In this way, you can get updates of the source code very easily at a later point, without having to having to redo all the installation steps.  You will need to know the number of the stable branch you want to obtain (see the projects' home page).  Below, we denote this number with {{{x.y}}}.
     20   * '''If you only want to download and compile the code only once''', we recommend that you '''get the source code archive''' from the [http://www.coin-or.org/download/source COIN source site].  For each package, you find a subdirectory there that with several archives.  Usually, you would choose the one with the latest release number, such as {{{Pgk.x.y.z.tgz}}}.
     21   * '''If you want to stay up to date with bug-fixes and improvements''', we recommand that you use [wiki:user-download#ObtainingtheCodeUsingSubversion subversion] to '''get the latest stable branch'''.  In this way, you can get updates of the source code very easily at a later point, without having to having to redo all the installation steps.  You will need to know the number of the stable branch you want to obtain (see the projects' home page).  Below, we denote this number with {{{x.y}}}.
    2222 1. Get the code for the desired package {{{Pkg}}}:
    2323   * ''As archive'': Download the archive {{{Pgk-x.y.z.tgz}}} from the [http://www.coin-or.org/download/source COIN source archive site] and extract it, for example with
     
    3030svn co https://projects.coin-or.org/svn/Pkg/stable/x.y  Pkg-x.y
    3131}}}
    32 The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code.
     32     The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code.
    3333 1. Go into the downloaded directory, create a subdirectory for the compiled code, and run the configuration script
    3434{{{
     
    4343make
    4444}}}
    45  1. Test the compiled code
     45 1. Test the compiled code (optional)
    4646{{{
    4747make test
     
    5151make install
    5252}}}
    53 This will create subdirectories {{{bin}}}, {{{lib}}}, and {{{include}}} in the download directory with the product of the compilation.
     53    This will create subdirectories {{{bin}}}, {{{lib}}}, and {{{include}}} in the download directory with the product of the compilation.
     54 1. If you downloaded the code with subversion, you can update your local copy of the stable branch and recompile.
     55{{{
     56cd /path/to/Pkg-x.y
     57svn update
     58cd build
     59}}}
     60  and continue at the compilation step 4 above.
    5461
    5562If these simple instructions don't work for you, please check for [wiki:pm-detailed more detailed information], and visit the