You cannot see this page without javascript.

Linux 환경에서 ACE framework 설치하기

Linux 조회 수 690 추천 수 0 2015.01.12 12:15:33

$ wget http://download.dre.vanderbilt.edu/previous_versions/ACE-6.2.2.tar.gz
$ tar xvfz ACE-6.2.2.tar.gz
$ vi ~/.bash_profile
ACE_ROOT=/home/vagrant/ACE_wrappers; export ACE_ROOT

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace:$ACE_ROOT/lib:/usr/local/lib:/usr/lib; export LD_LIBRARY_PATH

PATH=$PATH:.:$JAVA_HOME/bin:$HOME/bin; export PATH

$ source ~/.bash_profile
$ cd ACE_wrappers
$ cd ace
$ ln -s config-linux.h config.h
$ cd $ACE_ROOT/include/makeinclude
$ ln -s platform_linux.GNU platform_macros.GNU
$ cd $ACE_ROOT
$ make
$ cd /home/vagrant/ACE_wrappers/examples/Threads
$ make
$ ./task_one
(140169006995200) in iteration 1
(140169006995200) in iteration 2
(140169006995200) in iteration 3
(140169006995200) in iteration 4
(140169006995200) in iteration 5
(140169031112480) done
 

 

 

 

 

 

 

 

 

 

1. 공식 다운로드 페이지에서 ACE-5.5.tar.gz파일을 다운로드 받습니다.

2. 환경 변수를 설정합니다.(~/.bash_profile)
  - ACE_ROOT=/home/k2/Apps/ACE_wrappers;export ACE_ROOT
  - LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH; 
    export LD_LIBRARY_PATH

3. $ACE_ROOT/ace에서 심볼릭 링크 추가합니다.
  - ln -s config-linux.h config.h

4. $ACE_ROOT/include/makeinclude 에서 심볼릭 링크 추가합니다.
  - ln -s platform_linux.GNU platform_macros.GNU

5. $ACE_ROOT/ace에서 make

6. 컴파일 제대로 되었는지 확인합니다.
  - $ACE_ROOT/examples/Threads에서 make
  - ./task_one 실행하면은 아래 결과처럼 나오면 성공이에요
  (3076410288) in iteration 1
  (3076410288) in iteration 2
  (3076410288) in iteration 3
  (3076410288) in iteration 4
  (3076410288) in iteration 5
  (3076412064) done

7. 설치된 라이브러리 디렉토리는 $ACE_ROOT/lib입니다.

8. 그 다음 ACE 라이브러리를 확인하여 서버 프로그램 개발을 하면 됩니다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
249 CentOS APM 소스 설치 file [15] LynX 2015-05-29 1053
248 CentOS apm소스 [9] LynX 2015-05-29 835
247 CentOS postfix dovecot roundcube [10] LynX 2015-05-08 582
246 Network GNS3 상세 설정 file [26] LynX 2015-04-29 3110
245 Network GNS3 메뉴 , VPCS file [34] LynX 2015-04-29 1794
244 Network NAT 구성 file [13] LynX 2015-04-29 921
243 Network HSRP 구성 file [20] LynX 2015-04-29 802
242 Network EtherChannel / Spanning-Tree file [14] LynX 2015-04-29 489
241 Network VLAN 설정 ② Trunk mode / Routing file [12] LynX 2015-04-29 594
240 Network VLAN 설정 ① Access mode file [27] LynX 2015-04-29 4269
239 Linux musescore LynX 2015-03-28 3778
238 Linux Error in FS_Check LynX 2015-03-19 442
237 Linux ODBC 설정 [30] LynX 2015-03-18 1726
236 Linux Bomi Player [24] LynX 2015-02-27 975
235 CentOS apache.service LynX 2015-02-25 414
234 HTML Tag css, cascading style sheets, 스타일 정의 방법 [9] LynX 2015-02-06 1832
233 HTML Tag HTML문서에 CSS를 사용하는 3가지 방법 LynX 2015-02-06 352
232 SoftWare 포토샵 버튼 [17] LynX 2015-01-27 416
» Linux Linux 환경에서 ACE framework 설치하기 [11] LynX 2015-01-12 690
230 Linux WOW server [13] LynX 2015-01-11 1847

XE Login