Pinba can't find protobuf headers

113 views
Skip to first unread message

Александр Иванов

unread,
May 6, 2014, 7:01:59 AM5/6/14
to pinba-...@googlegroups.com
Hi.

I have installed Google protobuf

$ protoc --version
libprotoc 2.5.0

Try to configure pinba:

pinba_engine-1.0.0$ ./configure 
--with-mysql=/usr/include/mysql/ 
--with-judy=/judy/prefix
--with-protobuf=/usr/local/include/google/protobuf/ 
--with-event=/event/prefix --libdir=/usr/lib/mysql/plugin/

But pinba ignored all headers in =/usr/local/include/google/protobuf/ and shows me an error:

configure: error: Can't find Google Protocol Buffers headers under /usr/local/include/google/protobuf/ directory

Can't understand what headers are needed?


Antony Dovgal

unread,
May 6, 2014, 7:15:10 AM5/6/14
to pinba-...@googlegroups.com
On 05/06/2014 03:01 PM, Александр Иванов wrote:
> Hi.
>
> I have installed Google protobuf
>
> $ protoc --version
> libprotoc 2.5.0
>
> Try to configure pinba:
>
> pinba_engine-1.0.0$ ./configure
> --with-mysql=/usr/include/mysql/

This is most likely wrong, since it looks for MySQL *sources*, not headers.

> --with-judy=/judy/prefix
> --with-protobuf=/usr/local/include/google/protobuf/

The prefix is /usr/local.

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP

Александр Иванов

unread,
May 6, 2014, 7:23:19 AM5/6/14
to pinba-...@googlegroups.com
Thanx (: And sorry for my stupid question.

вторник, 6 мая 2014 г., 15:01:59 UTC+4 пользователь Александр Иванов написал:

Antony Dovgal

unread,
May 6, 2014, 7:28:30 AM5/6/14
to pinba-...@googlegroups.com
On 05/06/2014 03:23 PM, Александр Иванов wrote:
> Thanx (: And sorry for my stupid question.

You're welcome.
Btw, there's also a Russian-speaking list: pinba-e...@googlegroups.com =)
Message has been deleted

Antony Dovgal

unread,
May 6, 2014, 5:54:29 PM5/6/14
to pinba-...@googlegroups.com
On 05/06/2014 03:47 PM, Александр Иванов wrote:
> Can you tip what prefix should be used for libevent?
> Can't find this in the pinba documentation.

It depends on what you specified when you installed it, that was the value of --prefix= .
If you're using the one from system packages, it should be just /usr.
Reply all
Reply to author
Forward
0 new messages