[squid-users] Error building 2.7.STABLE9 on OSX 10.5.8

From: Ricardo Newbery <ric_at_digitalmarbles.com>
Date: Mon, 29 Mar 2010 05:46:11 -0700

I get the following error when trying to build 2.7.STABLE9 on OSX
10.5.8. Any suggestions?

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... cfgaux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... rm:
conftest.dSYM: is a directory
yes
checking build system type... i686-apple-darwin9.8.0
checking host system type... i686-apple-darwin9.8.0
checking for pkg-config... /opt/local/bin/pkg-config
Store modules built: ufs
Removal policies built: lru
Auth scheme modules built: basic
unlinkd enabled
checking for egrep... /usr/bin/egrep
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for perl... /opt/local/bin/perl
checking for ar... /usr/bin/ar
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for stddef.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for bstring.h... no
checking for crypt.h... no
checking for ctype.h... yes
checking for errno.h... yes
checking for execinfo.h... yes
checking for fcntl.h... yes
checking for fnmatch.h... yes
checking for getopt.h... yes
checking for glob.h... yes
checking for gnumalloc.h... no
checking for grp.h... yes
checking for libc.h... yes
checking for linux/netfilter_ipv4.h... no
checking for linux/netfilter_ipv4/ip_tproxy.h... no
checking for malloc.h... no
checking for math.h... yes
checking for memory.h... yes
checking for mount.h... no
checking for net/if.h... yes
checking for net/pfvar.h... no
checking for netdb.h... yes
checking for netinet/if_ether.h... yes
checking for netinet/tcp.h... yes
checking for openssl/err.h... yes
checking for openssl/md5.h... yes
checking for openssl/ssl.h... yes
checking for openssl/engine.h... yes
checking for paths.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for resolv.h... yes
checking for sched.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/bitypes.h... no
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for md5.h... no
checking for sys/md5.h... no
checking for sys/msg.h... yes
checking for sys/prctl.h... no
checking for sys/resource.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... yes
checking for syscall.h... no
checking for sys/syscall.h... yes
checking for sys/time.h... yes
checking for sys/un.h... yes
checking for sys/vfs.h... no
checking for sys/wait.h... yes
checking for sys/event.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for varargs.h... no
checking for byteswap.h... no
checking for glib.h... no
checking for stdint.h... yes
checking for inttypes.h... yes
checking for grp.h... (cached) yes
checking for nss_common.h... no
checking for nss.h... no
checking for db.h... yes
checking for db_185.h... no
checking for aio.h... yes
checking for sys/capability.h... no
checking for ip_compat.h... no
checking for ip_fil_compat.h... no
checking for ip_fil.h... no
checking for ip_nat.h... no
checking for ipl.h... no
checking for netinet/ip_compat.h... no
checking for netinet/ip_fil_compat.h... no
checking for netinet/ip_fil.h... no
checking for netinet/ip_nat.h... no
checking for netinet/ipl.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... universal
checking for inline... inline
checking if ANSI prototypes work... yes
checking for tm->tm_gmtoff... yes
checking for struct mallinfo... no
checking for extended mallinfo... no
checking for struct rusage... yes
checking for ip->ip_hl... yes
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of int8_t... 1
checking size of uint8_t... 1
checking size of u_int8_t... 1
checking size of int16_t... 2
checking size of uint16_t... 2
checking size of u_int16_t... 2
checking size of int32_t... 4
checking size of uint32_t... 4
checking size of u_int32_t... 4
checking size of int64_t... 8
checking size of uint64_t... 8
checking size of u_int64_t... 8
checking size of __int64... 0
checking for int8_t... yes
checking for u_int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for u_int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for u_int64_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for fd_mask... yes
checking size of off_t... 8
checking size of size_t... 4
checking for working alloca.h... yes
checking for alloca... yes
checking for socklen_t... yes
checking for mtyp_t... no
checking for library containing cap_clear_flag... no
checking for cap_clear_flag... no
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing yp_match... none required
checking for unix domain sockets... yes
checking for malloc in -lgnumalloc... no
checking for malloc in -lmalloc... no
checking for regcomp in -lregex... no
checking for rint in -lm... yes
checking for library containing crypt... none required
checking for library containing MD5Init... no
checking for library containing epoll_ctl... no
checking for open in -llber... yes
checking if dbopen needs -ldb... no
checking for bcopy... yes
checking for backtrace_symbols_fd... yes
checking for fchmod... yes
checking for getdtablesize... yes
checking for getpagesize... yes
checking for getpass... yes
checking for getrusage... yes
checking for getspnam... no
checking for gettimeofday... yes
checking for glob... yes
checking for kqueue... yes
checking for lrand48... yes
checking for mallinfo... no
checking for mallocblksize... no
checking for MD5Init... no
checking for mallopt... no
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for mktime... yes
checking for mstats... yes
checking for poll... yes
checking for prctl... no
checking for pthread_attr_setscope... yes
checking for pthread_setschedparam... yes
checking for pthread_attr_setschedparam... yes
checking for pthread_sigmask... yes
checking for putenv... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... yes
checking for __res_init... no
checking for rint... yes
checking for sbrk... yes
checking for select... yes
checking for seteuid... yes
checking for setgroups... yes
checking for setpgrp... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for strsep... yes
checking for strtoll... yes
checking for sysconf... yes
checking for syslog... yes
checking for timegm... yes
checking for vsnprintf... yes
checking for epoll_ctl... no
checking for crypt... yes
Using kqueue for the IO loop.
checking if AF_UNIX dgram sockets support large packets... no
checking if setresuid is implemented... no
checking if va_copy is implemented... yes
checking if __va_copy is implemented... yes
checking if GNUregex needs to be compiled... no
checking for drand48... yes
checking for tempnam... yes
checking for strerror... yes
checking for initgroups... yes
checking Default FD_SETSIZE value... 1024
checking Maximum number of filedescriptors we can open... 10240
checking Default UDP send buffer size... 9216
checking Default UDP receive buffer size... 42080
checking Default TCP send buffer size... 131070
Limiting send buffer size to 32K
checking Default TCP receive buffer size... 262140
Limiting receive buffer size to 64K
checking if sys_errlist is already defined... no
checking if inet_ntoa() actually works... "yes"
checking for working statvfs() interface... yes
checking for _res.nsaddr_list... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/RunCache
config.status: creating src/Makefile
config.status: creating src/fs/Makefile
config.status: creating src/repl/Makefile
config.status: creating src/auth/Makefile
config.status: creating contrib/Makefile
config.status: creating snmplib/Makefile
config.status: creating icons/Makefile
config.status: creating errors/Makefile
config.status: creating doc/Makefile
config.status: creating helpers/Makefile
config.status: creating helpers/basic_auth/Makefile
config.status: creating helpers/basic_auth/LDAP/Makefile
config.status: creating helpers/basic_auth/MSNT/Makefile
config.status: creating helpers/basic_auth/NCSA/Makefile
config.status: creating helpers/basic_auth/PAM/Makefile
config.status: creating helpers/basic_auth/SMB/Makefile
config.status: creating helpers/basic_auth/YP/Makefile
config.status: creating helpers/basic_auth/getpwnam/Makefile
config.status: creating helpers/basic_auth/mswin_sspi/Makefile
config.status: creating helpers/basic_auth/multi-domain-NTLM/Makefile
config.status: creating helpers/basic_auth/SASL/Makefile
config.status: creating helpers/basic_auth/POP3/Makefile
config.status: creating helpers/basic_auth/DB/Makefile
config.status: creating helpers/basic_auth/squid_radius_auth/Makefile
config.status: creating helpers/digest_auth/Makefile
config.status: creating helpers/digest_auth/password/Makefile
config.status: creating helpers/digest_auth/ldap/Makefile
config.status: creating helpers/digest_auth/eDirectory/Makefile
config.status: creating helpers/ntlm_auth/Makefile
config.status: creating helpers/ntlm_auth/fakeauth/Makefile
config.status: creating helpers/ntlm_auth/mswin_sspi/Makefile
config.status: creating helpers/ntlm_auth/no_check/Makefile
config.status: creating helpers/ntlm_auth/SMB/Makefile
config.status: creating helpers/ntlm_auth/SMB/smbval/Makefile
config.status: creating helpers/negotiate_auth/Makefile
config.status: creating helpers/negotiate_auth/mswin_sspi/Makefile
config.status: creating helpers/negotiate_auth/squid_kerb_auth/Makefile
config.status: creating helpers/external_acl/Makefile
config.status: creating helpers/external_acl/ip_user/Makefile
config.status: creating helpers/external_acl/ldap_group/Makefile
config.status: creating helpers/external_acl/mswin_ad_group/Makefile
config.status: creating helpers/external_acl/mswin_lm_group/Makefile
config.status: creating helpers/external_acl/session/Makefile
config.status: creating helpers/external_acl/unix_group/Makefile
config.status: creating helpers/external_acl/wbinfo_group/Makefile
config.status: creating tools/Makefile
config.status: creating include/autoconf.h
config.status: executing depfiles commands
Making all in lib
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT Array.o -MD -MP -MF .deps/Array.Tpo -c -o Array.o
Array.c
mv -f .deps/Array.Tpo .deps/Array.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o
base64.c
mv -f .deps/base64.Tpo .deps/base64.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT getfullhostname.o -MD -MP -MF .deps/
getfullhostname.Tpo -c -o getfullhostname.o getfullhostname.c
mv -f .deps/getfullhostname.Tpo .deps/getfullhostname.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/hash.Tpo .deps/hash.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT heap.o -MD -MP -MF .deps/heap.Tpo -c -o heap.o heap.c
mv -f .deps/heap.Tpo .deps/heap.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT html_quote.o -MD -MP -MF .deps/html_quote.Tpo -c -o
html_quote.o html_quote.c
mv -f .deps/html_quote.Tpo .deps/html_quote.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT iso3307.o -MD -MP -MF .deps/iso3307.Tpo -c -o
iso3307.o iso3307.c
mv -f .deps/iso3307.Tpo .deps/iso3307.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
mv -f .deps/md5.Tpo .deps/md5.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT radix.o -MD -MP -MF .deps/radix.Tpo -c -o radix.o
radix.c
mv -f .deps/radix.Tpo .deps/radix.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT rfc1035.o -MD -MP -MF .deps/rfc1035.Tpo -c -o
rfc1035.o rfc1035.c
mv -f .deps/rfc1035.Tpo .deps/rfc1035.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT rfc1123.o -MD -MP -MF .deps/rfc1123.Tpo -c -o
rfc1123.o rfc1123.c
mv -f .deps/rfc1123.Tpo .deps/rfc1123.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT rfc1738.o -MD -MP -MF .deps/rfc1738.Tpo -c -o
rfc1738.o rfc1738.c
mv -f .deps/rfc1738.Tpo .deps/rfc1738.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT rfc2617.o -MD -MP -MF .deps/rfc2617.Tpo -c -o
rfc2617.o rfc2617.c
mv -f .deps/rfc2617.Tpo .deps/rfc2617.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT safe_inet_addr.o -MD -MP -MF .deps/safe_inet_addr.Tpo -
c -o safe_inet_addr.o safe_inet_addr.c
mv -f .deps/safe_inet_addr.Tpo .deps/safe_inet_addr.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT splay.o -MD -MP -MF .deps/splay.Tpo -c -o splay.o
splay.c
mv -f .deps/splay.Tpo .deps/splay.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT Stack.o -MD -MP -MF .deps/Stack.Tpo -c -o Stack.o
Stack.c
mv -f .deps/Stack.Tpo .deps/Stack.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT stub_memaccount.o -MD -MP -MF .deps/
stub_memaccount.Tpo -c -o stub_memaccount.o stub_memaccount.c
mv -f .deps/stub_memaccount.Tpo .deps/stub_memaccount.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT uudecode.o -MD -MP -MF .deps/uudecode.Tpo -c -o
uudecode.o uudecode.c
mv -f .deps/uudecode.Tpo .deps/uudecode.Po
rm -f libmiscutil.a
/usr/bin/ar cru libmiscutil.a Array.o base64.o getfullhostname.o
hash.o heap.o html_quote.o iso3307.o md5.o radix.o rfc1035.o rfc1123.o
rfc1738.o rfc2617.o safe_inet_addr.o splay.o Stack.o
stub_memaccount.o util.o uudecode.o
ranlib libmiscutil.a
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -
Wall -g -O2 -MT ntlmauth.o -MD -MP -MF .deps/ntlmauth.Tpo -c -o
ntlmauth.o ntlmauth.c
mv -f .deps/ntlmauth.Tpo .deps/ntlmauth.Po
rm -f libntlmauth.a
/usr/bin/ar cru libntlmauth.a ntlmauth.o
ranlib libntlmauth.a
Making all in scripts
make[1]: Nothing to be done for `all'.
Making all in src
awk -f ./cf_gen_defines <./cf.data.pre >cf_gen_defines.h
sed "\
        s%_at_DEFAULT_HTTP_PORT@%3128%g;\
        s%_at_DEFAULT_ICP_PORT@%3130%g;\
        s%_at_DEFAULT_MIME_TABLE@%/Users/newbery/Development/squid/etc/mime.conf
%g;\
        s%_at_DEFAULT_DNSSERVER@%/Users/newbery/Development/squid/libexec/`echo
