Mercurial > hg > freeDiameter
comparison INSTALL.OSX @ 876:f8e8cc0d115b
Added reference to libusrsctp for OSX
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 01 Nov 2012 09:20:10 +0100 |
parents | 27fd6a4ef3f8 |
children | b7002bcc92a5 |
comparison
equal
deleted
inserted
replaced
875:47735fe496bc | 876:f8e8cc0d115b |
---|---|
34 ------------ | 34 ------------ |
35 FROM SOURCES | 35 FROM SOURCES |
36 ------------ | 36 ------------ |
37 | 37 |
38 1) Install Homebrew: | 38 1) Install Homebrew: |
39 See QUICK INSTRUCTION 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 postgres mysql libidn |
43 | 43 |
44 Note: GNU IDN (libidn) is optional, see bellow | 44 Notes: |
45 * GNU IDN (libidn) is optional, see bellow | |
46 * When libusrsctp package is available, you can use it as well. | |
45 | 47 |
46 3) Retrieve Source | 48 3) Retrieve source code: |
47 $ hg clone http://www.freediameter.net/hg/freeDiameter | 49 $ hg clone http://www.freediameter.net/hg/freeDiameter |
48 | 50 |
49 4) Enter Source Folder: | 51 4) Enter source folder: |
50 $ cd freeDiameter | 52 $ cd freeDiameter |
51 | 53 |
52 5) Create Build Folder: | 54 5) Create build folder: |
53 $ mkdir freeDiameter-build | 55 $ mkdir freeDiameter-build |
54 | 56 |
55 6) Enter build folder: | 57 6) Enter build folder: |
56 $ cd freeDiameter-build | 58 $ cd freeDiameter-build |
57 | 59 |
58 7) Configure | 60 7) Configure: |
59 $ cmake .. -DDISABLE_SCTP:BOOL=ON | 61 $ cmake .. -DDISABLE_SCTP:BOOL=ON |
60 or for ncurses based configuration: | 62 |
63 or for ncurses-based configuration: | |
61 $ ccmake .. -DDISABLE_SCTP:BOOL=ON | 64 $ ccmake .. -DDISABLE_SCTP:BOOL=ON |
62 | 65 |
63 Notes: | 66 Notes: |
64 * SCTP is not currently supported on OS X platform | 67 * If you have installed libusrsctp, you can turn off the DISABLE_SCTP switch. |
65 * GNU IDN (Support for International Domain Names) can be disabled with: | 68 * GNU IDN (Support for International Domain Names) can be disabled with: |
66 -DDIAMID_IDNA_IGNORE=ON or -DDIAMID_IDNA_REJECT=ON | 69 -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 | 70 * For more information on available configuration options read: |
71 http://www.freediameter.net/trac/wiki/Installation | |
68 | 72 |
69 8) Compile | 73 8) Compile: |
70 $ make | 74 $ make |
71 | 75 |
72 9) Install | 76 9) Install (might require to be root): |
73 # make install | 77 $ make install |
74 | 78 |
75 ------------------------------------------------ | 79 ------------------------------------------------ |
76 | 80 |
77 These instructions have been tested on OS X: | 81 These instructions have been tested on OS X: |
78 - 10.6.8 (Snow Leopard) | 82 - 10.6.8 (Snow Leopard) |