Run:

cd  /Applications/Xcode.app/Contents/Developer/Toolchains
sudo ln -s XcodeDefault.xctoolchain OSX10.8.xctoolchain

Apple screwed things up in Apache build configuration files and although
people have reported it, Apple seem not to be interested in fixing it.

Graham

On 26 March 2013 23:32, Batuhan Göksu <[email protected]> wrote:

> Hi friends,
> I use mac os x mountain lion using the built-in apache
> I get an error at compile time may result in such
>
> *batuhangoksu:mod_wsgi-3.4 batuhangoksu$ make*
> /usr/sbin/apxs -c
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -DENABLE_DTRACE -DMACOSX -DNDEBUG -DNDEBUG -DENABLE_DTRACE  -Wc,'-arch
> x86_64' mod_wsgi.c -Wl,-F/System/Library/Frameworks -framework Python -u
> _PyMac_Error /System/Library/Frameworks/  -arch x86_64 -ldl  -framework
> CoreFoundation
> /usr/share/apr-1/build-1/libtool --silent --mode=compile
> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc
>    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include
> -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1  -arch
> x86_64
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -DENABLE_DTRACE -DMACOSX -DNDEBUG -DNDEBUG -DENABLE_DTRACE  -c -o
> mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
> env:
> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc:
> No such file or directory
> apxs:Error: Command failed with rc=65536
> .
> make: *** [mod_wsgi.la] Error 1
>
> *batuhangoksu:mod_wsgi-3.4 batuhangoksu$ sudo make install*
> /usr/sbin/apxs -c
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -DENABLE_DTRACE -DMACOSX -DNDEBUG -DNDEBUG -DENABLE_DTRACE  -Wc,'-arch
> x86_64' mod_wsgi.c -Wl,-F/System/Library/Frameworks -framework Python -u
> _PyMac_Error /System/Library/Frameworks/  -arch x86_64 -ldl  -framework
> CoreFoundation
> /usr/share/apr-1/build-1/libtool --silent --mode=compile
> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc
>    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include
> -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1  -arch
> x86_64
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -DENABLE_DTRACE -DMACOSX -DNDEBUG -DNDEBUG -DENABLE_DTRACE  -c -o
> mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
> env:
> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc:
> No such file or directory
> apxs:Error: Command failed with rc=65536
> .
> make: *** [mod_wsgi.la] Error 1
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to