dnsserver | sed 's,x,x,;s/$//'`%g;\
        s%_at_DEFAULT_UNLINKD@%/Users/newbery/Development/squid/libexec/`echo
unlinkd | sed 's,x,x,;s/$//'`%g;\
        s%_at_DEFAULT_PINGER@%/Users/newbery/Development/squid/libexec/`echo
pinger | sed 's,x,x,;s/$//'`%g;\
        s%_at_DEFAULT_DISKD@%/Users/newbery/Development/squid/libexec/`echo
diskd-daemon | sed 's,x,x,;s/$//'`%g;\
        s%_at_DEFAULT_LOGFILED@%/Users/newbery/Development/squid/libexec/`echo
logfile-daemon | sed 's,x,x,;s/$//'`%g;\
        s%_at_DEFAULT_CACHE_LOG@%/Users/newbery/Development/squid/var/logs/
cache.log%g;\
        s%_at_DEFAULT_ACCESS_LOG@%/Users/newbery/Development/squid/var/logs/
access.log%g;\
        s%_at_DEFAULT_STORE_LOG@%/Users/newbery/Development/squid/var/logs/
store.log%g;\
        s%_at_DEFAULT_PID_FILE@%/Users/newbery/Development/squid/var/logs/
squid.pid%g;\
        s%_at_DEFAULT_NETDB_FILE@%/Users/newbery/Development/squid/var/logs/
netdb.state%g;\
        s%_at_DEFAULT_SWAP_DIR@%/Users/newbery/Development/squid/var/cache%g;\
        s%_at_DEFAULT_ICON_DIR@%/Users/newbery/Development/squid/share/icons%g;\
        s%_at_DEFAULT_MIB_PATH@%/Users/newbery/Development/squid/share/mib.txt%g;\
        s%_at_DEFAULT_ERROR_DIR@%/Users/newbery/Development/squid/share/errors/
English%g;\
        s%_at_DEFAULT_PREFIX@%/Users/newbery/Development/squid%g;\
        s%_at_DEFAULT_HOSTS@%/etc/hosts%g;\
        s%@[V]ERSION@%2.7.STABLE9%g;"\
        < ./cf.data.pre >cf.data
sed: 1: "s%_at_DEFAULT_HTTP_PORT@%3 ...": unterminated substitute pattern
make[1]: *** [cf.data] Error 1
make: *** [all-recursive] Error 1
Received on Mon Mar 29 2010 - 12:46:18 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 29 2010 - 12:00:06 MDT