Mercurial > hg > freeDiameter
comparison INSTALL.OSX @ 887:ad9fe07688b7
freeDiameter package is now available in brews for OSX. Fixed a few cosmetics and typos
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 15 Nov 2012 08:42:19 +0100 |
parents | b7002bcc92a5 |
children | ce3cacbbccc9 |
comparison
equal
deleted
inserted
replaced
886:4e2b4eef5908 | 887:ad9fe07688b7 |
---|---|
8 | 8 |
9 1) Install Homebrew | 9 1) Install Homebrew |
10 a) Install Command Line Tools for Xcode or Xcode: | 10 a) Install Command Line Tools for Xcode or Xcode: |
11 - Command Line Tools (your OS X Version) for Xcode: | 11 - Command Line Tools (your OS X Version) for Xcode: |
12 https://developer.apple.com/downloads (Free Apple Developer ID Registration Required) | 12 https://developer.apple.com/downloads (Free Apple Developer ID Registration Required) |
13 - or Xcode: | 13 - or Xcode: |
14 https://itunes.apple.com/us/app/xcode/id497799835 (Free App Store Account Required) | 14 https://itunes.apple.com/us/app/xcode/id497799835 (Free App Store Account Required) |
15 | 15 |
16 b) Install Homebrew | 16 b) Install Homebrew |
17 $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | 17 $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" |
18 | 18 |
19 2) Install freeDiameter | 19 2) Install freeDiameter: |
20 $ brew install freediameter-server | 20 $ brew install freediameter |
21 | 21 |
22 After installation is done "Cavets" section will provide information | 22 After installation is done "Caveats" section will provide information |
23 how to start freeDiameterd through launchd at system startup. | 23 how to start freeDiameterd through launchd at system startup. |
24 | 24 |
25 To view this information again: | 25 To view this information again: |
26 $ brew cavets freediameter-server | 26 $ brew info freediameter |
27 | 27 |
28 To learn more about freeDiameter configuration options, read: | 28 To learn more about freeDiameter configuration options, read: |
29 http://www.freediameter.net/trac/wiki/Configuration | 29 http://www.freediameter.net/trac/wiki/Configuration |
30 | 30 |
31 For more information on available extension and how to configure them, read: | 31 For more information on available extension and how to configure them, read: |
37 | 37 |
38 1) Install Homebrew: | 38 1) Install Homebrew: |
39 See QUICK INSTRUCTIONS Step #1 above. | 39 See QUICK INSTRUCTIONS Step #1 above. |
40 | 40 |
41 2) Install dependencies: | 41 2) Install dependencies: |
42 $ brew install mercurial cmake gnutls postgres mysql libidn | 42 $ brew install mercurial cmake gnutls libgcrypt postgres mysql libidn |
43 | 43 |
44 Notes: | 44 Notes: |
45 * GNU IDN (libidn) is optional, see bellow | 45 * GNU IDN (libidn) is optional, see bellow |
46 * When libusrsctp package is available, you can use it as well. | 46 * When libusrsctp package is available, you can use it as well. |
47 | 47 |
48 3) Retrieve source code: | 48 3) Retrieve source code: |
49 $ hg clone http://www.freediameter.net/hg/freeDiameter | 49 $ hg clone http://www.freediameter.net/hg/freeDiameter |
57 6) Enter build folder: | 57 6) Enter build folder: |
58 $ cd freeDiameter-build | 58 $ cd freeDiameter-build |
59 | 59 |
60 7) Configure: | 60 7) Configure: |
61 $ cmake .. -DDISABLE_SCTP:BOOL=ON | 61 $ cmake .. -DDISABLE_SCTP:BOOL=ON |
62 | 62 |
63 or for ncurses-based configuration: | 63 or for ncurses-based configuration: |
64 $ ccmake .. -DDISABLE_SCTP:BOOL=ON | 64 $ ccmake .. -DDISABLE_SCTP:BOOL=ON |
65 | 65 |
66 Notes: | 66 Notes: |
67 * If you have installed libusrsctp, you can turn off the DISABLE_SCTP switch. | |
68 * GNU IDN (Support for International Domain Names) can be disabled with: | 67 * GNU IDN (Support for International Domain Names) can be disabled with: |
69 -DDIAMID_IDNA_IGNORE=ON or -DDIAMID_IDNA_REJECT=ON | 68 -DDIAMID_IDNA_IGNORE=ON or -DDIAMID_IDNA_REJECT=ON |
70 * For more information on available configuration options read: | 69 * For more information on available configuration options, read: |
71 http://www.freediameter.net/trac/wiki/Installation | 70 http://www.freediameter.net/trac/wiki/Installation |
72 | 71 |
73 8) Compile: | 72 8) Compile: |
74 $ make | 73 $ make |
75 | 74 |