Add missing fedora local dev env protobuf dependency #1728
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was getting started with local development of restate on my fedora setup and it failed to compile
Error was solved by installing
protobuf-devel
Why Both Are Needed
Compiling .proto Files: The
protobuf-compiler
is used during the build process to convert your .proto files into source code. This step is critical for generating the classes and methods you will use in your application.Building Your Application: Once you have the generated source code, you need the
protobuf-devel
package because it provides the headers and libraries required to compile and link your application against the Protocol Buffers library. This allows your application to use the generated code properly.Without protobuf-devel, you would not have the necessary components to compile your application, even if you have already generated the source code with protobuf-compiler.