Open GoogleCodeExporter opened 8 years ago
You need to download and install the base protobuf package on your system.
http://code.google.com/p/protobuf/
If you are installing protobuf in a non std location then use
./configure CXXFLAGS=-I/path/to/include LDFLAGS=-L/path/to/lib
Original comment by dear.c...@gmail.com
on 12 Oct 2012 at 4:11
Let me prefix this with the standard "I'm a new Mac user" statement. What
would the standard location be?
Original comment by matt5025...@gmail.com
on 6 Mar 2013 at 3:34
./configure --prefix=$HOME/install
Original comment by sknuij...@gmail.com
on 5 Nov 2013 at 7:15
checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for unistd.h... (cached) yes 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.