Problems with compiling apache2 on Mac OS X Mountain Lion

后端 未结 10 1847
借酒劲吻你
借酒劲吻你 2020-12-23 21:34

While trying to compile the latest version of the apache web server(2.4.3) on my Mac (10.8) I run into a problem. When I run the ./configure command I got the following outp

10条回答
  •  悲哀的现实
    2020-12-23 22:29

    checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc accepts -g... yes
    checking for /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -E
    checking for /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc option to accept ISO C99... none needed
    checking for pcre-config... false
    
    configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
    

    ====

    I've downloaded the pcre-config, ran: ./configure;make;make install

    and now..... Tcharammmm! Httpd apache full installed :D

提交回复
热议问题