Re: [squid-users] Building on Mac OSX

From: jeffrey j donovan <donovan_at_beth.k12.pa.us>
Date: Sun, 25 Sep 2011 19:02:33 -0400

I had the same problem, Im still running 3.1.x it compiles just fine.
-j
On Sep 24, 2011, at 4:51 PM, Matt Cochran wrote:

> I've been trying to build squid 3.2 on OSX, and I'm getting a lot of errors, does anyone know of a guide for this?
>
> I'm seeing things like: libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo -c Config.cc -fno-common -DPIC -o .libs/Config.o
> In file included from ../../src/protos.h:35,
> from Config.cc:3:
> ../../src/Packer.h:46: error: 'va_list' has not been declared
>
> If I add an include for <cstdarg>, and remove the SQUIDCEXTERN macro in Packer.h, I get a bit farther, but things like Address.h start to break because it doesn't seem to set the defines for HAVE_NETINET_IN_H. If I force that to 1 I get a bit farther, but there's more problems past that.
>
> Anyone have an idea?
>
> Matt
>
Received on Sun Sep 25 2011 - 23:02:37 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 26 2011 - 12:00:02 MDT