For FC8

  1. Make sure gcc, gcc-c++, bison, flex, make, openssl and openssl-devel are present

  2. Install boost-devel:

1
yum -y install boost-devel
  1. Set environment variable:
1
export BOOST_ROOT=/usr/include/
  1. Get ACE Here.

  2. Extract and build ACE:

1
2
3
4
tar xvf ACE-5.5.tar.gz
cd ACE_wrappers
mkdir build
cd build
  1. Patch the configure file:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
--- configure.orig 2008-08-05 11:11:19.000000000 -0800
+++ configure 2008-08-05 11:13:30.000000000 -0800
...
@@ -10329,7 +10329,7 @@ _ACEOF
*)
{ echo "$as_me:$LINENO: enabling GNU G++ visibility attribute support" >&5
echo "$as_me: enabling GNU G++ visibility attribute support" >&6;}
- ACE_GXX_VISIBILITY_FLAGS="-fvisibility=hidden -fvisibility-inlines-hidden"
+ ACE_GXX_VISIBILITY_FLAGS="-fvisibility=hidden"
ACE_CXXFLAGS="$ACE_CXXFLAGS $ACE_GXX_VISIBILITY_FLAGS"
cat >>confdefs.h <<_ACEOF
  1. Configure and build:
1
2
3
cd build
../configure
make && make install
  1. Set ACE_ROOT:
1
export ACE_ROOT=/usr/local/src/ACE_wrappers/
  1. Build OpenDiameter:
1
2
3
4
5
tar xvf opendiameter-1.0.7-i.tar.gz
cd opendiameter-1.0.7-i
./configure
make
make install