CentOS release 6.5 (Final)
或者 CentOS release 5.8 (Final) 都測試安裝成功 linux
ACE :ACE-6.3.0.tar.gz app
1
2
3
|
wget
http
:
//download.dre.vanderbilt.edu/previous_versions/ACE-6.3.0.tar.gz
tar
zxf
ACE
-
6.2.0.tar.gz
mv
ACE_wrappers
/
usr
/
local
/
|
1
2
3
4
5
|
cat
>
/
etc
/
profile
.
d
/
ace
.
sh
<<
'EOF'
export
ACE_ROOT
=
/
usr
/
local
/
ACE_wrappers
export
LD_LIBRARY_PATH
=
$
ACE_ROOT
:
$
LD_LIBRARY_PATH
EOF
source
/
etc
/
profile
.
d
/
ace
.
sh
|
1
2
3
4
5
6
7
8
|
echo
'#include "ace/config-linux.h"'
>
$
ACE_ROOT
/
ace
/
config
.
h
echo
'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU'
>
$
ACE_ROOT
/
include
/
makeinclude
/
platform_macros
.
GNU
echo
'INSTALL_PREFIX = /usr/local'
>>
$
ACE_ROOT
/
include
/
makeinclude
/
platform_macros
.
GNU
#若是須要生成靜態庫,須要加入 static_libs = 1
echo
'static_libs = 1'
>>
$
ACE_ROOT
/
include
/
makeinclude
/
platform_macros
.
GNU
cd
$
ACE_ROOT
/
ace
;
make
&&
make
install
|
值得注意的地方就是 ace 編譯配置這個地方,否則安裝會報錯 測試
好了,,安裝完成。 spa