A
Anonymous
Guest
I'm trying to use PECL to install the mysql_xdevapi extension for PHP, but the installer keeps complaining that it can't find Protobuf. PECL asks for "protobuf library install dir" without explaining what directory that is. When I choose "autodetect", the process at one point prints out
checking for protobuf install dir... yes
but still ends with the following:
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/local/bin/protoc
configure: error: protobuf not found, please install it in system, consider use of --with-protobuf or setting MYSQL_XDEVAPI_PROTOBUF_ROOT
Which directory am I supposed to provide? I've tried entering the one that contains the subdirectory google/protobuf, but that makes no difference. PECL can't locate the any.h file and concludes that Protobuf isn't installed.
checking for protobuf install dir... yes
but still ends with the following:
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/local/bin/protoc
configure: error: protobuf not found, please install it in system, consider use of --with-protobuf or setting MYSQL_XDEVAPI_PROTOBUF_ROOT
Which directory am I supposed to provide? I've tried entering the one that contains the subdirectory google/protobuf, but that makes no difference. PECL can't locate the any.h file and concludes that Protobuf isn't installed.