comparison INSTALL.Ubuntu @ 1561:699c3fb0c57b

Switch from libidn to libidn2. libidn2 is the backwards compatible successor to libidn, and at least Red Hat 8 does not provide a dev package for libidn1.
author Thomas Klausner <wiz@gatalith.at>
date Wed, 16 Jun 2021 18:44:45 +0200
parents e6b14a15d5f2
children
comparison
equal deleted inserted replaced
1560:9084c6f94a0a 1561:699c3fb0c57b
15 ln -s contrib/debian 15 ln -s contrib/debian
16 16
17 ============================================ 17 ============================================
18 18
19 The following packages are required to compile freeDiameter from source: 19 The following packages are required to compile freeDiameter from source:
20 cmake make gcc g++ flex bison libsctp1 libsctp-dev libgnutls-dev libgcrypt-dev libidn11-dev 20 cmake make gcc g++ flex bison libsctp1 libsctp-dev libgnutls-dev libgcrypt-dev libidn2-dev
21 21
22 (note that libidn and libsctp can be avoided by defining DISABLE_SCTP and DIAMID_IDNA_REJECT) 22 (note that libidn2 and libsctp can be avoided by defining DISABLE_SCTP and DIAMID_IDNA_REJECT)
23 23
24 Additionnaly, these ones may be useful: 24 Additionnaly, these ones may be useful:
25 mercurial gdb 25 mercurial gdb
26 26
27 Extensions additional dependencies: 27 Extensions additional dependencies:
42 42
43 If your debhelper environment is recent (> 7.3.9 for cmake support), 43 If your debhelper environment is recent (> 7.3.9 for cmake support),
44 the following commands should generate the freeDiameter packages for you: 44 the following commands should generate the freeDiameter packages for you:
45 45
46 # Install the dependencies for building the source: 46 # Install the dependencies for building the source:
47 sudo apt-get -y install mercurial cmake make gcc g++ bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn11-dev ssl-cert debhelper fakeroot \ 47 sudo apt-get -y install mercurial cmake make gcc g++ bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn2-dev ssl-cert debhelper fakeroot \
48 libpq-dev libmysqlclient-dev libxml2-dev swig python-dev 48 libpq-dev libmysqlclient-dev libxml2-dev swig python-dev
49 49
50 # On latest Ubuntu you will need libgnutls28-dev instead of libgnutls-dev 50 # On latest Ubuntu you will need libgnutls28-dev instead of libgnutls-dev
51 51
52 # Retrieve the latest version of the source package 52 # Retrieve the latest version of the source package
82 82
83 ===========================================- 83 ===========================================-
84 Step by step instructions without using the debhelper tools: 84 Step by step instructions without using the debhelper tools:
85 85
86 1) Install all packages dependencies 86 1) Install all packages dependencies
87 # sudo apt-get install mercurial cmake make gcc g++ bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn11-dev 87 # sudo apt-get install mercurial cmake make gcc g++ bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn2-dev
88 88
89 2) (OPTION) If you will compile modules that require postgresql, also install: 89 2) (OPTION) If you will compile modules that require postgresql, also install:
90 # sudo apt-get install libpq-dev 90 # sudo apt-get install libpq-dev
91 and for mysql: 91 and for mysql:
92 # sudo apt-get install libmysqlclient-dev 92 # sudo apt-get install libmysqlclient-dev
"Welcome to our mercurial repository"