Changes between Version 5 and Version 6 of documentation/howto/build
- Timestamp:
- 08/30/11 09:54:09 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/howto/build
v5 v6 24 24 In general it is quite simple to get HAMcast working on UNIX platforms. For a start you only have to download our latest prototype release (LINK) and the build.sh script provided. However, you may also manually compile H∀Mcast - this is pretty easy, as we use automake to generate configure-scripts and Makefiles. The source code of H∀Mcast is structured into three main parts, plus some software examples: 25 25 26 Multicast API (libhamcast/) 27 Middleware component (middleware/) 28 Technology modules (modules/<technology>) 29 Examples (programs/<software>) 26 * Multicast API (libhamcast/) 27 28 * Middleware component (middleware/) 29 30 * Technology modules (modules/<technology>) 31 32 * Examples (programs/<software>) 33 30 34 Run the following sequence of commands in all subdirectories (libhamcast, middleware ...): 35 {{{ 36 automake -i && ./configure && make 37 }}} 31 38 32 automake -i && ./configure && make33 39 If you have root access, you may also install libhamcast on your system (though we recommend to test it first on a non-productive system) with: 40 {{{ 41 make install 42 }}} 34 43 35 make install 36 37 38 Note for Linux users 44 === Note for Linux users === 39 45 40 46 If you're getting the error "No CAS for this plattform", then you need to set your hardware architecture by hand using the configure script. run "uname -m" to see your hardware architecture, this should be one of i568, i686 or x86_64, then (re)run the configure script as follows: 41 47 {{{ 42 48 ./configure CXXFLAGS="-march={YOUR_ARCH}" 49 }}} 43 50 where {YOUR_ARCH} is your hardware architecture (note: GCC expects x86-64 instead of x86_64), if you are unsure use native. Continue with make.