Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache mod build failure on OS X #34

Open
kornelski opened this issue Oct 3, 2014 · 1 comment
Open

Apache mod build failure on OS X #34

kornelski opened this issue Oct 3, 2014 · 1 comment

Comments

@kornelski
Copy link
Contributor

I'm trying to compile on OS X 10.9 that only has some half-baked Apache included by Apple with the OS:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C apache2
if [ "apxs" != "" ]; then \
        apxs -I `pwd`/.. `MagickWand-config --cppflags --ldflags --libs|xargs` -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c mod_imgmin.c ../imgmin.c; \
    fi
/usr/share/apr-1/build-1/libtool --silent --mode=compile /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.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  -DIMGMIN_LIB -W -Wall -Wno-unused-parameter -I/Users/kornel/imgmin/src/apache2/.. -I/usr/local/Cellar/imagemagick/6.8.9-7/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -c -o mod_imgmin.lo mod_imgmin.c && touch mod_imgmin.slo
env: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc: No such file or directory
apxs:Error: Command failed with rc=65536
.
make[3]: *** [mod_imgmin_la] Error 1
make[2]: *** [mod_imgmin] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The path /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc looks quite suspicious.

@denji
Copy link

denji commented May 5, 2015

@pornel removed AC_CHECK_PROGS(APXS, apxs2 apxs, "")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants