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
209 APM mysql ./configure LynX 2017-12-15 729
208 HardWare PacketTracer533_setup file LynX 2013-10-16 727
207 Windows7 OEM을 활용하여 클린설치 file [11] LynX 2010-11-06 717
206 Linux 리눅스 게이밍 가이드 2부 : 실전 게임 플레이와 문제 해결 [13] LynX 2014-12-24 714
205 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 709
204 PHP 5.3 + MSSQL 연동 [2] LynX 2012-12-08 699
203 APM PHP 5.5.12 설치 file LynX 2013-12-31 698
202 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 695
201 로우 포맷(Low level format, 저수준 포맷) 하기 file [11] LynX 2011-07-06 692
» Linux Linux 환경에서 ACE framework 설치하기 [11] LynX 2015-01-12 690
199 Linux CentOS (5.x, 6.x) - Apache Web Server 2.4 file LynX 2014-06-26 684
198 Windows XP 핫픽스 통합 시디 만들기 [18] LynX 2013-06-20 675
197 CentOS7 ▒ Doly의 CentOS7 강좌28 12. 네트워크 보안설정 12.1 firewalld (1/2) file [10] LynX 2015-06-09 671
196 Linux LFS/Introduction - 소개 [8] LynX 2014-08-06 669
195 CentOS network card setup [1] LynX 2016-04-20 660
194 Linux forever 설치 [18] LynX 2015-06-10 660
193 HTML Tag 모바일 웹에서 동영상 재생방법 LynX 2013-07-13 658
192 CentOS7 ▒ Doly의 CentOS7 강좌30 12. 네트워크 보안설정 12.2 iptables 서비스 (1/3) file [11] LynX 2015-06-09 646
191 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 645
190 Linux Fedora 크롬 루트로 실행 LynX 2014-06-27 645

XE Login