[openrtm-users 00491] Re: OpenRTM ubuntu8用debパッケージの不具合

Ando Noriaki n-ando @ aist.go.jp
2008年 6月 22日 (日) 10:06:46 JST


末永様

産総研 安藤です

ご報告ありがとうございます。
修正いたしますので、いましばらくお待ちください。

穐本様、安藤様、宮本様
debパッケージの修正、動作確認、リポジトリデータベースの更新およびアップロード
を至急お願いいたします。

2008/06/21 5:56 Tsuyoshi Suenaga <tsuyo-s @ is.naist.jp>:
> 産総研 安藤さま
>
> 奈良先端大 末永です.
>
> 開発環境に ubuntu8 を使用しております.
> OpenRTM のページで配布されております pkg_install_ubuntu.sh を使用し
> インストールを行いました.インストール自体は特にエラーもなく完了しましたが,
> /usr/bin/rtm-config 内の変数に不明なパスが設定されているため,
> 開発コンポーネントのコンパイルができません.
>
> 応急処置的ですが,添付の rtm-config に置き換えることでコンパイルが
> 可能でした.修正点もあわせて rtm-config.patch として添付いたします.
>
> パッケージ作成時のオプション等に問題があるように思われます.
> ご確認いただけますと助かります.
>
> --
> --------------------------------------------
> 末永 剛 (Tsuyoshi Suenaga)
> 奈良先端科学技術大学院大学 情報科学研究科
> ロボティクス講座 研究員
> e-mail: tsuyo-s @ is.naist.jp
> URL:    http://robotics.naist.jp/~tsuyo-s/
> --------------------------------------------
>
>
> #!/bin/sh
>
> rtm_prefix="/usr"
> rtm_exec_prefix="/usr"
> rtm_cflags="-Wall -fPIC -O2 -I/usr/include/rtm/idl"
> rtm_libs="-Wl,-z,defs -L/usr/lib -lACE -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC"
> rtm_libdir="/usr/lib/OpenRTM-aist"
> rtm_version="0.4.2"
> rtm_orb="omniORB"
> rtm_idlc="/usr/sbin/../bin/omniidl"
> rtm_idlflags="-bcxx -Wba -nf"
> #
> #  @file rtm-config
> #  @brief OpenRTM-aist configuration access utility
> #  @date $Date: 2005-05-12 09:06:18 $
> #  @author Noriaki Ando <n-ando @ aist.go.jp>
> #
> #  Copyright (C) 2003-2005
> #      Task-intelligence Research Group,
> #      Intelligent Systems Research Institute,
> #      National Institute of
> #          Advanced Industrial Science and Technology (AIST), Japan
> #      All rights reserved.
> #
> #  $Id: rtm-config.in 726 2008-05-14 03:05:42Z n-ando $
> #
>
> usage()
> {
>        cat <<EOF
> Usage: rtm-config [OPTIONS]
> Options:
>        [--prefix[=DIR]]
>        [--exec-prefix[=DIR]]
>        [--version]
>        [--libs]
>        [--cflags]
>        [--libdir]
>        [--orb]
>        [--idlc]
>        [--idlflags]
> EOF
>        exit $1
> }
>
> if test $# -eq 0; then
>        usage 1 1>&2
> fi
>
>
> while test $# -gt 0; do
>  case "$1" in
>  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
>  *) optarg= ;;
>  esac
>
>  case $1 in
>    --prefix=*)
>      prefix=$optarg
>      if test $exec_prefix_set = no ; then
>        exec_prefix=$optarg
>      fi
>      ;;
>    --prefix)
>      echo_prefix=yes
>      ;;
>    --exec-prefix=*)
>      rtm_exec_prefix=$optarg
>      exec_prefix_set=yes
>      ;;
>    --exec-prefix)
>      echo_exec_prefix=yes
>      ;;
>    --version)
>      echo $rtm_version
>      ;;
>    --cflags)
>      echo_cflags=yes
>      ;;
>    --libs)
>      echo_libs=yes
>      ;;
>    --libdir)
>      echo_libdir=yes
>          ;;
>    --orb)
>      echo_orb=yes
>      ;;
>    --idlc)
>      echo_idlc=yes
>      ;;
>    --idlflags)
>      echo_idlflags=yes
>      ;;
>    *)
>      usage 1 1>&2
>      ;;
>  esac
>  shift
> done
>
> if test "$echo_prefix" = "yes"; then
>        echo $rtm_prefix
> fi
>
> if test "$echo_exec_prefix" = "yes"; then
>        echo $rtm_exec_prefix
> fi
>
> if test "$echo_cflags" = "yes"; then
>      echo $rtm_cflags
> fi
>
> if test "$echo_libs" = "yes"; then
>      echo $rtm_libs
> fi
>
> if test "$echo_libdir" = "yes"; then
>      echo $rtm_libdir
> fi
>
> if test "$echo_orb" = "yes"; then
>      echo $rtm_orb
> fi
>
> if test "$echo_idlc" = "yes"; then
>      echo $rtm_idlc
> fi
>
> if test "$echo_idlflags" = "yes"; then
>      echo $rtm_idlflags
> fi
>
>



-- 
安藤慶昭@独立行政法人産業技術総合研究所 研究員
 知能システム研究部門 タスクインテリジェンス研究グループ
 〒305-8568 茨城県つくば市梅園1-1-1 中央第2
 TEL: 029-861-5981 FAX: 029-861-5971
 n-ando @ aist.go.jp, n-ando @ ieee.org



openrtm-users メーリングリストの案内