Mercurial > hg > freeDiameter
annotate INSTALL.FreeBSD @ 239:aba4342b5916
Update status on freeBSD -- still, not running well
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 08 Mar 2010 15:06:49 +0900 |
parents | 62eaf631eb61 |
children | a83f320fba1f |
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 |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
50 ------ |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
51 STATUS |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
52 ------ |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
53 *) clock_nanosleep: |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
54 This function will prevent the build of the tests, it needs to be fixed (TODO) |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
55 Workaround: use -DSKIP_TESTS:BOOL=ON |
62eaf631eb61
Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
56 |
239
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
57 *) Extensions loading: |
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
58 It seems the loader in freeBSD does not make symbols globals as in Linux, this needs |
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
59 more investigation. Do not load any extension for now (quite useless...) |
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
60 |
aba4342b5916
Update status on freeBSD -- still, not running well
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
238
diff
changeset
|
61 |