Changes between Version 18 and Version 19 of GeniTmixSoftware


Ignore:
Timestamp:
03/14/13 16:02:45 (11 years ago)
Author:
Ben Newton
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeniTmixSoftware

    v18 v19  
    3535}}}
    3636
    37 3. Optionally, install the software by issuing the following command:
     373. (Optional) To test the software build, issue the following command:
     38{{{
     39make check
     40}}}
     41
     424. (Optional) The binaries are now available in the src directory.  To install the binaries, issue the following command:
    3843{{{
    3944sudo make install
    4045}}}
    4146
    42 This software requires a number of readily available software packages. Most modern Linux distributions should have these packages available via their native package management suite (eg. yum or apt).
    43 
    44 Debian / Ubuntu
    45 
    46 sudo apt-get install python-m2crypto python-dateutil \
    47                      python-openssl libxmlsec1 xmlsec1 \
    48                      libxmlsec1-openssl libxmlsec1-dev
    49 RedHat / Fedora
    50 
    51 sudo yum install m2crypto python-dateutil pyOpenSSL xmlsec1 \
    52                  xmlsec1-devel xmlsec1-openssl xmlsec1-openssl-devel
    53 CentOS
    54 
    55 Please see InstallCentOs.
    56 
    57 Mac OS X
    58 
    59 Using homebrew
    60 
    61 These instructions use  homebrew.
    62 
    63 To install:
    64 
    65 brew install python
    66 This will install python at /usr/local/bin but the python that comes with Mac OS is at /usr/bin which takes precedent in the path, so modify your ~/.profile file and add this line:
    67       export PATH=/usr/local/bin:$PATH
    68 and then run source ~/.profile
    69 
    70 Type which python to ensure that you are using the right one.
    71 brew install swig
    72 pip install M2Crypto
    73 brew install libxmlsec1
    74 pip install python-dateutil
    75 brew install xmlsec1
    76 pip install pyopenssl
    77 omni-configure.py and omni.py assume that your python is at /usr/bin/python so you have two options:
    78 always invoke them using python, e.g. python src/omni-configure.py and python src/omni.py
    79 modify the first line in each of the files to be #!/usr/local/bin/python
    80 If you want to test if your python can access the libraries you want, just start python in interactive mode and try to import the module (e.g. import M2Crypto).
    81 
    82 MacPorts Instructions
    83 
    84 These instructions have not recently been tested. You may need to edit your PATH or PYTHONPATH to ensure all installed modules are properly found.
    85 
    86 You must have  MacPorts already installed.
    87 
    88 sudo port install py26-m2crypto py26-dateutil py26-openssl xmlsec
    89 cd /opt/local/lib
    90 sudo ln -s libxmlsec1-openssl.dylib libxmlsec1-openssl.so
    91 In each terminal that you wish to run GCF, run this command first for xmlsec1:
    92 
    93 export DYLD_LIBRARY_PATH=/opt/local/lib
    94 Windows / Cygwin
    95 
    96 The necessary libraries are likely available but we have no experience running in this environment.
    9747
    9848Test Run