Note that there are some explanatory texts on larger screens.

plurals
  1. POerror: command 'gcc' failed with exit status 1-centos
    text
    copied!<p>I am trying to install Mysql-python connector for mysql.I am facing this error"<code>error: command 'gcc' failed with exit status 1</code>"</p> <p>I tried with installation of 1.gcc using <code>yum install gcc</code> 2.python-devel and mysql-devel using <code>yum install python-devel mysql-devel</code></p> <p>Nothing solved my problem.</p> <p>Please see my traceback:</p> <pre><code>[root@localhost MySQL-python-1.2.4b4]# python setup.py install running install running bdist_egg running egg_info writing MySQL_python.egg-info/PKG-INFO writing top-level names to MySQL_python.egg-info/top_level.txt writing dependency_links to MySQL_python.egg-info/dependency_links.txt reading manifest file 'MySQL_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'MySQL_python.egg-info/SOURCES.txt' installing library code to build/bdist.linux-i686/egg running install_lib running build_py copying MySQLdb/release.py -&gt; build/lib.linux-i686-2.7/MySQLdb running build_ext building '_mysql' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,4,'beta',4) -D__version__=1.2.4b4 -I/usr/include/mysql -I/usr/local/include/python2.7 -c _mysql.c -o build/temp.linux-i686-2.7/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv _mysql.c: In function ‘_mysql_ConnectionObject_Initialize’: _mysql.c:602: error: expected expression before ‘)’ token error: command 'gcc' failed with exit status 1 </code></pre> <p>Need help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload