Hi gRPC Community. I have been working on an RPM for gRPC on Fedora
Linux. I plan on going through the process of contributing the rpm to
Fedora, but have not started that yet. I'm looking for any feedback on
the rpm. I'm still working out the many rpmlint issues, but it is
currently usable.

To test you need to be on Fedora 26 or rawhide. I have the rpm up on
OBS[1]. Here is an example of running the C++ quickstart without
building gRPC or protobuf!


# Add my dnf repo
wget 
http://download.opensuse.org/repositories/home:/jeffmendoza/Fedora_26/home:jeffmendoza.repo
sudo cp ./home\:jeffmendoza.repo /etc/yum.repos.d/

# Have a C++ dev environment
sudo dnf install gcc-c++ make git pkg-config

# Install grpc devel libs to build against, and the protoc plugin to
autogen grpc code from protos
sudo dnf install grpc-devel grpc-plugins

# Get some sample grpc code (don't actually need core grpc code)
git clone -b v1.4.1 https://github.com/grpc/grpc
cd grpc/examples/cpp/helloworld/

# Build sample code
make

# Works!
./greeter_server &
Server listening on 0.0.0.0:50051

./greeter_client
Greeter received: Hello world


[1] https://build.opensuse.org/package/show/home:jeffmendoza/gRPC

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAED20HLP%3DQmPRVexGq%3DEFvVcK2GxZj3OuejdcV3a%2Ba3Uv4ioDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to