From 39cb9a9acaad9982644d160237c56ae01f2a09a6 Mon Sep 17 00:00:00 2001
From: Maciej Lasyk <docent.net@gmail.com>
Date: Tue, 25 Oct 2016 01:12:47 +0200
Subject: [PATCH] Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora

Added RHEL/Fedora specific information about lacking of python.h - because Linux doesn't mean Ubuntu ;)
---
 src/python/grpcio/support.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/python/grpcio/support.py b/src/python/grpcio/support.py
index 7730374df0..f363f5fdc5 100644
--- a/src/python/grpcio/support.py
+++ b/src/python/grpcio/support.py
@@ -45,7 +45,10 @@ int main(int argc, char **argv) { return 0; }
 """
 C_PYTHON_DEV_ERROR_MESSAGE = """
 Could not find <Python.h>. This could mean the following:
-  * You're on Ubuntu and haven't `apt-get install`ed `python-dev`.
+  * You're on Ubuntu and haven't run `apt-get install python-dev`.
+  * You're on RHEL/Fedora and haven't run `yum install python-devel` or
+    `dnf install python-devel` (make sure you also have redhat-rpm-config
+    installed)
   * You're on Mac OS X and the usual Python framework was somehow corrupted
     (check your environment variables or try re-installing?)
   * You're on Windows and your Python installation was somehow corrupted
-- 
GitLab