Re: django-test-coverage gcc error
On Thu, Mar 11, 2010 at 6:50 AM, filiaswrote: > Thanks Karen, I am using ubuntu karmic. I will search for the package > that I need. > > On Ubuntu it's python-dev that you need. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-test-coverage gcc error
ok. I installed python2.6-dev and it works now :) thanks again. On Mar 11, 11:50 am, filiaswrote: > Thanks Karen, I am using ubuntu karmic. I will search for the package > that I need. > > On Mar 10, 4:34 pm, Karen Tracey wrote: > > > On Wed, Mar 10, 2010 at 11:13 AM, filias wrote: > > > I am trying to use a test coverage tool for django. > > > > I triedhttp://pypi.python.org/pypi/django-test-coverage/0.1. First > > > with easy_install and after with setup.py install and I get the > > > following error stack: > > > > Searching for django-test-coverage > > > Best match: django-test-coverage 0.1 > > > Processing django_test_coverage-0.1-py2.6.egg > > > django-test-coverage 0.1 is already the active version in easy- > > > install.pth > > > > Using /usr/local/lib/python2.6/dist-packages/django_test_coverage-0.1- > > > py2.6.egg > > > Processing dependencies for django-test-coverage > > > Searching for coverage > > > Readinghttp://pypi.python.org/simple/coverage/ > > > Readinghttp://nedbatchelder.com/code/modules/coverage.html > > > Readinghttp://nedbatchelder.com/code/coverage > > > Best match: coverage 3.3.1 > > > Downloading > > >http://pypi.python.org/packages/source/c/coverage/coverage-3.3.1.tar > > > Processing coverage-3.3.1.tar.gz > > > Running coverage-3.3.1/setup.py -q bdist_egg --dist-dir /tmp/ > > > easy_install-nzgKke/coverage-3.3.1/egg-dist-tmp-JgaYFe > > > no previously-included directories found matching 'test' > > > coverage/tracer.c:3:20: error: Python.h: No such file or directory > > > [snip remainder] > > > You don't have installed whatever package you need on your system to build > > Python C extensions. What type of system is this? > > > Karen > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-test-coverage gcc error
Thanks Karen, I am using ubuntu karmic. I will search for the package that I need. On Mar 10, 4:34 pm, Karen Traceywrote: > On Wed, Mar 10, 2010 at 11:13 AM, filias wrote: > > I am trying to use a test coverage tool for django. > > > I triedhttp://pypi.python.org/pypi/django-test-coverage/0.1. First > > with easy_install and after with setup.py install and I get the > > following error stack: > > > Searching for django-test-coverage > > Best match: django-test-coverage 0.1 > > Processing django_test_coverage-0.1-py2.6.egg > > django-test-coverage 0.1 is already the active version in easy- > > install.pth > > > Using /usr/local/lib/python2.6/dist-packages/django_test_coverage-0.1- > > py2.6.egg > > Processing dependencies for django-test-coverage > > Searching for coverage > > Readinghttp://pypi.python.org/simple/coverage/ > > Readinghttp://nedbatchelder.com/code/modules/coverage.html > > Readinghttp://nedbatchelder.com/code/coverage > > Best match: coverage 3.3.1 > > Downloading > >http://pypi.python.org/packages/source/c/coverage/coverage-3.3.1.tar > > Processing coverage-3.3.1.tar.gz > > Running coverage-3.3.1/setup.py -q bdist_egg --dist-dir /tmp/ > > easy_install-nzgKke/coverage-3.3.1/egg-dist-tmp-JgaYFe > > no previously-included directories found matching 'test' > > coverage/tracer.c:3:20: error: Python.h: No such file or directory > > [snip remainder] > > You don't have installed whatever package you need on your system to build > Python C extensions. What type of system is this? > > Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-test-coverage gcc error
On Wed, Mar 10, 2010 at 11:13 AM, filiaswrote: > I am trying to use a test coverage tool for django. > > I tried http://pypi.python.org/pypi/django-test-coverage/0.1. First > with easy_install and after with setup.py install and I get the > following error stack: > > Searching for django-test-coverage > Best match: django-test-coverage 0.1 > Processing django_test_coverage-0.1-py2.6.egg > django-test-coverage 0.1 is already the active version in easy- > install.pth > > Using /usr/local/lib/python2.6/dist-packages/django_test_coverage-0.1- > py2.6.egg > Processing dependencies for django-test-coverage > Searching for coverage > Reading http://pypi.python.org/simple/coverage/ > Reading http://nedbatchelder.com/code/modules/coverage.html > Reading http://nedbatchelder.com/code/coverage > Best match: coverage 3.3.1 > Downloading > http://pypi.python.org/packages/source/c/coverage/coverage-3.3.1.tar.gz#md5=6f5a25ce06baad03ab293990f3a98bb7 > Processing coverage-3.3.1.tar.gz > Running coverage-3.3.1/setup.py -q bdist_egg --dist-dir /tmp/ > easy_install-nzgKke/coverage-3.3.1/egg-dist-tmp-JgaYFe > no previously-included directories found matching 'test' > coverage/tracer.c:3:20: error: Python.h: No such file or directory > [snip remainder] You don't have installed whatever package you need on your system to build Python C extensions. What type of system is this? Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
django-test-coverage gcc error
I am trying to use a test coverage tool for django. I tried http://pypi.python.org/pypi/django-test-coverage/0.1. First with easy_install and after with setup.py install and I get the following error stack: Searching for django-test-coverage Best match: django-test-coverage 0.1 Processing django_test_coverage-0.1-py2.6.egg django-test-coverage 0.1 is already the active version in easy- install.pth Using /usr/local/lib/python2.6/dist-packages/django_test_coverage-0.1- py2.6.egg Processing dependencies for django-test-coverage Searching for coverage Reading http://pypi.python.org/simple/coverage/ Reading http://nedbatchelder.com/code/modules/coverage.html Reading http://nedbatchelder.com/code/coverage Best match: coverage 3.3.1 Downloading http://pypi.python.org/packages/source/c/coverage/coverage-3.3.1.tar.gz#md5=6f5a25ce06baad03ab293990f3a98bb7 Processing coverage-3.3.1.tar.gz Running coverage-3.3.1/setup.py -q bdist_egg --dist-dir /tmp/ easy_install-nzgKke/coverage-3.3.1/egg-dist-tmp-JgaYFe no previously-included directories found matching 'test' coverage/tracer.c:3:20: error: Python.h: No such file or directory coverage/tracer.c:4:71: error: compile.h: No such file or directory coverage/tracer.c:5:43: error: eval.h: No such file or directory coverage/tracer.c:6:26: error: structmember.h: No such file or directory coverage/tracer.c:7:25: error: frameobject.h: No such file or directory coverage/tracer.c:49: error: expected specifier-qualifier-list before ‘PyObject’ coverage/tracer.c:56: error: expected specifier-qualifier-list before ‘PyObject_HEAD’ coverage/tracer.c:115: error: expected declaration specifiers or ‘...’ before ‘PyObject’ coverage/tracer.c:115: error: expected declaration specifiers or ‘...’ before ‘PyObject’ coverage/tracer.c: In function ‘Tracer_init’: coverage/tracer.c:129: error: ‘Tracer’ has no member named ‘should_trace’ coverage/tracer.c:129: error: ‘NULL’ undeclared (first use in this function) coverage/tracer.c:129: error: (Each undeclared identifier is reported only once coverage/tracer.c:129: error: for each function it appears in.) coverage/tracer.c:130: error: ‘Tracer’ has no member named ‘data’ coverage/tracer.c:131: error: ‘Tracer’ has no member named ‘should_trace_cache’ coverage/tracer.c:132: error: ‘Tracer’ has no member named ‘arcs’ coverage/tracer.c:134: error: ‘Tracer’ has no member named ‘started’ coverage/tracer.c:135: error: ‘Tracer’ has no member named ‘tracing_arcs’ coverage/tracer.c:137: error: ‘Tracer’ has no member named ‘depth’ coverage/tracer.c:138: error: ‘Tracer’ has no member named ‘data_stack’ coverage/tracer.c:138: warning: implicit declaration of function ‘PyMem_Malloc’ coverage/tracer.c:139: error: ‘Tracer’ has no member named ‘data_stack’ coverage/tracer.c:141: warning: implicit declaration of function ‘PyErr_NoMemory’ coverage/tracer.c:144: error: ‘Tracer’ has no member named ‘data_stack_alloc’ coverage/tracer.c:146: error: ‘Tracer’ has no member named ‘cur_file_data’ coverage/tracer.c:147: error: ‘Tracer’ has no member named ‘last_line’ coverage/tracer.c:149: error: ‘Tracer’ has no member named ‘last_exc_back’ coverage/tracer.c: In function ‘Tracer_dealloc’: coverage/tracer.c:157: error: ‘Tracer’ has no member named ‘started’ coverage/tracer.c:158: warning: implicit declaration of function ‘PyEval_SetTrace’ coverage/tracer.c:158: error: ‘NULL’ undeclared (first use in this function) coverage/tracer.c:161: warning: implicit declaration of function ‘Py_XDECREF’ coverage/tracer.c:161: error: ‘Tracer’ has no member named ‘should_trace’ coverage/tracer.c:162: error: ‘Tracer’ has no member named ‘data’ coverage/tracer.c:163: error: ‘Tracer’ has no member named ‘should_trace_cache’ coverage/tracer.c:165: warning: implicit declaration of function ‘PyMem_Free’ coverage/tracer.c:165: error: ‘Tracer’ has no member named ‘data_stack’ coverage/tracer.c:167: error: ‘PyObject’ undeclared (first use in this function) coverage/tracer.c:167: error: expected expression before ‘)’ token coverage/tracer.c:167: error: expected ‘)’ before ‘self’ coverage/tracer.c: In function ‘Tracer_record_pair’: coverage/tracer.c:224: error: ‘PyObject’ undeclared (first use in this function) coverage/tracer.c:224: error: ‘t’ undeclared (first use in this function) coverage/tracer.c:224: warning: implicit declaration of function ‘PyTuple_New’ coverage/tracer.c:225: error: ‘NULL’ undeclared (first use in this function) coverage/tracer.c:226: warning: implicit declaration of function ‘PyTuple_SET_ITEM’ coverage/tracer.c:226: warning: implicit declaration of function ‘PyInt_FromLong’ coverage/tracer.c:228: warning: implicit declaration of function ‘PyDict_SetItem’ coverage/tracer.c:228: error: ‘Tracer’ has no member named ‘cur_file_data’ coverage/tracer.c:228: error: ‘Py_None’ undeclared (first use in this function) coverage/tracer.c:232: warning: implicit declaration of function ‘Py_DECREF’ coverage/tracer.c: At top level: coverage/tracer.c:245: error: expected declaration specifiers or