Mercurial > hg > freeDiameter
annotate INSTALL.FreeBSD @ 249:6e6ada749a11
Replaced clock_nanosleep since it is missing on FreeBSD platform
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 02 Apr 2010 15:55:26 +0900 |
parents | 63fef1e56bc4 |
children | 7842bed901ca |
rev | line source |
---|---|
234 | 1 See INSTALL file for general instructions on building freeDiameter. |
2 | |
3 ------------------ | |
4 QUICK INSTRUCTIONS | |
5 ------------------ | |
6 | |
7 On FreeBSD-8.0 the following packages were required (should be same on FreeBSD-7.x): | |
8 cmake flex bison gnutls | |
9 | |
10 Then the cmake command had to look like: | |
11 cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ... | |
12 | |
13 | |
14 --------------------- | |
15 COMPLETE INSTRUCTIONS | |
16 --------------------- | |
17 | |
18 1) If you don't have freeBSD yet: | |
19 Install minimal system + ports using initial installer /usr/sbin/sysinstall | |
20 | |
21 | |
22 2) Install cmake | |
23 | |
24 a) from sources: | |
25 # cd /usr/ports/devel/cmake | |
26 # make install | |
27 | |
28 b) from package (don't forget to set your PACKAGEROOT appropriately: set PACKAGEROOT=ftp://ftp.jp.freebsd.org): | |
29 # pkg_add -v -r cmake | |
30 | |
31 | |
32 3) Install mercurial (optional) | |
33 (replace "cmake" by "mercurial" in the previous command) | |
34 | |
238
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
35 4) Install flex and bison, same way. |
234 | 36 |
37 5) Retrieve freeDiameter source code: | |
38 # cd ~ | |
39 # /usr/local/bin/hg clone http://aaa.koganei.wide.ad.jp/hg/freeDiameter/ | |
40 | |
41 6) Make a build directory | |
42 # mkdir fD-build | |
43 # cd fD-build | |
44 | |
45 7) Run cmake for freeDiameter (add other flags as you see fit, see INSTALL for more details) | |
238
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
46 # /usr/local/bin/cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ../freeDiameter |
234 | 47 |
48 8) make, run, enjoy :) | |
238
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
49 |
239
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
50 |
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
51 |