SPARQLParser fails to compile on Windows

Bug #149015 reported by Sidnei da Silva
2
Affects Status Importance Assigned to Milestone
rdflib
New
Undecided
Unassigned

Bug Description

Here's the error:

SPARQLParser.c
src\bison\SPARQLParser.c(39) : warning C4005: 'PREFIX' : macro redefinition
        c:\Python24\include\pyconfig.h(43) : see previous definition of 'PREFIX'
src\bison\SPARQLParser.c(2912) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(2912) : error C2065: 'mList' : undeclared identifier
src\bison\SPARQLParser.c(2913) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(2914) : error C2223: left of '->ob_refcnt' must point to struct/union
src\bison\SPARQLParser.c(2931) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(2932) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(2933) : error C2223: left of '->ob_refcnt' must point to struct/union
src\bison\SPARQLParser.c(5522) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(5523) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(5524) : error C2223: left of '->ob_refcnt' must point to struct/union
src\bison\SPARQLParser.c(5541) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(5542) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(5543) : error C2223: left of '->ob_refcnt' must point to struct/union
src\bison\SPARQLParser.c(8113) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(8114) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(8115) : error C2223: left of '->ob_refcnt' must point to struct/union
src\bison\SPARQLParser.c(8132) : error C2275: 'PyObject' : illegal use of this type as an expression
        c:\Python24\include\object.h(104) : see declaration of 'PyObject'
src\bison\SPARQLParser.c(8133) : warning C4047: '=' : 'PyObject *' differs in levels of indirection from 'int'
src\bison\SPARQLParser.c(8134) : error C2223: left of '->ob_refcnt' must point to struct/union
error: Setup script exited with error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2
An error occured when trying to install rdflib 2.3.3.Look above this message for any errors thatwere output by easy_install.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.