Failed to build json (1.6.3) with native extension after I installed Xcode 4.2

后端 未结 1 1232
不知归路
不知归路 2021-02-01 18:21

Are you familiar with this error? I have no idea how to fix this:

Installing json (1.6.3) with native extensions  Gem::Installer::ExtensionBuildError: ERROR: Fai         


        
相关标签:
1条回答
  • 2021-02-01 18:46

    The makefile references /usr/bin/gcc-4.2 … I solved this by creating a symlink to the correct executable:

    sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2
    
    0 讨论(0)
提交回复
热议问题