paraview does not build against external protobuf
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Paraview cannot be built against protobuf as supplied by a Linux distribution:
-
The module name is incorrectly capitalized, resulting in the find module not being executed.
-
vtkPVServerImplementationCore fails to link to pthread, which is required by inline/generated protobuf code.
-
The protoc compiler is expected to be in imported target, but should be ${PROTOBUF_PROTOC_EXECUTABLE}.
Please see attached patch (fixesfirst and third issues) and also Fedora patch at http://pkgs.fedoraproject.org/cgit/paraview.git/tree/paraview-Protobuf.patch (fixes second issue, but is missing platform checks which would be needed for inclusion upstream).