Re: [squid-users] Looking for Build notes for OSX

From: Adam W. Dace <colonelforbin74_at_gmail.com>
Date: Thu, 7 Mar 2013 16:29:15 -0600

Sure. You may want to rename the page from Fink to Mac OS X(Fink is
really just a package system, like FreeBSD ports).

That said, here's what I have...and apologies I don't know wiki very well.

---CUT---

Squid compiles on Mac OS X. However, there are some steps required
before following
the general build instructions.

Install Xcode
-----------------
1) From Mac OS X, run the "AppStore" application.
2) Locate "Xcode", Apple's development environment.
3) Install "Xcode".

Install Command-Line Tools
-------------------------------------
1) Launch "Xcode".
2) Open "Xcode | Preferences".
3) Bring up the "Downloads" tab.
4) Under "Components" click the "Install" button for "Command Line Tools".

Verify Command-Line Tools
-------------------------------------
1) Launch "Terminal", usually located in the "Utilities" folder under
"Applications".
2) Run "gcc --version". Manually verify this produces sane output.

From this point, the general build instructions should be all you need.

This part can be editorially removed, but may be helpful:

It's worth noting this platform doesn't support EUI, and that I
personally configured my squid with the configure option
"--with-aufs-threads=32" to reduce apparent I/O congestion.

Personal Build Steps
----------------------------
1) tar xf squid-3.3.2.tar.bz2
2) cd squid-3.3.2
3) ./configure --disable-eui --with-aufs-threads=32
4) make
5) sudo make install

---CUT---

P.S. The above also works just fine when run from either Mac OS X's
built-in X11 server(10.7 or less), or XQuartz(10.8).

On Thu, Mar 7, 2013 at 2:47 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 8/03/2013 3:47 a.m., Adam W. Dace wrote:
>>
>> What are you looking for? You'll need Xcode installed.
>>
>> Besides that, I have it up and running. I could put together
>> instructions if you want.
>
>
> Would you be able to throw some together for the Squid wiki? MacOS is one of
> the systems we are lacking a distro-specific page for.
>
> We have some details on Fink. But not for the MacOSX systems itself.
> http://wiki.squid-cache.org/KnowledgeBase/Fink
>
> Cheers
> Amos
>
>
>>
>> On Thu, Mar 7, 2013 at 8:35 AM, jeffrey j donovan wrote:
>>>
>>> Greetings
>>>
>>> I am looking for any build notes for squid 3.2.x on OSX. I am
>>> transitioning some servers, if anyone has any build notes I would be very
>>> thankful. I want to compare apples to apples, make sure I have the right
>>> /Libraries loaded etc,..
>>> I did read something about a patch ? If anyone can elaborate on that
>>> process.
>>>
>>> Thanks
>>>
>>> -j
>>
>>
>>
>

-- 
____________________________________________________________
Adam W. Dace <colonelforbin74_at_gmail.com>
Phone: (815) 355-5848
Instant Messenger: AIM & Yahoo! IM - colonelforbin74 | ICQ - #39374451
Microsoft Messenger - colonelforbin74_at_live.com
Google Profile: http://www.google.com/profiles/ColonelForbin74
Received on Thu Mar 07 2013 - 22:29:22 MST

This archive was generated by hypermail 2.2.0 : Fri Mar 08 2013 - 12:00:04 MST