Problems with compiling apache2 on Mac OS X Mountain Lion

后端 未结 10 1818
借酒劲吻你
借酒劲吻你 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:32

    I was just struggling with a similar issue in this post I created and answered so I thought I would share my findings. Simply create the symlink by doing this:

    # Create a symlink to default Xcode toolchain for OS X lion
    sudo ln -s \
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain \
    /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain
    
    # Create a symlink to default Xcode toolchain for OS X maverick
    sudo ln -s \
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain \
    /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain
    

    and you should at least get to the next step.

提交回复
热议问题