$tar zxvf ORBexpressST.tar.gz
$ cd ./OIS/ORBexpress/ST_2.6.1/host/x86_linux_9.0/bin/ $ ./INSTALL_LICENSE
I have the authority to bind the Customer to this agreement. (Y/N) I have read and understand this agreement. (Y/N) I hereby agree to all of the terms of this agreement on behalf of the Customer. (Y/N) I additionally agree to personally honor the restrictions set forth in this agreement. (Y/N)
Enter your ORBexpress RT_2.4.0 License Key 05957······
$cd /usr/lib $su #ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2 #exit
# unzip p3006854_9204_LINUX.zip
Archive: p3006854_9204_LINUX.zip
creating: 3006854/
inflating: 3006854/rhel3_pre_install.sh
inflating: 3006854/README.txt
# cd 3006854
# sh rhel3_pre_install.sh
Applying patch...
Patch successfully applied
#Error occurred during initialization of VM Unable to load native library:/home/openrtm/OIS/ORBexpress/ST_2.6.1/host/x86_linux_9.0/jre-1.3.1/lib/i386/libjava.so: symbol__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
$./idl2cpp -help Usage is: idl2cpp [-help | options] input-file -a Generate typecodes & type Any support for user-defined IDL types [default=false] -bm Generate MSVC++ V6 and prior bug-compatible code (not for V7 and later) [default=false] -bo Generate g++ 2.7 bug-compatible code [default=false] -d<sym> Define pre-processor symbol <sym> -ea Generate servant to require only impls with _env arg [default=true] -ee Generate servant to allow impls both with and without _env arg [default=false] -ex Generate servant to require only impls without _env arg [default=false] -fi<n> Set formatting indent to <n> spaces [default=4] -fm<n> Set formatting margin to column <n> [default=80] -fh<ext> Set C++ header file extension to <ext> [default=h] -fx<ext> Set C++ source file extension to <ext> [default=cxx] -i<dir> Search <dir> for #included files -m Map IDL modules to C++ namespaces [default=false] -n Generate code for #included files [default=false] -pl Use POA policies on local invocations [default=false] -q Don't generate model _impl files [default=false] -r Generate client code only, implies -q [default=false] -s Syntax and semantic check only [default=false] -ts<size> Allocate temporaries larger than size on heap instead of stack [default=1000000] -u<sym> Undefine pre-processor symbol <sym> -v Print version number and license info -help Print this message $
우선 소스 코드 OpenRTM-aist-0.4.x-ORBexpress.tar.gz zip를 적당한 디렉토리에 전개합니다.
$tar xvzf OpenRTM-aist-0.4.x-ORBexpress.tar.gz $cd OpenRTM-aist-0.4.x-ORBexpress
OpenRTM-aist는 패키지의 빌드에 autoconf, automake를 사용하고 있습니다. 빌드의 방법은 다른 autoconf, automake를 사용한 패키지와 같은 방법으로 실시합니다. ./configure에게 주는 옵션에 ORBexpress를 인스톨 한 디렉토리를 지정합니다. 이하는, ORBexpress를 /home/openrtm/의 아래에 전개했을 경우의 것입니다.
$./configure --with-orbexpress=/home/openrtm/OIS/ORBexpress/ST_2.6.1
※디렉토리는 /OIS/ORBexpress/ST_2.6.1 까지 지정.
그 외 사용 가능한 옵션은
$./configure --help
configure가 정상적으로 종료한 것을 확인해 주십시오. 정상적으로 종료하면 make 합니다.
$make
인스톨 하기 위해서는 적어도
OpenRTM-aist-0.4.x-ORBexpress/rtm OpenRTM-aist-0.4.x-ORBexpress/rtm/idl OpenRTM-aist-0.4.x-ORBexpress/util/rtm-config OpenRTM-aist-0.4.x-ORBexpress/util/rtm-naming OpenRTM-aist-0.4.x-ORBexpress/util/rtc-template
이하의 디렉토리가 정상적으로 빌드 되고 있을 필요가 있습니다. 빌드가 정상적으로 종료되면 헤더 파일, 라이브러리, 유틸리티 커멘드군을 인스톨 합니다.
$su #make install