mac http2.4.4

1470 단어
잘못 보고하다
checking for gcc.../Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc checking whether the C compiler works... no configure: error: in `/usr/local/src/httpd-2.4.4': configure: error: C compiler cannot create executables
해결하다
sudo ln -s/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain
인용하다
http://blog.hgomez.net/blog/2012/10/15/mountain-lion-apxs/
잘못 보고하다
checking for pcre-config... false configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
해결하다
다운로드:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
1. Download PCRE from PCRE.org
2. Compile it with a prefix and install it:
./configure --prefix=/usr/local/pcre
make
make install

3. Go back to where your Apache installation is and compile Apache with PCRE:
--with-pcre=/usr/local/pcre
참조
http://stackoverflow.com/questions/10663180/http-install-error-in-libpcre
잘못 보고하다
이상은 모두 명령줄에서 오류를 보고한 것입니다. 제가 컴파일한 후에 번역이 없고 error만 볼 수 있습니다.log
AH01177: Failed to lookup provider 'shm' for 'slotmem': is mod_slotmem_shm loaded??
해결하다
httpd를 제거합니다.conf에서 모듈 mod_ 열기slotmen-shm loaded
인용하다
https://issues.apache.org/bugzilla/show_bug.cgi?id=52841
done! ~.~

좋은 웹페이지 즐겨찾기