Changeset 867:03d5a7892f2a in freeDiameter
- Timestamp:
- Oct 31, 2012, 4:53:22 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL.OSX
r865 r867 5 5 ------------------ 6 6 7 Starting from version 1.1.5, freeDiameter is available through Homebrew: 8 7 9 1) 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) 8 15 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)" 10 18 11 2) Starting from version 1.1.5, a brew is available for freeDiameter: 19 2) Install freeDiameter 20 $ brew install freediameter-server 12 21 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. 14 24 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 15 33 16 34 ------------ … … 18 36 ------------ 19 37 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 38 1) Install Homebrew: 39 See QUICK INSTRUCTION Step #1 above. 25 40 26 2) Retrieve source folder27 hg clone http://www.freediameter.net/hg/freeDiameter41 2) Install Dependencies 42 $ brew install mercurial cmake gnutls postgres mysql libidn 28 43 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 31 45 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 46 3) Retrieve Source 47 $ hg clone http://www.freediameter.net/hg/freeDiameter 39 48 40 4) make 49 4) Enter Source Folder: 50 $ cd freeDiameter 41 51 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 */ 52 5) Create Build Folder: 53 $ mkdir freeDiameter-build 43 54 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. 55 6) Enter build folder: 56 $ cd freeDiameter-build 46 57 58 7) 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 69 8) Compile 70 $ make 71 72 9) Install 73 # make install 74 75 ------------------------------------------------ 76 77 These 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.