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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4638c-44b75.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4638c-44b75.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?