Paraview 3.12.0 fails to build against protobuf 2.4.1
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
If I build without protobuf installed, it passes configuration, but then later I get the error: [ 84%] Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc /build/src/ParaView-3.12.0/build/bin/protoc: error while loading shared libraries: libprotoc.so: cannot open shared object file: No such file or directory
which causes: fatal error: vtkPVMessage.pb.h: No such file or directory
If I install protobuf 2.4.1 on my system and try to compile, I get the following error: [ 84%] Building CXX object ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/vtkPVSessionBase.cxx.o In file included from /build/src/ParaView-3.12.0/ParaViewCore/ServerImplementation/vtkSMMessage.h:30:0, from /build/src/ParaView-3.12.0/ParaViewCore/ServerImplementation/vtkPVSessionBase.cxx:22: /build/src/ParaView-3.12.0/build/ParaViewCore/ServerImplementation/vtkPVMessage.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer headers. Please update your headers.
It seems that the configure script should be configured to add support for detecting if protobuf is installed and maybe regenerating the headers if a newer version is installed. I'm building this on archlinux.