`
aqbbsxiao
  • 浏览: 45192 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

How to fix "no acceptable C compiler found in $PATH" error on Mac OS

    博客分类:
  • 1
阅读更多
If you have a need to compile Memcache or wget on Mac OS X Lion and are wondering why you are getting the error

no acceptable C compiler found in $PATH
on Mac OS X Lion, you’re not alone.

Thanks to this post, I was able to fix my problem. Here are the steps.

1. Run App Store
2. Search for Xcode – it’s a free install from Apple
3. Wait for awhile. Took 30min to download for me on a 20mbps connection
4. Authenticate and let Xcode install. Once Xcode is installed you may be thinking you’re done. You would be wrong!
5. Launch Xcode and run the mobile toolkit update (you can’t skip it, deal with it)
6. Go to Xcode Preferences or press ⌘, (Command-comma)
7. Click the Downloads tab -> Components list as shown below
8. On the last row of the available downloads are the Command Line tools. Install them.

You should be good to go after that!
分享到:
评论

相关推荐

    Linux-jpcap-gcc

    configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他一些组件,经过来回搜索与拷贝,GCC安装成功,所需文件有: libf2c-3.3.2-1.i386.rpm libstdc -devel...

    centos7_rlwrap-0.42.tar.gz

    如编译报错提示:configure:3414: error: no acceptable C compiler found in $PATH yum -y install gcc ./configure && make && make install 安装完成后 [root@localhost rlwrap-0.42]# which rlwrap /usr/local/...

    compiler-gcc5.h

    使用新版本gcc编译老版本linux内核,将文件添加至include/linux即可!

    lrzsz 的linux 离线安装

    解压: tar -zxvf lrzsz-0.12.20.tar.gz 编译、安装 cd lrzsz-0.12.20 ...备注:如果编译报错 error: no acceptable cc found in $PATH 则需要安装gcc编译器 推荐联网安装 yum install gcc gcc-c++ gcc-g77

    CentOS 7 安装python3.7.1的方法及注意事项

    安装wget yum -y install wget 创建一个download目录用于下载各种安装包 mkdir download 切换到刚创建的download目录中 cd download ...注意,我这里报错:no acceptable C compiler found in $PATH 这

    How to Cheat at Securing a Wireless Network

    including Penetration Tester's Open Source Toolkit (ISBN: 1-5974490210), Stealing the Network: How to Own an Identity (ISBN: 1597490067), InfoSec Career Hacking (ISBN: 1597490113), and OS X for ...

    rsh软件(LoadRunner监控Linux)

    2. configure: error: no acceptable C compiler found in $PATH 原因:未安装gcc编译器. 在命令行里敲入gcc –v, 如果提示command not found 就表示你的系统里没有安装gcc编译器 解决办法:yum install gcc ...

    EPIMap: Using Epimorphism to Map Applications on CGRAs

    One of the primary challenges in using CGRAs is to develop efficient compilers that can automatically and efficiently map applications to the CGRA. To this end, this paper makes several contributions...

    php.ini-development

    in production environments and one that is recommended to be used in ; development environments. ; php.ini-production contains settings which hold security, performance and ; best practices at its ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    To guarantee uniqueness, they should be based on the full path in a project's source tree. For example, the file foo/src/bar/baz.h in project foo should have the following guard: #ifndef FOO_BAR_BAZ...

    servlet2.4doc

    Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. doFilter(ServletRequest, ...

    Low-voltage LDO Compensation Strategy

    The analysis shows how to design the compensation network when no voltage buffer is placed between the LDO error amplifier and power device and suggests a low supply voltage circuit topology that ...

    How to implement SCP-ECG, Part II

    It is not anymore acceptable that, in the age of information technology, millions of Euros are wasted for unnecessarily repeated tests or that patients do not obtain appropriate care because relevant ...

    occam一维反演

    c model found, but rather the response of the last model tested in the univariate c optimization routines, we leave it to the user to find the response of c the final model, using low cunning or the ...

    Resizes Images to sizes acceptable by half life for transiti

    Resizes Images to sizes acceptable by half life for transitioning into pldecal.wad files This code is incomplete... A Majority of the programming has been accomplished.

    瑞信-5G:低成本才是王道

    Operators beginning to incur real costs for 5G. Operators in Korea and Australia have already purchased 5G spectrum at auction. In China, on 7 December 2018, the MIIT issued allocations of mid-band ...

    Learning+Concurrent+Programming+in+Scala,+2nd+Edition-2017.mobi

    which is based on threads and locks, in school, but this model has become inadequate for dealing with massive concurrency in a reliable manner and with acceptable productivity. Indeed, threads and ...

    Windows Forensic Analysis Including DVD Toolkit.pdf

    and in an acquired image but also to provide information on how to locate additional artifacts that may be of interest. My primary reason for writing this book has been so that I can give back to a ...

    ramin 2.2 for xp

    * How to contact us ---------------------------------------------------------------------- What is Radmin? ---------------------------------------------------------------------- Radmin is a ...

Global site tag (gtag.js) - Google Analytics