mod_wsgi: compile error on ML, OSX10.8.xctoolchain #13919
Comments
I spent several hours banging my head against this yesterday. I was looking for some way to override apr-1-config's values, but they're pretty well baked in. This might very well be overkill, what about just compiling our own I likely won't be able to get to this today, but it seems worth looking into. |
well, |
It's probably better not to roll apr and apxs. Homebrew doesn't like to duplicate system software. |
Doing a search through regular files to search for "OSX10.8.xctoolchain" turned up several possibly broken apps:
It's possible that editing all those file to be correct would fix this. Dunno. |
The two most relevant files are apr_rules.mk and config_vars.mk. Changes to config_vars.mk are reflected by apxs, but not by apr-1-config. After fussing with this for a while, I don't know that it's something we can fix without recompiling APR or writing a new makefile which calls the compiler and libtool directly instead of using apxs. I posted a question on StackOverflow, Changing APR-embedded values returned by apr-1-config? The symlink workaround fixes this, maybe that should just be added to brew doctor? |
We've migrated this formula to: https://github.com/Homebrew/homebrew-apache |
mod_wsgi fails to build on Mountain Lion due to its using
/usr/share/apr-1/build-1/libtool
to compile and the fact thatapr-1
has an invalid path buried in itsapr-1-config
andlibtool
files.Unlink serf, this can't be fixed easily in the formula because there are no configure variables that can be set. The only known workaround is to symlink the correct toolchain path to the one it's looking for that doesn't exist:
I suppose we could make a requirement for this, but I'm not thrilled by that. I haven't bug reported this to Apple yet. This was originally reported in #13586
The text was updated successfully, but these errors were encountered: