Search squid archive

Re: Building on Mac OSX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unfortunately, I'm trying to work with libecap, and need the 3.2 version to build on the Mac. It seems like the configure step is not identifying the correct headers in a few cases, where is a good place to start troubleshooting this? It looks like the config pieces changed dramatically between 3.1 and 3.2.

Matt

________________________________
From: jeffrey j donovan <donovan@xxxxxxxxxxxxxx>
To: Matt Cochran <matt.cochran@xxxxxxxxx>
Cc: Squid <squid-users@xxxxxxxxxxxxxxx>
Sent: Sunday, September 25, 2011 5:02 PM
Subject: Re:  Building on Mac OSX

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
> 



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux