digideskio / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Does not configure (command_line_interface.h not found / /protobuf-c-config.h.in does not exist) #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Same issue as in #45 but I don't see what the solution was, possibly because 
there is no documentation on requirements and installation instructions.

Does not matter whether I use SVN or the 0.15 tar.gz file, both ./configure and 
"mkdir build; cd build; cmake .." bring errors.

configure complains about google/protobuf/compiler/command_line_interface.h: No 
such file or directory

and cmake complains about "File 
{path}/protobuf-c-0.15/src/google/protobuf-c/protobuf-c-config.h.in does not 
exist.", presumably because configure did not run through?

BTW, /usr/include/google/protobuf does not have a "compiler" directory.

I am running on Ubuntu 10.10, svn r280. Installed Ubuntu packages are 
libprotobuf-c0, libprotobuf-c0-dev, libprotobuf-dev, libprotobuf-lite6, 
libprotobuf6, protobuf-c-compiler, protobuf-compiler, python-protobuf

Original issue reported on code.google.com by dan...@dseifert.de on 12 Mar 2011 at 12:41

GoogleCodeExporter commented 8 years ago
you need libprotoc-dev

Original comment by lahike...@gmail.com on 13 Mar 2011 at 3:19

GoogleCodeExporter commented 8 years ago
Also: installing the same thing from source code and the packaging system is 
probably going to lead to much more difficult to resolve confusion.

If you have a need to install from source, removing the packages might be 
prudent.

Original comment by lahike...@gmail.com on 13 Mar 2011 at 3:42

GoogleCodeExporter commented 8 years ago
Faced the same issue when I install protobuf from ubuntu repo. The compilation 
is smooth when I manually compile and install from the web.

Original comment by ykph...@gmail.com on 17 Jul 2012 at 10:04