[openrtm-users 03108] Re: svn で落としてきたソースのコンパイル方法について
Geoffrey Biggs
geoffrey.biggs @ aist.go.jp
2014年 9月 17日 (水) 08:32:11 JST
岡田様
SVNからのビルド方法は以下のページで記述されています。
http://openrtm.org/openrtm/ja/content/%E3%82%BD%E3%83%BC%E3%82%B9%E3%81%8B%E3%82%89%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89-linux%E7%B7%A8
今RELENG_1_1で試し、問題なしビルドできました。(環境はGentooです。)
この説明でもビルドできなかったら、リストにご連絡をお願いします。
ジェフ
On 17 September 2014 01:31, Kei Okada <k-okada @ jsk.t.u-tokyo.ac.jp> wrote:
> 岡田です.
> svn で落としてきたソースのコンパイル方法について,どこを参考にすればよいかご教示いただけると幸いです.
>
> autoconf, automake, configure としてみたのですが,以下のようなエラーになります.
>
> k-okada @ kokada-t430s:/tmp/OpenRTM-aist$ autoconf
> configure.ac:23: error: possibly undefined macro: AM_INIT_AUTOMAKE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:24: error: possibly undefined macro: AM_CONFIG_HEADER
> configure.ac:74: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> configure.ac:75: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure.ac:76: error: possibly undefined macro: AM_WITH_DMALLOC
> configure.ac:1370: error: possibly undefined macro: AM_CONDITIONAL
> k-okada @ kokada-t430s:/tmp/OpenRTM-aist$ aclocal
> aclocal: acinclude.m4:20: file `libtool.m4' does not exist
> k-okada @ kokada-t430s:/tmp/OpenRTM-aist$ automake
> configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.ac: You should verify that configure.ac invokes
> AM_INIT_AUTOMAKE,
> configure.ac: that aclocal.m4 is present in the top-level directory,
> configure.ac: and that aclocal.m4 was recently regenerated (using
> aclocal).
> configure.ac:73: required file `./install-sh' not found
> configure.ac:73: `automake --add-missing' can install `install-sh'
> examples/AutoTest/Makefile.am:76: Libtool library used but `LIBTOOL' is
> undefined
> examples/AutoTest/Makefile.am:76: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/AutoTest/Makefile.am:76: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/AutoTest/Makefile.am:76: If `LT_INIT' is in `configure.ac',
> make sure
> examples/AutoTest/Makefile.am:76: its definition is in aclocal's search
> path.
> examples/AutoTest/Makefile.am: required file `./depcomp' not found
> examples/AutoTest/Makefile.am: `automake --add-missing' can install
> `depcomp'
> /usr/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am: The usual way to define
> `am__fastdepCXX' is to add `AC_PROG_CXX'
> /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am: The usual way to define `AMDEP'
> is to add one of the compiler tests
> /usr/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX,
> AC_PROG_CXX, AC_PROG_OBJC,
> /usr/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ,
> AM_PROG_UPC
> /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/Composite/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/Composite/Makefile.am:22: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/Composite/Makefile.am:22: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/Composite/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/Composite/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/ConfigSample/Makefile.am:22: Libtool library used but `LIBTOOL'
> is undefined
> examples/ConfigSample/Makefile.am:22: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> examples/ConfigSample/Makefile.am:22: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/ConfigSample/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/ConfigSample/Makefile.am:22: its definition is in aclocal's
> search path.
> examples/SeqIO/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/SeqIO/Makefile.am:22: The usual way to define `LIBTOOL' is to
> add `LT_INIT'
> examples/SeqIO/Makefile.am:22: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> examples/SeqIO/Makefile.am:22: If `LT_INIT' is in `configure.ac', make
> sure
> examples/SeqIO/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/SimpleIO/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/SimpleIO/Makefile.am:22: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/SimpleIO/Makefile.am:22: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/SimpleIO/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/SimpleIO/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/SimpleService/Makefile.am:80: Libtool library used but `LIBTOOL'
> is undefined
> examples/SimpleService/Makefile.am:80: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> examples/SimpleService/Makefile.am:80: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/SimpleService/Makefile.am:80: If `LT_INIT' is in `configure.ac',
> make sure
> examples/SimpleService/Makefile.am:80: its definition is in aclocal's
> search path.
> src/ext/ec/artlinux/Makefile.am:19: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/ec/artlinux/Makefile.am:19: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> src/ext/ec/artlinux/Makefile.am:19: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> src/ext/ec/artlinux/Makefile.am:19: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/ec/artlinux/Makefile.am:19: its definition is in aclocal's
> search path.
> src/ext/ec/rtpreempt/Makefile.am:17: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/ec/rtpreempt/Makefile.am:17: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> src/ext/ec/rtpreempt/Makefile.am:17: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/ext/ec/rtpreempt/Makefile.am:17: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/ec/rtpreempt/Makefile.am:17: its definition is in aclocal's
> search path.
> src/ext/sdo/observer/Makefile.am:74: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/sdo/observer/Makefile.am:74: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> src/ext/sdo/observer/Makefile.am:74: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/ext/sdo/observer/Makefile.am:74: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/sdo/observer/Makefile.am:74: its definition is in aclocal's
> search path.
> src/lib/rtm/Makefile.am:37: Libtool library used but `LIBTOOL' is undefined
> src/lib/rtm/Makefile.am:37: The usual way to define `LIBTOOL' is to add
> `LT_INIT'
> src/lib/rtm/Makefile.am:37: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/lib/rtm/Makefile.am:37: If `LT_INIT' is in `configure.ac', make sure
> src/lib/rtm/Makefile.am:37: its definition is in aclocal's search path.
> src/lib/rtm/idl/Makefile.am:19: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:44: ORB_IS_TAO does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:48: ORB_IS_OMNIORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:52: ORB_IS_MICO does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:56: ORB_IS_ORBIX does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:60: ORB_IS_ORBACUS does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:64: ORB_IS_ORBIT2 does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:74: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:190: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:188: Libtool library used but `LIBTOOL' is
> undefined
> src/lib/rtm/idl/Makefile.am:188: The usual way to define `LIBTOOL' is to
> add `LT_INIT'
> src/lib/rtm/idl/Makefile.am:188: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> src/lib/rtm/idl/Makefile.am:188: If `LT_INIT' is in `configure.ac',
> make sure
> src/lib/rtm/idl/Makefile.am:188: its definition is in aclocal's search
> path.
> src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am:32: ORB_IS_ORBIT2 does not
> appear in AM_CONDITIONAL
> src/lib/rtm/tests/Manager/Makefile.am:39: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/Manager/Makefile.am:39: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/Manager/Makefile.am:39: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/lib/rtm/tests/Manager/Makefile.am:39: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/Manager/Makefile.am:39: its definition is in aclocal's
> search path.
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: to `configure.ac' and
> run `aclocal' and `autoconf' again.
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: its definition is in
> aclocal's search path.
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: to `configure.ac' and
> run `aclocal' and `autoconf' again.
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: its definition is in
> aclocal's search path.
> Makefile.am: required file `./INSTALL' not found
> Makefile.am: `automake --add-missing' can install `INSTALL'
> k-okada @ kokada-t430s:/tmp/OpenRTM-aist$ automake --add-missing
> configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.ac: You should verify that configure.ac invokes
> AM_INIT_AUTOMAKE,
> configure.ac: that aclocal.m4 is present in the top-level directory,
> configure.ac: and that aclocal.m4 was recently regenerated (using
> aclocal).
> configure.ac:73: installing `./install-sh'
> examples/AutoTest/Makefile.am:76: Libtool library used but `LIBTOOL' is
> undefined
> examples/AutoTest/Makefile.am:76: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/AutoTest/Makefile.am:76: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/AutoTest/Makefile.am:76: If `LT_INIT' is in `configure.ac',
> make sure
> examples/AutoTest/Makefile.am:76: its definition is in aclocal's search
> path.
> examples/AutoTest/Makefile.am: installing `./depcomp'
> /usr/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am: The usual way to define
> `am__fastdepCXX' is to add `AC_PROG_CXX'
> /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am: The usual way to define `AMDEP'
> is to add one of the compiler tests
> /usr/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX,
> AC_PROG_CXX, AC_PROG_OBJC,
> /usr/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ,
> AM_PROG_UPC
> /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/Composite/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/Composite/Makefile.am:22: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/Composite/Makefile.am:22: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/Composite/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/Composite/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/ConfigSample/Makefile.am:22: Libtool library used but `LIBTOOL'
> is undefined
> examples/ConfigSample/Makefile.am:22: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> examples/ConfigSample/Makefile.am:22: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/ConfigSample/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/ConfigSample/Makefile.am:22: its definition is in aclocal's
> search path.
> examples/SeqIO/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/SeqIO/Makefile.am:22: The usual way to define `LIBTOOL' is to
> add `LT_INIT'
> examples/SeqIO/Makefile.am:22: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> examples/SeqIO/Makefile.am:22: If `LT_INIT' is in `configure.ac', make
> sure
> examples/SeqIO/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/SimpleIO/Makefile.am:22: Libtool library used but `LIBTOOL' is
> undefined
> examples/SimpleIO/Makefile.am:22: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> examples/SimpleIO/Makefile.am:22: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> examples/SimpleIO/Makefile.am:22: If `LT_INIT' is in `configure.ac',
> make sure
> examples/SimpleIO/Makefile.am:22: its definition is in aclocal's search
> path.
> examples/SimpleService/Makefile.am:80: Libtool library used but `LIBTOOL'
> is undefined
> examples/SimpleService/Makefile.am:80: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> examples/SimpleService/Makefile.am:80: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> examples/SimpleService/Makefile.am:80: If `LT_INIT' is in `configure.ac',
> make sure
> examples/SimpleService/Makefile.am:80: its definition is in aclocal's
> search path.
> src/ext/ec/artlinux/Makefile.am:19: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/ec/artlinux/Makefile.am:19: The usual way to define `LIBTOOL' is
> to add `LT_INIT'
> src/ext/ec/artlinux/Makefile.am:19: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> src/ext/ec/artlinux/Makefile.am:19: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/ec/artlinux/Makefile.am:19: its definition is in aclocal's
> search path.
> src/ext/ec/rtpreempt/Makefile.am:17: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/ec/rtpreempt/Makefile.am:17: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> src/ext/ec/rtpreempt/Makefile.am:17: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/ext/ec/rtpreempt/Makefile.am:17: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/ec/rtpreempt/Makefile.am:17: its definition is in aclocal's
> search path.
> src/ext/sdo/observer/Makefile.am:74: Libtool library used but `LIBTOOL' is
> undefined
> src/ext/sdo/observer/Makefile.am:74: The usual way to define `LIBTOOL'
> is to add `LT_INIT'
> src/ext/sdo/observer/Makefile.am:74: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/ext/sdo/observer/Makefile.am:74: If `LT_INIT' is in `configure.ac',
> make sure
> src/ext/sdo/observer/Makefile.am:74: its definition is in aclocal's
> search path.
> src/lib/rtm/Makefile.am:37: Libtool library used but `LIBTOOL' is undefined
> src/lib/rtm/Makefile.am:37: The usual way to define `LIBTOOL' is to add
> `LT_INIT'
> src/lib/rtm/Makefile.am:37: to `configure.ac' and run `aclocal' and
> `autoconf' again.
> src/lib/rtm/Makefile.am:37: If `LT_INIT' is in `configure.ac', make sure
> src/lib/rtm/Makefile.am:37: its definition is in aclocal's search path.
> src/lib/rtm/idl/Makefile.am:19: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:44: ORB_IS_TAO does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:48: ORB_IS_OMNIORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:52: ORB_IS_MICO does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:56: ORB_IS_ORBIX does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:60: ORB_IS_ORBACUS does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:64: ORB_IS_ORBIT2 does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:74: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:190: ORB_IS_RTORB does not appear in
> AM_CONDITIONAL
> src/lib/rtm/idl/Makefile.am:188: Libtool library used but `LIBTOOL' is
> undefined
> src/lib/rtm/idl/Makefile.am:188: The usual way to define `LIBTOOL' is to
> add `LT_INIT'
> src/lib/rtm/idl/Makefile.am:188: to `configure.ac' and run `aclocal'
> and `autoconf' again.
> src/lib/rtm/idl/Makefile.am:188: If `LT_INIT' is in `configure.ac',
> make sure
> src/lib/rtm/idl/Makefile.am:188: its definition is in aclocal's search
> path.
> src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am:32: ORB_IS_ORBIT2 does not
> appear in AM_CONDITIONAL
> src/lib/rtm/tests/Manager/Makefile.am:39: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/Manager/Makefile.am:39: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/Manager/Makefile.am:39: to `configure.ac' and run
> `aclocal' and `autoconf' again.
> src/lib/rtm/tests/Manager/Makefile.am:39: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/Manager/Makefile.am:39: its definition is in aclocal's
> search path.
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: to `configure.ac' and
> run `aclocal' and `autoconf' again.
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/ManagerServant/Makefile.am:50: its definition is in
> aclocal's search path.
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: Libtool library used but
> `LIBTOOL' is undefined
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: The usual way to define
> `LIBTOOL' is to add `LT_INIT'
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: to `configure.ac' and
> run `aclocal' and `autoconf' again.
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: If `LT_INIT' is in `
> configure.ac', make sure
> src/lib/rtm/tests/ModuleManager/Makefile.am:42: its definition is in
> aclocal's search path.
> Makefile.am: installing `./INSTALL'
> k-okada @ kokada-t430s:/tmp/OpenRTM-aist$ ./configure
> ./configure: line 2192: syntax error near unexpected token `dist-bzip2'
> ./configure: line 2192: `AM_INIT_AUTOMAKE(dist-bzip2 tar-pax)'
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users
>
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20140917/7432e7bb/attachment.html>
More information about the openrtm-users
mailing list