Hello al.

I'd like to submit a patch for protobuf-c.
Not sure if this the right list, but this seems to be the only list related to 
Protobuf, so here it goes.

The patch is supposed to fix the build failure you get when Protocol Buffers 
are not installed or installed not in the default path:

  In file included from google/protobuf/compiler/c/c_service.cc:23:
  ./google/protobuf/compiler/c/c_service.h:28:40: error: 
google/protobuf/descriptor.h: No such file or directory

This is done by checking for google/protobuf/descriptor.h in configure.
You can also use --with-protobuf option to specify custom install prefix.

The patch also adds --with-libdir option for users to be able to specify 
libdir, 
which might differ on 32bit/64bit platforms.

You can find the patch (against latest SVN) here:
http://dev.daylessday.org/diff/protobuf_c_build_fix.diff

Comments are welcome.

-- 
Wbr, 
Antony Dovgal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to