<span style>Hi All, another OSX Lion build issue:</span><div style><br></div><div style>On bootstrap I&#39;m getting this output:</div><div style><br></div><div style><div>anitya:freeswitch neil$ ./bootstrap.sh </div><div>

bootstrap: checking installation...</div><div>bootstrap: autoconf version 2.59 (ok)</div><div>bootstrap: automake version 1.7.1 (ok)</div><div>bootstrap: aclocal version 1.7.1 (ok)</div><div><span style="background-color:rgb(255,255,102)">bootstrap: libtool version 1.5.24 (ok)</span></div>

<div>Bootstrapping using:</div><div>  autoconf  : /usr/local/bin/autoconf</div><div>  automake  : /usr/local/bin/automake</div><div>  aclocal   : /usr/local/bin/aclocal</div><div>  <span style="background-color:rgb(255,255,102)">libtool   : /usr/bin/glibtool (1.5.24.)</span></div>

<div><span style="background-color:rgb(255,255,102)">  libtoolize: /usr/bin/glibtoolize</span></div><div>  make      : /usr/bin/make (GNU Make 3.81)</div><div>  awk       :  ()</div><div><br></div><div>Entering directory /usr/local/src/freeswitch/libs/apr</div>

<div>Copying libtool helper files ...</div><div><span style="background-color:rgb(255,255,102)">Using `AC_PROG_RANLIB&#39; is rendered obsolete by `AC_PROG_LIBTOOL&#39;</span></div></div><div style>...</div><div style><div>

<span style="background-color:rgb(255,255,102)">Remember to add `AC_PROG_LIBTOOL&#39; to `<a href="http://configure.ac/" target="_blank" style="color:rgb(17,85,204)">configure.ac</a>&#39;.</span></div><div>You should add the contents of `/usr/share/aclocal/libtool.m4&#39; to `aclocal.m4&#39;.</div>

<div>Creating configure</div><div>bootstrap: autoconf</div><div><span style="background-color:rgb(255,255,102)">configure:6475: error: possibly undefined macro: AC_PROG_LIBTOOL</span></div><div>      If this token and others are legitimate, please use m4_pattern_allow.</div>

<div>      See the Autoconf documentation.</div><div>...</div><div><br></div><div>I believe this is behind a build error I&#39;m currently up against on mod_enum:</div><div><div>making all mod_enum</div><div>checking for i386-apple-darwin11.3.0-gcc... gcc</div>

<div>checking for C compiler default output file name... a.out</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of executables... </div>

<div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ANSI C... none needed</div>

<div>checking how to run the C preprocessor... gcc -E</div><div>checking for egrep... grep -E</div><div>checking for AIX... no</div><div>rm: conftest.dSYM: is a directory</div><div>checking for i386-apple-darwin11.3.0-gcc... (cached) gcc</div>

<div>checking whether we are using the GNU C compiler... (cached) yes</div><div>checking whether gcc accepts -g... (cached) yes</div><div>checking for gcc option to accept ANSI C... (cached) none needed</div><div>checking whether make sets $(MAKE)... yes</div>

<div>checking whether gcc supports -std=c99... yes</div><div>checking whether gcc supports -xc99... no</div><div>checking for an ANSI C-conforming const... yes</div><div>checking whether gcc supports -g... yes</div><div>
checking whether gcc supports -O2... yes</div>
<div>checking whether gcc supports -Wall... yes</div><div>checking whether gcc supports -W... yes</div><div>checking whether gcc supports -Wwrite-strings... yes</div><div>checking for ANSI C header files... rm: conftest.dSYM: is a directory</div>

<div>rm: conftest.dSYM: is a directory</div><div>yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>

checking for memory.h... yes</div><div>checking for strings.h... yes</div><div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div><div>checking for getopt.h... yes</div>

<div>checking for time.h... yes</div><div>checking for winsock2.h... no</div><div>checking for ws2tcpip.h... no</div><div>checking whether gcc supports -Werror... yes</div><div>checking whether gcc supports -Wall... (cached) yes</div>

<div>checking whether gcc supports -std=c99... (cached) yes</div><div>checking whether gcc supports -xc99... (cached) no</div><div>checking for getopt.h... (cached) yes</div><div>checking for time.h... (cached) yes</div>
<div>
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</div><div>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</div>

<div>checking whether we need -std=c99 as a flag for gcc... no</div><div>checking whether we need -D_BSD_SOURCE as a flag for gcc... no</div><div>checking whether we need -D_GNU_SOURCE as a flag for gcc... no</div><div>checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed</div>

