changeset 234:f91fe0b85928

Updated INSTALL files
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 04 Mar 2010 17:32:00 +0900
parents 87ca7b66a90c
children 8773740401a5
files INSTALL INSTALL.FreeBSD INSTALL.Ubuntu
diffstat 3 files changed, 61 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Thu Mar 04 17:24:31 2010 +0900
+++ b/INSTALL	Thu Mar 04 17:32:00 2010 +0900
@@ -16,17 +16,11 @@
 or edit the CCmakeCache.txt file directly.
 
 Note that there are dependencies on external tools that may not be enforced by the configure script.
-On Ubuntu Intrepid, the following packages were required (aptitude install ...):
- gcc make flex bison libsctp1 libsctp-dev cmake libgnutls-dev libgcrypt-dev
-
-On FreeBSD the following packages were required:
- cmake flex bison
-Then the cmake command had to look like:
- cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ...
+See the specific INSTALL.distro files matching your situation.
 
 make install has not been tested yet and will probably not behave as expected!
 
-You can also configure which extensions to build with CMake:
+You can configure which extensions to build with CMake:
 IGNORE_ALL_EXTENSIONS:BOOL=OFF    (or the following are ignored)
 BUILD_APP_TEST:BOOL=ON
 BUILD_RT_ANY:BOOL=ON
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/INSTALL.FreeBSD	Thu Mar 04 17:32:00 2010 +0900
@@ -0,0 +1,48 @@
+See INSTALL file for general instructions on building freeDiameter.
+
+------------------
+QUICK INSTRUCTIONS
+------------------
+
+On FreeBSD-8.0 the following packages were required (should be same on FreeBSD-7.x):
+ cmake flex bison gnutls
+
+Then the cmake command had to look like:
+ cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ...
+
+
+---------------------
+COMPLETE INSTRUCTIONS
+---------------------
+
+1) If you don't have freeBSD yet:
+   Install minimal system + ports using initial installer /usr/sbin/sysinstall
+
+
+2) Install cmake
+
+ a) from sources:
+    # cd /usr/ports/devel/cmake
+    # make install
+    
+ b) from package (don't forget to set your PACKAGEROOT appropriately: set PACKAGEROOT=ftp://ftp.jp.freebsd.org):
+    # pkg_add -v -r cmake
+	
+ 
+3) Install mercurial (optional)
+  (replace "cmake" by "mercurial" in the previous command) 
+
+4) Install flex and bison.
+
+5) Retrieve freeDiameter source code:
+   # cd ~
+   # /usr/local/bin/hg clone http://aaa.koganei.wide.ad.jp/hg/freeDiameter/
+   
+6) Make a build directory
+   # mkdir fD-build
+   # cd fD-build
+   
+7) Run cmake for freeDiameter (add other flags as you see fit, see INSTALL for more details)
+   # cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ../freeDiameter
+
+8) make, run, enjoy :)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/INSTALL.Ubuntu	Thu Mar 04 17:32:00 2010 +0900
@@ -0,0 +1,11 @@
+See INSTALL file for general instructions on building freeDiameter.
+
+On Ubuntu / Debian, the following packages are required (aptitude install ...):
+ cmake make gcc flex bison libsctp1 libsctp-dev libgnutls-dev libgcrypt-dev
+ 
+Additionnaly, these ones may be useful:
+ mercurial gdb
+
+
+Tested working: Ubuntu Intrepid, Jaunty, Karmic. Debian Lenny.
+Tested not working: Ubuntu Hardy.
"Welcome to our mercurial repository"