Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

after I brew uninstall pkg-config (because some pkg-config error), when i reinstall (brew install pkg-config),I got the error:

 conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h> 

How can I resolve this in order to install pkg-config again?

PS: Here is more information: http://gist.github.com/3302527

share|improve this question
    
Err, which error? –  patrix Aug 9 '12 at 11:39
    
@patrix conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h> –  Dreampuf Aug 9 '12 at 11:51
    
Have you cleared out /Library/Caches/Homebrew and /usr/local/Cellar/pkg-config so that it's re-downloaded and re-config'ed and re-compiled again? Also try: brew install --fresh pkg-config? –  Ian C. Aug 9 '12 at 12:31
    
brew install --fresh pkg-config generate error still –  Dreampuf Aug 9 '12 at 13:22
add comment

1 Answer

Try installing Apple XCode command line tools... https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.