<div>checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no</div><div>checking whether we need -D__EXTENSIONS__ as a flag for gcc... no</div><div>checking for inline... inline</div><div>checking for int8_t... yes</div>

<div>checking for int16_t... yes</div><div>checking for int32_t... yes</div><div>checking for int64_t... yes</div><div>checking for uint8_t... yes</div><div>checking for uint16_t... yes</div><div>checking for uint32_t... yes</div>

<div>checking for uint64_t... yes</div><div>checking for doxygen... no</div><div>checking for library containing socket... none required</div><div>checking for library containing inet_pton... none required</div><div>checking build system type... i386-apple-darwin11.3.0</div>

<div>checking host system type... i386-apple-darwin11.3.0</div><div>checking for i386-apple-darwin11.3.0-ar... no</div><div>checking for ar... /usr/bin/ar</div><div>/usr/local/src/freeswitch/libs/ldns/configure: line 6475: AC_PROG_LIBTOOL: command not found</div>

<div>checking for openssl/ssl.h... yes</div><div>checking for openssl/err.h... yes</div><div>checking for openssl/rand.h... yes</div><div>checking for EVP_sha256... no</div><div>checking whether byte ordering is bigendian... no</div>

<div>checking for ANSI C header files... (cached) yes</div><div>checking for getopt.h... (cached) yes</div><div>checking for stdarg.h... yes</div><div>checking for stdbool.h... yes</div><div>checking for openssl/ssl.h... (cached) yes</div>

<div>checking for netinet/in.h... yes</div><div>checking for time.h... (cached) yes</div><div>checking for arpa/inet.h... yes</div><div>checking for netdb.h... yes</div><div>checking for sys/param.h... yes</div><div>checking for sys/mount.h... yes</div>

<div>checking for sys/socket.h... yes</div><div>checking for inttypes.h... (cached) yes</div><div>checking for sys/types.h... (cached) yes</div><div>checking for unistd.h... (cached) yes</div><div>checking for socklen_t... yes</div>

<div>checking for ssize_t... yes</div><div>checking for in_addr_t... yes</div><div>checking for in_port_t... yes</div><div>checking for struct sockaddr_storage.ss_family... yes</div><div>checking for stdlib.h... (cached) yes</div>

<div>checking for GNU libc compatible malloc... yes</div><div>checking for stdlib.h... (cached) yes</div><div>checking for GNU libc compatible realloc... yes</div><div>checking for b64_pton... no</div><div>checking for b64_ntop... no</div>

<div>checking for b32_pton... no</div><div>checking for b32_ntop... no</div><div>checking for timegm... yes</div><div>checking for gmtime_r... yes</div><div>checking for ctime_r... yes</div><div>checking for isblank... yes</div>

<div>checking for isascii... yes</div><div>checking for inet_aton... yes</div><div>checking for inet_pton... yes</div><div>checking for inet_ntop... yes</div><div>checking for snprintf... yes</div><div>checking for strlcpy... yes</div>

<div>checking for memmove... yes</div><div>checking for endprotoent... yes</div><div>checking for endservent... yes</div><div>checking for sleep... yes</div><div>checking for random... yes</div><div>checking for fcntl... yes</div>

<div>checking for strtoul... yes</div><div>checking for getaddrinfo... yes</div><div>checking for ioctlsocket... no</div><div>checking whether the C compiler (gcc) accepts the &quot;format&quot; attribute... yes</div><div>

checking whether the C compiler (gcc) accepts the &quot;unused&quot; attribute... yes</div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div>config.status: creating ldns/net.h</div>

<div>config.status: creating ldns/util.h</div><div>config.status: creating packaging/libldns.pc</div><div>config.status: creating packaging/ldns-config</div><div>config.status: creating ldns/config.h</div><div>copying header files</div>

<div>make[6]: ./libtool: No such file or directory</div><div>make[6]: *** [rdata.o] Error 1</div><div>make[5]: *** [/usr/local/src/freeswitch/libs/ldns/<a href="http://libldns.la/" target="_blank" style="color:rgb(17,85,204)">libldns.la</a>] Error 2</div>

<div>make[4]: *** [all] Error 1</div><div>make[3]: *** [mod_enum-all] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div><div><br>
</div>
<div>I don&#39;t remember exactly how I installed libtool, but it was a script I ran from within FS that automatically wget&#39;d, compiled, and installed it (suggested by wiki or mailing list). It definitely wasn&#39;t through macports/fink/brew.</div>

<div><br></div><div>Any suggestions on what the problem may be?</div><div><br></div><div>Thanks!</div></div></div>