libtool on Mac OSX Lion
Hi All, another OSX Lion build issue: On bootstrap I'm getting this output: anitya:freeswitch neil$ ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.59 (ok) bootstrap: automake version 1.7.1 (ok) bootstrap: aclocal version 1.7.1 (ok) bootstrap: libtool version 1.5.24 (ok) Bootstrapping using: autoconf : /usr/local/bin/autoconf automake : /usr/local/bin/automake aclocal : /usr/local/bin/aclocal libtool : /usr/bin/glibtool (1.5.24.) libtoolize: /usr/bin/glibtoolize make : /usr/bin/make (GNU Make 3.81) awk : () Entering directory /usr/local/src/freeswitch/libs/apr Copying libtool helper files ... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' ... Remember to add `AC_PROG_LIBTOOL' to `configure.ac'. You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Creating configure bootstrap: autoconf configure:6475: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. ... I believe this is behind a build error I'm currently up against on mod_enum: making all mod_enum checking for i386-apple-darwin11.3.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no rm: conftest.dSYM: is a directory checking for i386-apple-darwin11.3.0-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking whether make sets $(MAKE)... yes checking whether gcc supports -std=c99... yes checking whether gcc supports -xc99... no checking for an ANSI C-conforming const... yes checking whether gcc supports -g... yes checking whether gcc supports -O2... yes checking whether gcc supports -Wall... yes checking whether gcc supports -W... yes checking whether gcc supports -Wwrite-strings... yes checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for getopt.h... yes checking for time.h... yes checking for winsock2.h... no checking for ws2tcpip.h... no checking whether gcc supports -Werror... yes checking whether gcc supports -Wall... (cached) yes checking whether gcc supports -std=c99... (cached) yes checking whether gcc supports -xc99... (cached) no checking for getopt.h... (cached) yes checking for time.h... (cached) yes checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 as a flag for gcc... no checking whether we need -D_BSD_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no checking whether we need -D__EXTENSIONS__ as a flag for gcc... no checking for inline... inline checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for doxygen... no checking for library containing socket... none required checking for library containing inet_pton... none required checking build system type... i386-apple-darwin11.3.0 checking host system type... i386-apple-darwin11.3.0 checking for i386-apple-darwin11.3.0-ar... no checking for ar... /usr/bin/ar /usr/local/src/freeswitch/libs/ldns/configure: line 6475: AC_PROG_LIBTOOL: command not found checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for openssl/rand.h... yes checking for EVP_sha256... no checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for getopt.h... (cached) yes checking for stdarg.h... yes checking for stdbool.h... yes checking for openssl/ssl.h... (cached) yes checking for netinet/in.h... yes checking for time.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/socket.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for socklen_t... yes checking for ssize_t... yes checking for in_addr_t... yes checking for in_port_t... yes checking for struct sockaddr_storage.ss_family... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for b64_pton... no checking for b64_ntop... no checking for b32_pton... no checking for b32_ntop... no checking for timegm... yes checking for gmtime_r... yes checking for ctime_r... yes checking for isblank... yes checking for isascii... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for strlcpy... yes checking for memmove... yes checking for endprotoent... yes checking for endservent... yes checking for sleep... yes checking for random... yes checking for fcntl... yes checking for strtoul... yes checking for getaddrinfo... yes checking for ioctlsocket... no checking whether the C compiler (gcc) accepts the "format" attribute... yes checking whether the C compiler (gcc) accepts the "unused" attribute... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ldns/net.h config.status: creating ldns/util.h config.status: creating packaging/libldns.pc config.status: creating packaging/ldns-config config.status: creating ldns/config.h copying header files make[6]: ./libtool: No such file or directory make[6]: *** [rdata.o] Error 1 make[5]: *** [/usr/local/src/freeswitch/libs/ldns/libldns.la] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_enum-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I don't remember exactly how I installed libtool, but it was a script I ran from within FS that automatically wget'd, compiled, and installed it (suggested by wiki or mailing list). It definitely wasn't through macports/fink/brew. Any suggestions on what the problem may be? Thanks!
Are you using the Apple Developers Kit or are you using something else? On 5/26/12 11:56 AM, "Neil Patel" <neilp@cs.stanford.edu> wrote:
Hi All, another OSX Lion build issue:
On bootstrap I'm getting this output:
anitya:freeswitch neil$ ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.59 (ok) bootstrap: automake version 1.7.1 (ok) bootstrap: aclocal version 1.7.1 (ok) bootstrap: libtool version 1.5.24 (ok) Bootstrapping using: autoconf : /usr/local/bin/autoconf automake : /usr/local/bin/automake aclocal : /usr/local/bin/aclocal libtool : /usr/bin/glibtool (1.5.24.) libtoolize: /usr/bin/glibtoolize make : /usr/bin/make (GNU Make 3.81) awk : ()
Entering directory /usr/local/src/freeswitch/libs/apr Copying libtool helper files ... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' ... Remember to add `AC_PROG_LIBTOOL' to `configure.ac <http://configure.ac/> '. You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Creating configure bootstrap: autoconf configure:6475: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. ...
I believe this is behind a build error I'm currently up against on mod_enum: making all mod_enum checking for i386-apple-darwin11.3.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no rm: conftest.dSYM: is a directory checking for i386-apple-darwin11.3.0-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking whether make sets $(MAKE)... yes checking whether gcc supports -std=c99... yes checking whether gcc supports -xc99... no checking for an ANSI C-conforming const... yes checking whether gcc supports -g... yes checking whether gcc supports -O2... yes checking whether gcc supports -Wall... yes checking whether gcc supports -W... yes checking whether gcc supports -Wwrite-strings... yes checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for getopt.h... yes checking for time.h... yes checking for winsock2.h... no checking for ws2tcpip.h... no checking whether gcc supports -Werror... yes checking whether gcc supports -Wall... (cached) yes checking whether gcc supports -std=c99... (cached) yes checking whether gcc supports -xc99... (cached) no checking for getopt.h... (cached) yes checking for time.h... (cached) yes checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 as a flag for gcc... no checking whether we need -D_BSD_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no checking whether we need -D__EXTENSIONS__ as a flag for gcc... no checking for inline... inline checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for doxygen... no checking for library containing socket... none required checking for library containing inet_pton... none required checking build system type... i386-apple-darwin11.3.0 checking host system type... i386-apple-darwin11.3.0 checking for i386-apple-darwin11.3.0-ar... no checking for ar... /usr/bin/ar /usr/local/src/freeswitch/libs/ldns/configure: line 6475: AC_PROG_LIBTOOL: command not found checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for openssl/rand.h... yes checking for EVP_sha256... no checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for getopt.h... (cached) yes checking for stdarg.h... yes checking for stdbool.h... yes checking for openssl/ssl.h... (cached) yes checking for netinet/in.h... yes checking for time.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/socket.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for socklen_t... yes checking for ssize_t... yes checking for in_addr_t... yes checking for in_port_t... yes checking for struct sockaddr_storage.ss_family... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for b64_pton... no checking for b64_ntop... no checking for b32_pton... no checking for b32_ntop... no checking for timegm... yes checking for gmtime_r... yes checking for ctime_r... yes checking for isblank... yes checking for isascii... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for strlcpy... yes checking for memmove... yes checking for endprotoent... yes checking for endservent... yes checking for sleep... yes checking for random... yes checking for fcntl... yes checking for strtoul... yes checking for getaddrinfo... yes checking for ioctlsocket... no checking whether the C compiler (gcc) accepts the "format" attribute... yes checking whether the C compiler (gcc) accepts the "unused" attribute... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ldns/net.h config.status: creating ldns/util.h config.status: creating packaging/libldns.pc config.status: creating packaging/ldns-config config.status: creating ldns/config.h copying header files make[6]: ./libtool: No such file or directory make[6]: *** [rdata.o] Error 1 make[5]: *** [/usr/local/src/freeswitch/libs/ldns/libldns.la <http://libldns.la/> ] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_enum-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I don't remember exactly how I installed libtool, but it was a script I ran from within FS that automatically wget'd, compiled, and installed it (suggested by wiki or mailing list). It definitely wasn't through macports/fink/brew.
Any suggestions on what the problem may be?
Thanks!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Developer's kit. I have nothing installed using ports/brew/fink On Sat, May 26, 2012 at 10:52 AM, Ken Rice <krice@freeswitch.org> wrote:
Are you using the Apple Developers Kit or are you using something else?
On 5/26/12 11:56 AM, "Neil Patel" <neilp@cs.stanford.edu> wrote:
Hi All, another OSX Lion build issue:
On bootstrap I'm getting this output:
anitya:freeswitch neil$ ./bootstrap.sh bootstrap: checking installation... bootstrap: autoconf version 2.59 (ok) bootstrap: automake version 1.7.1 (ok) bootstrap: aclocal version 1.7.1 (ok) bootstrap: libtool version 1.5.24 (ok) Bootstrapping using: autoconf : /usr/local/bin/autoconf automake : /usr/local/bin/automake aclocal : /usr/local/bin/aclocal libtool : /usr/bin/glibtool (1.5.24.) libtoolize: /usr/bin/glibtoolize make : /usr/bin/make (GNU Make 3.81) awk : ()
Entering directory /usr/local/src/freeswitch/libs/apr Copying libtool helper files ... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' ... Remember to add `AC_PROG_LIBTOOL' to `configure.ac <http://configure.ac/> '.
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. Creating configure bootstrap: autoconf configure:6475: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. ...
I believe this is behind a build error I'm currently up against on mod_enum: making all mod_enum checking for i386-apple-darwin11.3.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no rm: conftest.dSYM: is a directory checking for i386-apple-darwin11.3.0-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking whether make sets $(MAKE)... yes checking whether gcc supports -std=c99... yes checking whether gcc supports -xc99... no checking for an ANSI C-conforming const... yes checking whether gcc supports -g... yes checking whether gcc supports -O2... yes checking whether gcc supports -Wall... yes checking whether gcc supports -W... yes checking whether gcc supports -Wwrite-strings... yes checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for getopt.h... yes checking for time.h... yes checking for winsock2.h... no checking for ws2tcpip.h... no checking whether gcc supports -Werror... yes checking whether gcc supports -Wall... (cached) yes checking whether gcc supports -std=c99... (cached) yes checking whether gcc supports -xc99... (cached) no checking for getopt.h... (cached) yes checking for time.h... (cached) yes checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for gcc... no checking whether we need -std=c99 as a flag for gcc... no checking whether we need -D_BSD_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE as a flag for gcc... no checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no checking whether we need -D__EXTENSIONS__ as a flag for gcc... no checking for inline... inline checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for doxygen... no checking for library containing socket... none required checking for library containing inet_pton... none required checking build system type... i386-apple-darwin11.3.0 checking host system type... i386-apple-darwin11.3.0 checking for i386-apple-darwin11.3.0-ar... no checking for ar... /usr/bin/ar /usr/local/src/freeswitch/libs/ldns/configure: line 6475: AC_PROG_LIBTOOL: command not found checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for openssl/rand.h... yes checking for EVP_sha256... no checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for getopt.h... (cached) yes checking for stdarg.h... yes checking for stdbool.h... yes checking for openssl/ssl.h... (cached) yes checking for netinet/in.h... yes checking for time.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/socket.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for socklen_t... yes checking for ssize_t... yes checking for in_addr_t... yes checking for in_port_t... yes checking for struct sockaddr_storage.ss_family... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for b64_pton... no checking for b64_ntop... no checking for b32_pton... no checking for b32_ntop... no checking for timegm... yes checking for gmtime_r... yes checking for ctime_r... yes checking for isblank... yes checking for isascii... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for strlcpy... yes checking for memmove... yes checking for endprotoent... yes checking for endservent... yes checking for sleep... yes checking for random... yes checking for fcntl... yes checking for strtoul... yes checking for getaddrinfo... yes checking for ioctlsocket... no checking whether the C compiler (gcc) accepts the "format" attribute... yes checking whether the C compiler (gcc) accepts the "unused" attribute... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ldns/net.h config.status: creating ldns/util.h config.status: creating packaging/libldns.pc config.status: creating packaging/ldns-config config.status: creating ldns/config.h copying header files make[6]: ./libtool: No such file or directory make[6]: *** [rdata.o] Error 1 make[5]: *** [/usr/local/src/freeswitch/libs/ldns/libldns.la < http://libldns.la/> ] Error 2
make[4]: *** [all] Error 1 make[3]: *** [mod_enum-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I don't remember exactly how I installed libtool, but it was a script I ran from within FS that automatically wget'd, compiled, and installed it (suggested by wiki or mailing list). It definitely wasn't through macports/fink/brew.
Any suggestions on what the problem may be?
Thanks!
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Ken Rice
-
Neil Patel