On 19/02/2012 4:08 p.m., gewehre_at_gmx.net wrote:
> I had never attempted building with the --disable-internal-dns option before. Today, in the hope of enabling cache_dns_program, I tried it with squid-3.2.0.15-20120218-r11508. It barfed building /usr/local/squid/libexec/dnsserver:
<snip>
> After searching online, this appears to be an issue peculiar to Mac OS X 10.3 or 10.4. I'm on 10.4.11. I tried a variety of workarounds:
>
> 1. Changing Makefile's "LIBS = " to "LIBS = -lkvm -lm -lresolv -lz"
> 2. Changing Makefile's "LDFLAGS=" to "LDFLAGS=-lresolv"
> 3. "export LIBS=-lresolv"
> 4. "export LDFLAGS=-lresolv"
>
> The only option that worked gets squid compiling with --disable-internal-dns is #4. I'm curious why the other three weren't effective.
The dnsserver make rules are a little broken. It gets passed the default
*FLAGS lists but not LIBS. Thank you for finding this.
Was it Makefile or src/Makefile you changed for (1) and (2)? dsserver is
built in src/Makefile.
Amos
Received on Sun Feb 19 2012 - 03:43:24 MST
This archive was generated by hypermail 2.2.0 : Mon Feb 20 2012 - 12:00:03 MST