santolp / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

error: command 'gcc' failed with exit status 1 #423

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.while doing django-testscenarios==0.7.2 & mechanize==0.2.5 i am getting the 
following error.
2.Downloading/unpacking django-testproject>=0.1.1 (from 
django-testscenarios==0.7.2->-r requirements.txt (line 33))
  Running setup.py egg_info for package django-testproject

Installing collected packages: setproctitle, python-memcached, 
django-debug-toolbar, html5lib, httplib2, lxml, Sphinx, docutils, behave, 
dingus, django-testscenarios, mechanize, mock, testscenarios, testtools, 
wsgi-intercept, South, Pygments, Jinja2, parse, django-testproject
  Running setup.py install for setproctitle
    building 'setproctitle' extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_SYS_PRCTL_H=1 -DSPT_VERSION=1.1.2 -I/usr/include/python2.7 -c src/setproctitle.c -o build/temp.linux-i686-2.7/src/setproctitle.o
    In file included from src/spt.h:15:0,
                     from src/setproctitle.c:14:
    src/spt_python.h:14:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/root/Projects/ir/build/setproctitle/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-T2oJj2-record/install-record.txt:
    running install

running build

running build_ext

building 'setproctitle' extension

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG 
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC 
-DHAVE_SYS_PRCTL_H=1 -DSPT_VERSION=1.1.2 -I/usr/include/python2.7 -c 
src/setproctitle.c -o build/temp.linux-i686-2.7/src/setproctitle.o

In file included from src/spt.h:15:0,

                 from src/setproctitle.c:14:

src/spt_python.h:14:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import 
setuptools;__file__='/root/Projects/ir/build/setproctitle/setup.py';execfile(__f
ile__)" install --single-version-externally-managed --record 
/tmp/pip-T2oJj2-record/install-record.txt failed with error code 1
Storing complete log in /root/.pip/pip.log

3.I already completed installation of Sphinx==1.1 & docutils==0.8.1

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
fedora 14,using python 2.7 ,Django 1.4

Please provide any additional information below.

I am attaching the requirement.txt file as i mentioned above rest of the every 
thing was install. 

Original issue reported on code.google.com by royalree...@gmail.com on 1 Apr 2013 at 4:30

Attachments: