view INSTALL.OSX @ 1496:288254d567b7

Update 3GPP TS 29.338 V15.1.0 (2018-12) Add AVPs from Table 6.3.3.1/1: SGd/Gdd specific Diameter AVPs: - SC-Address, OctetString, code 3300, section 6.3.3.2 - SM-RP-UI, OctetString, code 3301, section 6.3.3.3 - TFR-Flags, Unsigned32, code 3302, section 6.3.3.4 - SM-Delivery-Failure-Cause, Grouped, code 3303, section 6.3.3.5 - SM-Enumerated-Delivery-Failure-Cause, Enumerated, code 3304, section 6.3.3.6 - SM-Diagnostic-Info, OctetString, code 3305, section 6.3.3.7 - SM-Delivery-Timer, Unsigned32, code 3306, section 6.3.3.10 - SM-Delivery-Start-Time, Time, code 3307, section 6.3.3.11 - SMSMI-Correlation-ID, Grouped, code 3324, section 6.3.3.13 - HSS-ID, OctetString, code 3325, section 6.3.3.14 - Originating-SIP-URI, UTF8String, code 3326, section 6.3.3.15 - Destination-SIP-URI, UTF8String, code 3327, section 6.3.3.16 - OFR-Flags, Unsigned32, code 3328, section 6.3.3.12 - Maximum-Retransmission-Time, Time, code 3330, section 6.3.3.17 - Requested-Retransmission-Time, Time, code 3331, section 6.3.3.18 - SMS-GMSC-Address, OctetString, code 3332, section 6.3.3.19
author Luke Mewburn <luke@mewburn.net>
date Thu, 02 Apr 2020 15:50:40 +1100
parents 389c26b904d7
children 699c3fb0c57b
line wrap: on
line source

See INSTALL file for general instructions on building freeDiameter.

------------------
QUICK INSTRUCTIONS
------------------

Starting from version 1.1.5, freeDiameter is available through Homebrew:

1) Install Homebrew
   a) Install Command Line Tools for Xcode or Xcode:
      - Command Line Tools (your OS X Version) for Xcode:
         https://developer.apple.com/downloads (Free Apple Developer ID Registration Required)
      - or Xcode:
         https://itunes.apple.com/us/app/xcode/id497799835 (Free App Store Account Required)

   b) Install Homebrew
     $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

2) Install freeDiameter:
     $ brew install freediameter

   After installation is done "Caveats" section will provide information
   how to start freeDiameterd through launchd at system startup.

   To view this information again:
     $ brew info freediameter

   To learn more about freeDiameter configuration options, read:
      http://www.freediameter.net/trac/wiki/Configuration

   For more information on available extension and how to configure them, read:
      http://www.freediameter.net/trac/wiki/Extensions

------------
FROM SOURCES
------------

1) Install Homebrew:
   See QUICK INSTRUCTIONS Step #1 above.

2) Install dependencies:
    $ brew install mercurial cmake gnutls libgcrypt postgres mysql libidn

   Notes:
    * GNU IDN (libidn) is optional, see below
    * When libusrsctp package is available, you can use it as well.
        However, it requires some rework on the source code as libusrsctp is not fully
        compliant with the other SCTP stack.

3) Retrieve source code:
    $ hg clone http://www.freediameter.net/hg/freeDiameter

4) Enter source folder:
    $ cd freeDiameter

5) Create build folder:
    $ mkdir freeDiameter-build

6) Enter build folder:
    $ cd freeDiameter-build

7) Configure:
    $ cmake .. -DDISABLE_SCTP:BOOL=ON

   or for ncurses-based configuration:
    $ ccmake .. -DDISABLE_SCTP:BOOL=ON

   Notes:
    * GNU IDN (Support for International Domain Names) can be disabled with:
       -DDIAMID_IDNA_IGNORE=ON or -DDIAMID_IDNA_REJECT=ON
    * For more information on available configuration options, read:
       http://www.freediameter.net/trac/wiki/Installation

8) Compile:
    $ make

9) Install (might require to be root):
    $ make install

------------------------------------------------

These instructions have been tested on OS X:
   - 10.6.8 (Snow Leopard)
   - 10.7.5 (Lion)
   - 10.8.2 (Mountain Lion)
"Welcome to our mercurial repository"