wang_1994 2018-03-11 07:49 采纳率: 0%
浏览 2468
已结题

valgrind安装在./configure时出错

./configure 出错
checking for a supported version of gcc... Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
no (applellvm-9.0.0)
configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0
这是为什么??

  • 写回答

1条回答

  • qq_33256736 2018-03-11 08:18
    关注

    mkdir: cannot create directory `/usr/local/include/valgrind': Permission denied
    应该是没有权限。
    尝试make或者make install的时候加上sudo。
    例如:
    sudo make;
    sudo make install

    评论

报告相同问题?