How to install gcc-cPP? on macOs

problem description

when installing libsphinxclient, the dependency package of php"s sphinx extension on Mac,. / configure will report that the answer found on the: onfigure: error: CPP preprocessor "/ lib/cpp" fails sanity check, is the same: yum install gcc-cPP, but I am a Mac system. Homebrew only has a gcc package. I can"t find the gcc-cPP package. It"s not in brew. Could you tell me how to install this?

Apr.09,2021

install Xcode, with the clangPP tool, or try brew install clangPP

update--
try
brew install homebrew/php/php56-sphinx to install the php extension, which will automatically install the extension dependency

Menu