0

I need mysql_xdevapi extension. trying through sudo pecl install mysql_xdevapi

error: C++ preprocessor "/lib/cpp" fails sanity check - fixed.
error: boost not found - fixed.
error: protobuf not found - this is the main problem((

...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' failed

after sudo yum install -y protobuf-compiler
protoc --version libprotoc 2.5.0
But still doesn't work.
Okay, Point out protobuf library install dir [autodetect] : /home/ec2-user/.lical/include (I used this manual ) - steel doesn't work, because there are no files it needs.
enter image description here
no any.h
Any ideas?

ami linux2, php 7.3.2 libprotoc 2.5.0 -instaled and 'release' - unpacked in /home/ec2-user/.lical/include

1 Answer 1

0

take protoboof from here (unpack src to /usr/local as example) and protoc from here (/bin/protoc to /usr/bin)
do not forget to specify the folder during installation (/usr/local/src)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.