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

closed as unclear what you're asking by Mark, patrix May 9 at 14:22

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the 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

1 Answer 1

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

share|improve this answer

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