Changes between Version 1 and Version 2 of BuildingFromSource


Ignore:
Timestamp:
10/06/11 15:20:49 (3 years ago)
Author:
ales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFromSource

    v1 v2  
    66To build orange from source you first have to make sure you have a C++ tool-chain installed 
    77on your system. Supported compilers are gcc (g++) for Linux and Mac OSX and Microsoft Visual 
    8 C++ on Windows (MinGW is not supported at this time).[[BR]] 
     8C++ on Windows (MinGW is not supported at this time). 
     9[[BR]] 
    910 
    1011* On Windows install the free [http://www.microsoft.com/express Visual Studio Express] 
     
    1920 
    2021Go to[http://orange.biolab.si/nightly_builds.html nightly builds] and download the latest nightly packed 
    21 sources zip archive and unpack it somewhere (for instance in your home directory).[[BR]] 
     22sources zip archive and unpack it somewhere (for instance in your home directory). 
     23[[BR]] 
    2224 
    2325Alternatively you can checkout the sources from the svn (note that due to a different directory structure 
     
    4345python setup.py install  
    4446}}} 
     47 
    4548to install the library in the system site-packages. This may require administrative privileges. If you don't have 
    46 them you can install Orange into the user specific site-packages (see [http://docs.python.org/install/index.html#how-installation-works] 
    47 for more information on installation schemes) 
    48  
     49them you can install Orange into the user specific site-packages. See [http://docs.python.org/install/index.html#how-installation-works] 
     50for more information on other installation schemes. Note that if you install orange in a non-system/user site-packages 
     51(for instance by using the the 'home' scheme) you will either need to add the install dir to PYTHONSITEPACKAGES (that is 
     52because orange needs Python to process its .pth file to add the appropriate directories to the sys.path). 
    4953 
    5054=== Using make === 
    5155 
    5256This is mostly only useful to developers intending to modify/develop orange C++ code (this can only build the extensions 
    53 in-place, i.e. it does not support an install command) [[BR]] 
     57in-place, i.e. it does not support an install command) 
     58[[BR]] 
     59 
    5460First change the working directory to the 'source' sub-directory then run make 
    5561{{{ 
     
    6268 
    6369 
     70== Linking to external libraries == 
     71 
     72The Orange sources come bundled with some third party libraries that are build and linked (statically) into Orange. 
     73These are: 
     74 
     75 * BLAS (a subset) 
     76 * LIBSVM (v3.2 - v3.* is required) 
     77 * LIBLINEAR (v1.8) 
     78 * QHull 
     79 
     80You can customize the build process to instead link to the corresponding external library if you already have them 
     81installed.  
     82 
     83==== setup.py ==== 
     84 
     85For the setup.py method this is done by modifying the  
     86[http://orange.biolab.si/trac/browser/trunk/orange/setup-site.cfg setup-site.cfg] file in the Orange root directory. 
     87See the comments in that file for instructions and examples on how to customize the process. 
     88 
     89==== make ==== 
     90 
     91TODO 
    6492 
    6593 
     94