comparison INSTALL.Ubuntu @ 1011:aaf8743df5e7

Updated Ubuntu documentation
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 26 Mar 2013 14:30:29 +0100
parents ce3cacbbccc9
children e6b14a15d5f2
comparison
equal deleted inserted replaced
1010:357c2f892d24 1011:aaf8743df5e7
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 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 libidn11-dev
21 21
22 (note that libidn and libsctp can be avoided by defining DISABLE_SCTP and DIAMID_IDNA_REJECT) 22 (note that libidn 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
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 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 libidn11-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 # Retrieve the latest version of the source package 50 # Retrieve the latest version of the source package
51 cd 51 cd
52 hg clone http://www.freediameter.net/hg/freeDiameter 52 hg clone http://www.freediameter.net/hg/freeDiameter
70 echo "Identity=\"localhost.localdomain\";" >> /etc/freeDiameter/freeDiameter.conf 70 echo "Identity=\"localhost.localdomain\";" >> /etc/freeDiameter/freeDiameter.conf
71 freeDiameterd 71 freeDiameterd
72 72
73 =========================================== 73 ===========================================
74 74
75 freeDiameter has been tested on the following distributions (compiled from source as described below): 75 freeDiameter is tested regularly on all current Ubuntu distributions since Intrepid (compiled from source as described below)
76 Ubuntu Intrepid, Jaunty, Karmic, Lucid, Maverick, Natty.
77 Debian Lenny (with small patch, see ticket #24).
78
79 Ubuntu Hardy support is known to be broken. 76 Ubuntu Hardy support is known to be broken.
80 77
81 The Debian package has been generated with success on Debian (>=Squeeze) and Ubuntu (>=Karmic). 78 The Debian package has been generated with success on Debian (>=Squeeze) and Ubuntu (>=Karmic).
82 79
83 80
84 ===========================================- 81 ===========================================-
85 Step by step instructions without using the debhelper tools: 82 Step by step instructions without using the debhelper tools:
86 83
87 1) Install all packages dependencies 84 1) Install all packages dependencies
88 # sudo apt-get install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn11-dev 85 # sudo apt-get install mercurial cmake make gcc g++ bison flex libsctp-dev libgnutls-dev libgcrypt-dev libidn11-dev
89 86
90 2) (OPTION) If you will compile modules that require postgresql, also install: 87 2) (OPTION) If you will compile modules that require postgresql, also install:
91 # sudo apt-get install libpq-dev 88 # sudo apt-get install libpq-dev
92 and for mysql: 89 and for mysql:
93 # sudo apt-get install libmysqlclient-dev 90 # sudo apt-get install libmysqlclient-dev
113 # make help 110 # make help
114 111
115 9) (OPTION) Check the software has a correct basic behavior on your environment. -- only if you did not disable the tests in step 6 112 9) (OPTION) Check the software has a correct basic behavior on your environment. -- only if you did not disable the tests in step 6
116 # make test 113 # make test
117 114
118 10) Install the software in configured locations: 115 10) (OPTION) Install the software in configured locations:
119 # sudo make install 116 # sudo make install
120 117
121 118
122 =========================================== 119 ===========================================
123 120
"Welcome to our mercurial repository"