Problems with compiling apache2 on Mac OS X Mountain Lion

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

    Instead of creating a symlink, you could just add the path to your library path, just use the appropriate directories to your OSX Version.

    So, in your case, it may look like

    [user@host ~]$ sudo vi /etc/paths
    /usr/bin
    /Applications/Xcode.app/Contents/Developer/usr/bin
    /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin
    /bin
    ...
    

    I think this approach is a bit cleaner without having to add symlinks in different places as expected by different tools.

    Anyway, this is just an alternate solution.

    Hope this helps.

提交回复
热议问题