You can clone with
HTTPS or Subversion.
We would like to run on Mac OSX, but currently only support linux. The main limitation here is that the PageSpeed Optimization Library (via mod_pagespeed) won't compile on OSX, but even once that's fixed there are probably things in ngx_pagespeed that are also not OSX-compatible.
I have been able to compile psol on my macbook somewhere in november, and though I don't remember exactly what needed to be done, it wasn't a major effort.
@oschaaf if you remember what you did I might be able to push it through mod_pagespeed reasonably quickly.
I searched, and I still have a building xcode project on my machine, to my surprise :-) but that doesn't tell me what I changed..
As far as I can tell, I changed the base sdk to osx 10.8 (I am on mountain lion).
I also set the compiler to llvm4.1 in all projects
I think that was all. Would you like me to send the xcode project files for comparison?
Ah; I was trying to use the make-based flow. I'll poke at xcode.
Would it be possible to ship a binary psol for OSX with the release?
The Xcode generated files could be shipped along the linux ones, for ease of testing.
I wasn't able to get PSOL building under OSX. More details: https://code.google.com/p/modpagespeed/issues/detail?id=612
If you or someone else can figure out how to get it building I would love to make and ship OSX binaries.
I had dug up that thread, and seen the similar username, I guessed it was you ;)
I had thought in #14 there, jmarantz had said he was able to build it with Xcode?
Maybe I misunderstood what he was doing differently? Perhaps he's available for comment?
When I tried building myself, I got to the same place you did, I think.
"make instaweb_apr pagespeed_automatic" gave me 3 of the 4 files needed.
The mod pagespeed build process is supposed to support OSX and at one point it did. It's not clear if the makefile for pagespeed_automatic.a, which is kind of tacked on, ever supported OSX.
I do have a working pagespeed_automatic.a and pagespeed_automatic_test for OSX build on 18 oct 2012. So, back then, with some work it surely was possible to build pagespeed_automatic.a.
Pagespeed_automatic_test fails on a tests though, so I can't be sure its working 100% correct.
[----------] 3 tests from HttpDumpUrlFetcherTest
[ RUN ] HttpDumpUrlFetcherTest.TestReadWithGzip
[0426/092659:FATAL:gtest.cc(69)] Check failed: found. Cannot find 'src' directory from cwd=/Users/oschaaf
As an out-of-the-box workaround Mac users (as well as others) can set up a dev environment inside a Linux VM running headless using a tool like Vagrant and install from there.
Would be great if this was possible to get as close to production environments as possible on dev machines. It would also allow more people to experiment and learn about the pagespeed modules.
I am specifically thinking about adding pagespeed support to proxrox. Proxrox already supports SPDY and having the pagespeed module in there as well would create a very nice testing ground for optimization strategies (automatic via pagespeed vs. manual etc.).