./bootstrap: line 9: libtoolize: command not found

2,045 views
Skip to first unread message

Jesper Dote

unread,
Dec 11, 2014, 2:03:24 PM12/11/14
to uni...@googlegroups.com
Hi,

I would like to ask some suggestions and answer this error we encounter building a  UniMRCP Client under Centos 5.9

[root@titi unimrcp]# ./bootstrap
+ libtoolize --force --automake --copy
./bootstrap: line 9: libtoolize: command not found
+ aclocal -I build/acmacros
+ automake --foreign --add-missing --copy
configure.ac: installing `build/install-sh'
configure.ac: installing `build/missing'
libs/apr-toolkit/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
libs/apr-toolkit/Makefile.am:6:
libs/apr-toolkit/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/apr-toolkit/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/apr-toolkit/Makefile.am: installing `build/compile'
libs/apr-toolkit/Makefile.am: installing `build/depcomp'
libs/mpf/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
libs/mpf/Makefile.am:8:
libs/mpf/Makefile.am:8: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mpf/Makefile.am:8: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcp-client/Makefile.am:14: Libtool library used but `LIBTOOL' is undefined
libs/mrcp-client/Makefile.am:14:
libs/mrcp-client/Makefile.am:14: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcp-client/Makefile.am:14: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcp-engine/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
libs/mrcp-engine/Makefile.am:12:
libs/mrcp-engine/Makefile.am:12: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcp-engine/Makefile.am:12: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcp-server/Makefile.am:15: Libtool library used but `LIBTOOL' is undefined
libs/mrcp-server/Makefile.am:15:
libs/mrcp-server/Makefile.am:15: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcp-server/Makefile.am:15: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcp-signaling/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
libs/mrcp-signaling/Makefile.am:9:
libs/mrcp-signaling/Makefile.am:9: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcp-signaling/Makefile.am:9: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcp/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
libs/mrcp/Makefile.am:10:
libs/mrcp/Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcp/Makefile.am:10: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/mrcpv2-transport/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
libs/mrcpv2-transport/Makefile.am:10:
libs/mrcpv2-transport/Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/mrcpv2-transport/Makefile.am:10: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/uni-rtsp/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
libs/uni-rtsp/Makefile.am:7:
libs/uni-rtsp/Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/uni-rtsp/Makefile.am:7: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/mrcp-sofiasip/Makefile.am:14: Libtool library used but `LIBTOOL' is undefined
modules/mrcp-sofiasip/Makefile.am:14:
modules/mrcp-sofiasip/Makefile.am:14: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
modules/mrcp-sofiasip/Makefile.am:14: to `configure.ac' and run `aclocal' and `autoconf' again.
modules/mrcp-unirtsp/Makefile.am:14: Libtool library used but `LIBTOOL' is undefined
modules/mrcp-unirtsp/Makefile.am:14:
modules/mrcp-unirtsp/Makefile.am:14: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
modules/mrcp-unirtsp/Makefile.am:14: to `configure.ac' and run `aclocal' and `autoconf' again.
platforms/libasr-client/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
platforms/libasr-client/Makefile.am:5:
platforms/libasr-client/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
platforms/libasr-client/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again.
platforms/libunimrcp-client/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
platforms/libunimrcp-client/Makefile.am:4:
platforms/libunimrcp-client/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
platforms/libunimrcp-client/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
platforms/libunimrcp-server/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
platforms/libunimrcp-server/Makefile.am:4:
platforms/libunimrcp-server/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
platforms/libunimrcp-server/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/demo-recog/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
plugins/demo-recog/Makefile.am:3:
plugins/demo-recog/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/demo-recog/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/demo-synth/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
plugins/demo-synth/Makefile.am:3:
plugins/demo-synth/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/demo-synth/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/demo-verifier/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
plugins/demo-verifier/Makefile.am:3:
plugins/demo-verifier/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/demo-verifier/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/mrcp-recorder/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
plugins/mrcp-recorder/Makefile.am:3:
plugins/mrcp-recorder/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/mrcp-recorder/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
+ autoconf
configure.ac:57: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
+ rm -rf autom4te.cache



=================================================================

Thanks.

Arsen Chaloyan

unread,
Dec 11, 2014, 8:42:18 PM12/11/14
to UniMRCP
Hi Jesper,

You seem not having libtool installed, which is actually a prerequisite. So, use the following command and start over.

yum install libtool

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

klept

unread,
Dec 12, 2014, 10:38:16 AM12/12/14
to uni...@googlegroups.com
Hi Arsen .

Thank you for your response.
But when i try to do "yum install libtool" it said that I already have installed on my system. Nothing to do.

