您的位置:首页 > 运维架构

ubuntu 9.04编译TAO+ACE+OPENDDS

2014-03-29 10:10 736 查看
1 在这里下载ACE+TAO.tar.gz:
http://download.dre.vanderbilt.edu/

2 在这里下载OpenDDS-2.0.tar.gz:
http://download.ociweb.com/OpenDDS/

3 设环境变量:

在文件"~/.bashrc"里,添加如下几行,注销以后再次打开shell就生效了:-)

export DDS_ROOT=/home/ppa/DDS

export ACE_ROOT=/home/ppa/ACE_wrappers

export TAO_ROOT=/home/ppa/ACE_wrappers/TAO

export PATH=$ACE_ROOT/bin:"${PATH}"

export PATH=$DDS_ROOT/bin:"${PATH}"

export LD_LIBRARY_PATH=$ACE_ROOT/lib:"${LD_LIBRARY_PATH}"

export LD_LIBRARY_PATH=$DDS_ROOT/lib:"${LD_LIBRARY_PATH}"

4 Create platform_macros.GNU at $ACE_ROOT/include/makeinclude with:
debug=1

optimize=0

include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU

5 Create config.h at $ACE_ROOT/ace with:
#include "ace/config-linux.h"

4 Build and install ACE under $ACE_ROOT:

a Change directory to $ACE_ROOT/ace and execute make.

b Also build GPERF under $ACE_ROOT/apps/gperf/src

5 Build and install TAO under $TAO_ROOT

6 Build and install OpenDDS under $DDS_ROOT:

make

编译ACE+TAO:

解压ACE+TAO,参考ACE-INSTALL.html编译.

ps:第一次没有编译成功,现在正在弄第二次,希望一切顺利~

ps2:第二次也没成功~

ps3:ACE-INSTALL.html, TAO-INSTALL.html和DDS/docs/INSTALL里记录的安装步骤都有问题,估计文档太久没更新了~

ps4:make步骤的执行时间比较长,所以要提高make线程的优先级来节省时间, "nice –20 make"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: