Navigation


Changeset 867:03d5a7892f2a in freeDiameter


Ignore:
Timestamp:
Oct 31, 2012, 4:53:22 AM (10 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Improved instructions for Mac OS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • INSTALL.OSX

    r865 r867  
    55------------------
    66
     7Starting from version 1.1.5, freeDiameter is available through Homebrew:
     8
    791) Install Homebrew
     10   a) Install Command Line Tools for Xcode or Xcode:
     11      - Command Line Tools (your OS X Version) for Xcode:
     12         https://developer.apple.com/downloads (Free Apple Developer ID Registration Required)
     13      - or Xcode:
     14         https://itunes.apple.com/us/app/xcode/id497799835 (Free App Store Account Required)
    815
    9    ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
     16   b) Install Homebrew
     17     $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    1018
    11 2) Starting from version 1.1.5, a brew is available for freeDiameter:
     192) Install freeDiameter
     20     $ brew install freediameter-server
    1221
    13    brew install freediameter-server
     22   After installation is done "Cavets" section will provide information
     23   how to start freeDiameterd through launchd at system startup.
    1424
     25   To view this information again:
     26     $ brew cavets freediameter-server
     27
     28   To learn more about freeDiameter configuration option, read:
     29      http://www.freediameter.net/trac/wiki/Configuration
     30
     31   For more information on available extension and how to configure them, read:
     32      http://www.freediameter.net/trac/wiki/Extensions
    1533
    1634------------
     
    1836------------
    1937
    20 1) Dependencies
    21  a) install Xcode from App Store
    22  b) install homebrew (might require to re-install perl and git also)
    23  c) brew install the following packages:
    24    cmake mercurial gnutls mysql postgresql libidn
     381) Install Homebrew:
     39   See QUICK INSTRUCTION Step #1 above.
    2540
    26 2) Retrieve source folder
    27  hg clone http://www.freediameter.net/hg/freeDiameter
     412) Install Dependencies
     42    $ brew install mercurial cmake gnutls postgres mysql libidn
    2843
    29 3) Configure your build -- execute from your build folder
    30  ccmake /path/to/freeDiameter/sources
     44   Note: GNU IDN (libidn) is optional, see bellow
    3145
    32  (you have to disable SCTP at the moment, before initial configuration)
    33 Example:
    34   mkdir freeDiameter-build
    35   cd freeDiameter-build
    36   ccmake -DDISABLE_SCTP:BOOL=ON /path/to/freeDiameter/sources
    37   /* Select 'c' then choose your options, then 'c' again and 'g' */
    38   make
     463) Retrieve Source
     47    $ hg clone http://www.freediameter.net/hg/freeDiameter
    3948
    40 4) make
     494) Enter Source Folder:
     50    $ cd freeDiameter
    4151
    42 /* note: on my system I have to make a second time for compilation to complete, it seems something is wrong with swig processing order */
     525) Create Build Folder:
     53    $ mkdir freeDiameter-build
    4354
    44 These instructions have been tested on Mac OS X 10.6.8 (Snow Leopard).
    45 They should work smoothly on more recent versions as well.
     556) Enter build folder:
     56    $ cd freeDiameter-build
    4657
     587) Configure
     59    $ cmake .. -DDISABLE_SCTP:BOOL=ON
     60   or for ncurses based configuration:
     61    $ ccmake .. -DDISABLE_SCTP:BOOL=ON
     62
     63   Notes:
     64   * SCTP is not currently supported on OS X platform
     65   * GNU IDN (Support for International Domain Names) can be disabled with:
     66      -DDIAMID_IDNA_IGNORE=ON or -DDIAMID_IDNA_REJECT=ON
     67   * For more information on available configuration options read: http://www.freediameter.net/trac/wiki/Installation
     68
     698) Compile
     70    $ make
     71
     729) Install
     73    # make install
     74
     75------------------------------------------------
     76
     77These instructions have been tested on OS X:
     78   - 10.6.8 (Snow Leopard)
     79   - 10.7.5 (Lion)
     80   - 10.8.2 (Mountain Lion)
Note: See TracChangeset for help on using the changeset viewer.