At first, I already do "yum groupinstall Development Tools". But still i'm having this kind of error.

Centos 5.9
Asterisk 1.8.20.0
dahdi 2.6.1


im just new in ubuntu and elastix.

 Thank you.
Message has been deleted

Arsen Chaloyan

unread,
Dec 12, 2014, 10:09:44 PM12/12/14
to UniMRCP
As far as I can see, now you are on Elastix, where yum is configured to use their repositories. Since you asked me, I'd say there is nothing suspicious, although I am not affiliated in any way with Elastix.

On Fri, Dec 12, 2014 at 10:19 AM, klept <jesper.i...@gmail.com> wrote:
Hi Arsen,

I tried to make a fresh install.

after yum install libtool

this occur

=============================================


Total download size: 78 k
Is this ok [y/N]: y
Downloading Packages:
libtool-2.4.2-DMv1.x86_64.rpm                            |  78 kB     00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID d05c057c
commercial-addons/gpgkey                                 | 1.7 kB     00:00
Importing GPG key 0xD05C057C "Alex Villacis Lasso (Clave para firmar paquetes Elastix) <a_vil...@palosanto.com>" from http://repo.elastix.org/elastix/RPM-GPG-KEY-Elastix
Is this ok [y/N]:
=========================================================

thank you

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

klept

unread,
Dec 15, 2014, 1:26:47 PM12/15/14
to uni...@googlegroups.com
Hi Arsen,

I tried to downgrade the version of my libtool, and it seems that i fixed that issue,
But, I encounter again another issue in installing the

[root@testElastix pocketsphinx-0.6.1]# make
Making all in src
make[1]: Entering directory `/src/pocketsphinx-0.6.1/src'
Making all in libsphinxbase
make[2]: Entering directory `/src/pocketsphinx-0.6.1/src/libsphinxbase'
Making all in util
make[3]: Entering directory `/src/pocketsphinx-0.6.1/src/libsphinxbase/util'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include     -g -O2 -Wall -MT bitvec.lo -MD -MP -MF ".deps/bitvec.Tpo" -c -o bitvec.lo bitvec.c; \
        then mv -f ".deps/bitvec.Tpo" ".deps/bitvec.Plo"; else rm -f ".deps/bitvec.Tpo"; exit 1; fi
../../../libtool: line 813: X--tag=CC: command not found
../../../libtool: line 846: libtool: ignoring unknown tag : command not found
../../../libtool: line 813: X--mode=compile: command not found
../../../libtool: line 979: *** Warning: inferring the mode of operation is deprecated.: command not found
../../../libtool: line 980: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../../libtool: line 1123: Xgcc: command not found
../../../libtool: line 1123: X-DHAVE_CONFIG_H: command not found
../../../libtool: line 1123: X-I.: command not found
../../../libtool: line 1123: X-I.: command not found
../../../libtool: line 1123: X-I../../../include: No such file or directory
../../../libtool: line 1123: X-I../../../include: No such file or directory
../../../libtool: line 1123: X-I../../../include: No such file or directory
../../../libtool: line 1123: X-I../../../include: No such file or directory
../../../libtool: line 1123: X-g: command not found
../../../libtool: line 1123: X-O2: command not found
../../../libtool: line 1123: X-Wall: command not found
../../../libtool: line 1123: X-MT: command not found
../../../libtool: line 1123: Xbitvec.lo: command not found
../../../libtool: line 1123: X-MD: command not found
../../../libtool: line 1123: X-MP: command not found
../../../libtool: line 1123: X-MF: command not found
../../../libtool: line 1123: X.deps/bitvec.Tpo: No such file or directory
../../../libtool: line 1123: X-c: command not found
../../../libtool: line 1175: Xbitvec.lo: command not found
../../../libtool: line 1180: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [bitvec.lo] Error 1
make[3]: Leaving directory `/src/pocketsphinx-0.6.1/src/libsphinxbase/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/pocketsphinx-0.6.1/src/libsphinxbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/pocketsphinx-0.6.1/src'
make: *** [all-recursive] Error 1
[root@testElastix pocketsphinx-0.6.1]#

==================================


Thank you

Arsen Chaloyan

unread,
Dec 19, 2014, 4:10:36 PM12/19/14
to UniMRCP
Hi Jesper,

I'm not sure at what stage you currently are, but here are the versions of the GNU tools I have installed on my CentOS 5 being able to build UniMRCP without any troubles.

autoconf (GNU Autoconf) 2.59
ltmain.sh (GNU libtool) 1.5.22
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)

Hope this helps.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages