ACE 编译安装 linux
时间:2010-06-25 来源:coldwinter011
1,解压:
cd /home/test
tar jxvf ACE-5.7.1.tar.bz2 [test@centos-252 ~]$ pwd
/home/test
[test@centos-252 ~]$ ls
ACE-5.7.1.tar.bz2 ACE_wrappers 2,把下两行加入到~/.bash_profile:
export ACE_ROOT=/home/test/ACE_wrappers
export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH
3,环境变量生效:
source ~/.bash_profile
4,连接文件:
cd $ACE_ROOT/ace
ln -s config-linux.h config.h
cd $ACE_ROOT/include/makeinclude/
ln -s platform_linux.GNU platform_macros.GNU
5,开始编译
cd $ACE_ROOT
mkdir build
cd build
../configure
make
make install
cd /home/test
tar jxvf ACE-5.7.1.tar.bz2 [test@centos-252 ~]$ pwd
/home/test
[test@centos-252 ~]$ ls
ACE-5.7.1.tar.bz2 ACE_wrappers 2,把下两行加入到~/.bash_profile:
export ACE_ROOT=/home/test/ACE_wrappers
export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH
3,环境变量生效:
source ~/.bash_profile
4,连接文件:
cd $ACE_ROOT/ace
ln -s config-linux.h config.h
cd $ACE_ROOT/include/makeinclude/
ln -s platform_linux.GNU platform_macros.GNU
5,开始编译
cd $ACE_ROOT
mkdir build
cd build
../configure
make
make install
相关阅读 更多 +