sh-3.2# ./configure checking build system type... i386-apple-darwin9.5.0 checking host system type... i386-apple-darwin9.5.0 checking for 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for AIX... no checking for ANSI C header files... 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /usr/bin/uname checking for 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 ISO C89... (cached) none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for GNU make... make checking for strip... /usr/bin/strip checking for ar... /usr/bin/ar checking for grep... (cached) /usr/bin/grep checking for find... /usr/bin/find checking for compress... /usr/bin/compress checking for basename... /usr/bin/basename checking for id... /usr/bin/id checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for dot... : checking for wget... /sw/bin/wget checking for rubber... : checking for kpsewhich... : checking for xmlstarlet... : checking for soxmix... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no rm: conftest.dSYM: is a directory checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... rm: conftest.dSYM: is a directory yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for unistd.h... (cached) yes checking for working chown... yes checking whether closedir returns void... no checking for error_at_line... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no rm: conftest.dSYM: is a directory checking whether gcc needs -traditional... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory no checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * rm: conftest.dSYM: is a directory checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strnlen... no checking for working strtod... yes checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for atexit... yes checking for dup2... yes checking for endpwent... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for localtime_r... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for putenv... yes checking for re_comp... no checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for strncasecmp... yes checking for strndup... no checking for strnlen... no checking for strrchr... yes checking for strsep... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoq... yes checking for unsetenv... yes checking for utime... yes checking for vasprintf... yes checking for glob... yes checking for timersub in time.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for funopen... yes checking for fopencookie... no checking for inet_aton... yes checking for IP_PKTINFO... no checking for library containing gethostbyname_r... no checking for gethostbyname_r with 6 arguments... no checking for gethostbyname_r with 5 arguments... no checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking for __swap16 variant of byteswapping macros... no checking for bswap16 variant of byteswapping macros... no checking for /dev/urandom... yes checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... no checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... no checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... no checking for compiler atomic operations... no checking for compiler 'attribute pure' support... yes checking for compiler 'attribute malloc' support... yes checking for compiler 'attribute const' support... yes checking for compiler 'attribute unused' support... yes checking for compiler 'attribute always_inline' support... yes checking for compiler 'attribute deprecated' support... yes checking for compiler 'attribute sentinel' support... yes checking for compiler 'attribute warn_unused_result' support... yes checking for compiler 'attribute weak' support... yes checking for -ffunction-sections support... yes checking for --gc-sections support... no checking for -Wdeclaration-after-statement support... yes checking for -fno-strict-overflow... no checking for -Wshadow... yes checking for sysinfo... no checking for library containing res_9_ninit... -lresolv checking for res_ninit... yes checking for library containing res_9_ndestroy... none required checking for res_ndestroy... yes checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... no checking libkern/OSAtomic.h usability... yes checking libkern/OSAtomic.h presence... yes checking for libkern/OSAtomic.h... yes checking for int... yes checking size of int... 4 checking for snd_spcm_init in -lasound... no checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for DAHDI_CODE in dahdi/user.h... no checking for exp2l in -lm... yes checking for log2l in -lm... yes checking for exp10l in -lm... no checking for log10l in -lm... yes checking for sinl in -lm... yes checking for cosl in -lm... yes checking for tanl in -lm... yes checking for asinl in -lm... yes checking for acosl in -lm... yes checking for atanl in -lm... yes checking for atan2l in -lm... yes checking for powl in -lm... yes checking for sqrtl in -lm... yes checking for rintl in -lm... yes checking for expl in -lm... yes checking for logl in -lm... yes checking for remainderl in -lm... yes checking for fmodl in -lm... yes checking for roundl in -lm... yes checking for truncl in -lm... yes checking for strtold in -lc... yes checking for stdlib.h... (cached) yes checking for floorl in -lm... yes checking for ceill in -lm... yes checking for exp2 in -lm... yes checking for log2 in -lm... yes checking for exp10 in -lm... no checking for log10 in -lm... yes checking for sin in -lm... yes checking for cos in -lm... yes checking for tan in -lm... yes checking for asin in -lm... yes checking for acos in -lm... yes checking for atan in -lm... yes checking for atan2 in -lm... yes checking for pow in -lm... yes checking for sqrt in -lm... yes checking for rint in -lm... yes checking for exp in -lm... yes checking for log in -lm... yes checking for remainder in -lm... yes checking for fmod in -lm... yes checking for round in -lm... yes checking for trunc in -lm... yes checking for strtod in -lc... yes checking for stdlib.h... (cached) yes checking for floor in -lm... yes checking for ceil in -lm... yes checking for getifaddrs() support... yes checking for gsm_create in -lgsm... no checking for iconv_open in -liconv... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iks_start_sasl in -liksemel... no checking for UW IMAP Toolkit c-client library... no checking for system c-client library...... no checking for SQLConnect in -liodbc... yes checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking for jack_activate in -ljack... no checking for lt_dlinit in -lltdl... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for ldap_initialize in -lldap... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for xml2-config... xml2-config checking for mISDN_open in -lmISDN... no checking for nbs_connect in -lnbs... no checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for net-snmp-config... net-snmp-config checking for newtBell in -lnewt... no checking for SQLConnect in -lodbc... no checking for ogg_sync_init in -logg... no checking for backtrace in -lexecinfo... no checking for backtrace in -lc... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking linux/soundcard.h usability... no checking linux/soundcard.h presence... no checking for linux/soundcard.h... no checking sys/soundcard.h usability... no checking sys/soundcard.h presence... no checking for sys/soundcard.h... no checking for oss_ioctl_mixer in -lossaudio... no checking for pg_config... no checking for poptStrerror in -lpopt... no checking for Pa_GetDeviceCount in -lportaudio... no checking for pri_new_bri in -lpri... no checking for pri_progress_with_cause in -lpri... no checking for pri_set_inbanddisconnect in -lpri... no checking for resample_open in -lresample... no checking for minimum version of SpanDSP... no checking for ss7_pollflags in -lss7... no checking /var/root/pwlib/include/ptlib.h usability... no checking /var/root/pwlib/include/ptlib.h presence... no checking for /var/root/pwlib/include/ptlib.h... no checking /usr/local/include/ptlib.h usability... no checking /usr/local/include/ptlib.h presence... no checking for /usr/local/include/ptlib.h... no checking /usr/include/ptlib.h usability... no checking /usr/include/ptlib.h presence... no checking for /usr/include/ptlib.h... no checking for luaL_newstate in -llua5.1... no checking for rc_read_config in -lradiusclient-ng... no checking for saClmInitialize in -lSaClm... no checking for speex_encode in -lspeex... no checking for speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... no checking for sqlite_exec in -lsqlite... no checking for sqlite3_open in -lsqlite3... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for AES_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for ssl2_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for OSPPCryptoDecrypt in -losptk... no checking for gmime-config... no checking for malloc in -lhoard... no checking for dbinit in -lsybdb... no checking for tgetent in -ltermcap... yes checking for tgetent in -ltinfo... no checking for tone_zone_find in -ltonezone... no checking for usb_init in -lusb... no checking for vorbis_info_init in -lvorbis... no checking for vpb_open in -lvpb... no checking for compress in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking h323.h usability... no checking h323.h presence... no checking for h323.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/ixjuser.h... no checking for sdl-config... no checking for IMG_Load in -lSDL_image... no checking for sws_getContext in -lavcodec... no checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for XOpenDisplay in -lX11... no checking for XOpenDisplay in -lX11... (cached) no checking for /sbin/launchd... yes checking for gtk-config... no checking for pkg-config... pkg-config Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found checking for curl-config... /usr/bin/curl-config checking for curl_version() in curl/curl.h... yes checking for mandatory modules: ... ok configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating channels/h323/Makefile config.status: creating include/asterisk/autoconfig.h .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ :$$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : darwin9.5.0 configure: Host CPU : i386 configure: build-cpu:vendor:os: i386 : apple : darwin9.5.0 : configure: host-cpu:vendor:os: i386 : apple : darwin9.5.0 : sh-3.2# sh-3.2# sh-3.2# make rm -f defaults.h rm -f include/asterisk/build.h rm -f main/version.c rm -f include/asterisk/version.h checking build system type... i386-apple-darwin9.5.0 checking host system type... i386-apple-darwin9.5.0 checking for 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 ISO C89... none needed checking for GNU make... make checking for asprintf... yes checking for getloadavg... yes checking for setenv... yes checking for strcasestr... yes checking for strndup... no checking for strnlen... no checking for strsep... yes checking for strtoq... yes checking for unsetenv... yes checking for vasprintf... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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 newtBell in -lnewt... no checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for pkg-config... pkg-config Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: creating ./config.status config.status: creating makeopts config.status: creating autoconfig.h === configuring in mxml (/Users/jtodd/asterisk/menuselect/mxml) configure: running /bin/sh ./configure '--prefix=/usr/local' 'CC=' 'LD=' 'AR=' 'CFLAGS=' --cache-file=/dev/null --srcdir=. checking for 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 whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for nroff... /usr/bin/nroff checking for rm... /bin/rm checking for strdup... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mxml.list config.status: creating mxml.pc config.status: creating config.h configure: Menuselect build configuration successfully completed rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o menuselect_curses.o /bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc doc/mxml.0 doc/mxmldoc.0 testmxml mxml.xml /bin/rm -f mxmldoc-static libmxml.a /bin/rm -f *.bck *.bak /bin/rm -f config.cache config.log config.status config.h /bin/rm -f -r autom4te*.cache cp -f .cleancount .lastclean CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c menuselect.c: In function 'sanity_check': menuselect.c:1266: error: nested functions are disabled, use -fnested-functions to re-enable make[1]: *** [menuselect.o] Error 1 make: *** [menuselect/menuselect] Error 2 sh-3.2#