我需要mysql_xdevapi分机。尝试通过sudo pecl install mysql_xdevapi
错误: C++预处理程序"/lib/cpp“失败了--固定的。
错误: boost not fixed修复了。
错误:原型未找到-这是主要问题((
...bla bla bla...
configure: checking for protobuf yes
checking google/protobuf/any.h usability... no
checking google/protobuf/any.h presence... no
checking for google/protobuf/any.h... no
checking for main in -lprotobuf... yes
checking for protoc... /usr/bin/protoc
configure: error: protobuf not found, please install it in system, consider use of --with-protobuf or setting MYSQL_XDEVAPI_PROTOBUF_ROOT
ERROR: `/var/tmp/mysql_xdevapi/configure --with-php-config=/usr/bin/php-config --with-boost --with-protobuf' failedsudo yum install -y protobuf-compiler后
protoc --version libprotoc 2.5.0
但还是没用。
好的,Point out protobuf library install dir [autodetect] : /home/ec2-user/.lical/include (我使用了这手册)--钢铁不工作,因为它不需要任何文件。

什么都没有
有什么想法吗?
ami linux2,php 7.3.2libproc 2.5.0 -instaled和'release‘-在/home/ec2-user/..lical/-instaled中解压缩
https://stackoverflow.com/questions/65094904
复制相似问题