Download

Source package from ftp://download.dre.vanderbilt.edu/previous_versions/ACE-6.1.0.tar.gz

and

Doxygen document from ftp://download.dre.vanderbilt.edu/previous_versions/ACE-html-6.1.0.tar.gz


Edit your shell environment : in case of bash,

export ACE_ROOT={ACE installation path}            // ACE_wrappers directory.
export DYLD_LIBRARY_PATH=$ACE_ROOT/lib:$DYLD_LIBRARY_PATH



Create 2 files


1. $ACE_ROOT/ace/config.h

#include "ace/config-macosx-lion.h"
#define  ACE_NEEDS_DL_UNDERSCORE


2. $ACE_ROOT/include/makeinclude/platform_macros.GNU

include $(ACE_ROOT)/include/makeinclude/platform_macosx_lion.GNU
INSTALL_PREFIX=/usr/local
install_rpath=0



Finally, just execute;

make
make install


The last command, make install, may fails. you may need to run it as a root.


On other platforms, some configurations should be changed.

  • DYLD_LIBRARY_PATH => LD_LIBRARY_PATH, LIBPATH, or SHLIB
  • ace/config-macosx-lion.h => ace/config-{platform}.h
  • $(ACE_ROOT)/include/makeinclude/platform_macosx_lion.GNU => $(ACE_ROOT)/include/makeinclude/platform_{platform}.h
  • install_rpath => {NO NEED}


Enjoy it!!

'$ SaVvY > » computer' 카테고리의 다른 글

C++의 string 클래스 대신 String 클래스를 만들어 쓰기전에...  (0) 2013.07.10
문자열검색 알고리즘. KMP  (0) 2013.07.10
Public DNS server  (0) 2013.07.10
Red-Black Tree flow diagram  (0) 2013.07.09
GDBM User Reference  (0) 2013.07.05
Posted by Jason Ryu
,