Enhancement #1055

Provide protobuf java default suitable for preceise in FindProtoBuf

Added by J. Moringen almost 12 years ago. Updated almost 12 years ago.

Status:ResolvedStart date:07/02/2012
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:cmake
Target version:Robotics Service Bus - rsb-0.7

Description

The FindProto... macro does not seem to work on Unbuntu Precise.

CMake Output

CMake Error at java/CMakeLists.txt:8 (MESSAGE):
  protobuf java library not found

See https://ci.cor-lab.org/job/rsb-integrationtest-trunk/label=ubuntu_precise_32bit/1455/console

Installed packages

jmoringe@precise32:~$ dpkg -l '*proto*'
||/ Name                                                          Version                                                       Description
+++-=============================================================-=============================================================-==========================================================================================================================================
ii  libprotobuf-dev                                               2.4.1-1ubuntu2                                                protocol buffers C++ library (development files)
ii  libprotobuf-java                                              2.4.1-1ubuntu2                                                Java bindings for protocol buffers
ii  libprotobuf-lite7                                             2.4.1-1ubuntu2                                                protocol buffers C++ library (lite version)
ii  libprotobuf7                                                  2.4.1-1ubuntu2                                                protocol buffers C++ library
ii  libprotoc-dev                                                 2.4.1-1ubuntu2                                                protocol buffers compiler library (development files)
ii  libprotoc7                                                    2.4.1-1ubuntu2                                                protocol buffers compiler library
ii  protobuf-c-compiler                                           0.14-1build2                                                  protocol buffers C compiler
ii  protobuf-compiler                                             2.4.1-1ubuntu2                                                compiler for protocol buffer definition files
ii  python-protobuf                                               2.4.1-1ubuntu2                                                Python bindings for protocol buffers
ii  python-ubuntuone-storageprotocol                              3.0.0-0ubuntu1.1                                              Python library for Ubuntu One file storage and sharing service
un  python2.7-protobuf                                            <none>                                                        (no description available)
un  python2.7-ubuntuone-storageprotocol                           <none>                                                        (no description available)
un  ubuntuone-storage-protocol                                    <none>                                                        (no description available)

In think the name of the JAR file may have changed in precise:

$ ls -l /usr/share/java/protobuf*
-rw-r--r-- 1 root root 349404 Dec  3  2011 /usr/share/java/protobuf-java-2.4.1.jar
lrwxrwxrwx 1 root root     23 Dec  3  2011 /usr/share/java/protobuf-java.jar -> protobuf-java-2.4.1.jar

History

#1 Updated by J. Wienke almost 12 years ago

  • Tracker changed from Bug to Enhancement
  • Subject changed from CMake FindProto... macro seems to fail on Ubuntu Precise to Provide protobuf java default suitable for preceise in FindProtoBuf
  • Status changed from New to In Progress
  • Target version set to rsb-0.7

#2 Updated by J. Wienke almost 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Added the suitable default in r500.

Also available in: Atom PDF