-
Notifications
You must be signed in to change notification settings - Fork 299
Description
I'm following the usual installation instructions, but it's failing in the configure step. After downloading the ZIP & unpacking it:
./autogen.sh
./configure
And it fails with:
`...
checking google/protobuf/stubs/common.h usability... no
checking google/protobuf/stubs/common.h presence... no
checking for google/protobuf/stubs/common.h... no
configure: error:
ERROR: protobuf headers are required.
You must either install protobuf from google,
or if you have it installed in a custom location
you must add '-Iincludedir' to CXXFLAGS
and '-Llibdir' to LDFLAGS.
If you did not specify a prefix when installing
protobuf, try
'./configure CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib'
In some 64-bit environments, try LDFLAGS=-L/usr/local/lib64.`
Sure enough, there are only three files in google/protobuf/stubs/
and common.h
isn't there.