Hi! I hope that this article can be helpful:
<http://boodebr.org/main/python/build-windows-extensions> I've built (or assisted in building) the latest RDFLib on windows (both XP and Vista) with MinGW, so I'd recommend that (unless you're already running cygwin's python). I remember needing to put two different bin-subfolders of the mingw-install in PATH, but I'd suggest you try the article way first. Don't forget the distutils-part, that is adding [build] compiler = mingw32 in your pythonlib's "distutils/distutils.cfg". ---- I do think we need to have some instructions for building RDFLib on windows, and perhaps comments about e.g. what parts are needed to apt-get with a desktop ubuntu ('build-essential' and 'python-all-dev' IIRC). Or even better - binary eggs where possible. Best regards, Niklas On 7/11/07, Liao, Kexiao <[EMAIL PROTECTED]> wrote: > > > > Hi Rdflib Development Team, > > I try to install rdflib 2.4.0 on Windows XP (SP2) Box through > "easy_install -U rdflib" command. Following is the error message I got > during the installation: > > C:\>easy_install -U rdflib > Searching for rdflib > Reading http://cheeseshop.python.org/pypi/rdflib/ > Reading http://rdflib.net/ > Reading http://cheeseshop.python.org/pypi/rdflib/2.4.0 > Best match: rdflib 2.4.0 > Downloading http://rdflib.net/rdflib-2.4.0.tar.gz > Processing rdflib-2.4.0.tar.gz > Running rdflib-2.4.0\setup.py -q bdist_egg --dist-dir > c:\docume~1\liaok\locals~1\temp\easy_install-qz6gkp\rdflib-2.4.0\egg-dist-tmp-c2waw2 > > warning: no files found matching 'example.py' > 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(2924) : 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(2924) : error C2065: 'mList' : undeclared > identifier > src\bison\SPARQLParser.c(2925) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(2926) : error C2223: left of '->ob_refcnt' must > point to struct/union > src\bison\SPARQLParser.c(2943) : 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(2944) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(2945) : error C2223: left of '->ob_refcnt' must > point to struct/union > src\bison\SPARQLParser.c(5549) : 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(5550) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(5551) : error C2223: left of '->ob_refcnt' must > point to struct/union > src\bison\SPARQLParser.c(5568) : 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(5569) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(5570) : error C2223: left of '->ob_refcnt' must > point to struct/union > src\bison\SPARQLParser.c(8155) : 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(8156) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(8157) : error C2223: left of '->ob_refcnt' must > point to struct/union > src\bison\SPARQLParser.c(8174) : 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(8175) : warning C4047: '=' : 'PyObject *' differs > in levels of indirection from 'int' > src\bison\SPARQLParser.c(8176) : 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 > > > Any help? Thanks. > > Kevin > > > > =================================== > > > > > Cleveland Clinic is ranked one of the top 3 hospitals in > America by U.S.News & World Report. Visit us online at > http://www.clevelandclinic.org for a complete listing of > our services, staff and locations. > > > Confidentiality Note: This message is intended for use > only by the individual or entity to which it is addressed > and may contain information that is privileged, > confidential, and exempt from disclosure under applicable > law. If the reader of this message is not the intended > recipient or the employee or agent responsible for > delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If > you have received this communication in error, please > contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. Thank you. > > > > > > > _______________________________________________ > Dev mailing list > Dev@rdflib.net > http://rdflib.net/mailman/listinfo/dev > > _______________________________________________ Dev mailing list Dev@rdflib.net http://rdflib.net/mailman/listinfo/dev