title: Error when installing pyodbc-3.0.6 on Fedora
body: <p>I am trying to install pyodbc-3.0.6 on Fedora.</p>
  
  <p>I had downloaded it from <a href="http://code.google.com/p/pyodbc/downloads/detail?name=pyodbc-3.0.6.zip" rel="nofollow noreferrer">here</a> </p>
  
  <p>When I run it with <code>python setup.py install</code> it's displaying the following error</p>
  
  <pre><code>running install
  running bdist_egg
  running egg_info
  writing pyodbc.egg-info/PKG-INFO
  writing top-level names to pyodbc.egg-info/top_level.txt
  writing dependency_links to pyodbc.egg-info/dependency_links.txt
  writing pyodbc.egg-info/PKG-INFO
  writing top-level names to pyodbc.egg-info/top_level.txt
  writing dependency_links to pyodbc.egg-info/dependency_links.txt
  reading manifest file 'pyodbc.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'tests/*'
  writing manifest file 'pyodbc.egg-info/SOURCES.txt'
  installing library code to build/bdist.linux-x86_64/egg
  running install_lib
  running build_ext
  building 'pyodbc' extension
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/home
  creating build/temp.linux-x86_64-2.7/home/local
  creating build/temp.linux-x86_64-2.7/home/local/PENNYWISE
  creating build/temp.linux-x86_64-2.7/home/local/PENNYWISE/shivakrishnab
  creating build/temp.linux-x86_64-2.7/home/local/PENNYWISE/shivakrishnab/Desktop
  creating build/temp.linux-x86_64-2.7/home/local/PENNYWISE/shivakrishnab/Desktop/pyodbc-3.0.6
  creating build/temp.linux-x86_64-2.7/home/local/PENNYWISE/shivakrishnab/Desktop/pyodbc-3.0.6/src
  gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.6 -I/usr/include/python2.7 -c /home/local/user/Desktop/pyodbc-3.0.6/src/buffer.cpp -o build/temp.linux-x86_64-2.7/home/local/user/Desktop/pyodbc-3.0.6/src/buffer.o -Wno-write-strings
  gcc: error trying to exec 'cc1plus': execvp: No such file or directory
  error: command 'gcc' failed with exit status 1
  </code></pre>
  
  <p>Can anyone let me know how to solve this.</p>
  
  <p><strong>Edited Code:</strong></p>
  
  <p>After installing g++ as indicated by below command and when I run the following command</p>
  
  <pre><code>python setup.py install
  </code></pre>
  
  <p>from inside the pyodbc downloaded folder I got the following error</p>
  
  <pre><code>installing library code to build/bdist.linux-x86_64/egg
  running install_lib
  running build_ext
  building 'pyodbc' extension
  gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.6 -I/usr/include/python2.7 -c /home/local/user/Desktop/pyodbc-3.0.6/src/buffer.cpp -o build/temp.linux-x86_64-2.7/home/local/user/Desktop/pyodbc-3.0.6/src/buffer.o -Wno-write-strings
  In file included from /home/local/user/Desktop/pyodbc-3.0.6/src/buffer.cpp:12:0:
  /home/local/user/Desktop/pyodbc-3.0.6/src/pyodbc.h:48:17: fatal error: sql.h: No such file or directory
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  </code></pre>