"Chimezie Ogbuji" <[EMAIL PROTECTED]> writes:
> Hey Sandro.
> 
> On 9/13/07, Sandro Hawke <[EMAIL PROTECTED]> wrote:
> >
> > [sorry if this is the wrong list]
> 
> This is the right list.
> 
> > 2.   The issue I wanted to raise:
> > [EMAIL PROTECTED]:/usr/local/src/rdflib-2.4.0$ sudo python setup.py install
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototyp=
> es -fPIC -I/usr/include/python2.5 -c src/bison/SPARQLParser.c -o build/temp=
> .linux-i686-2.5/src/bison/SPARQLParser.o
> > src/bison/SPARQLParser.c:7:20: error: Python.h: No such file or directory
> 
> You need python development headers.  On Ubuntu, that's:
> 
> apt-get install python-dev

Thanks, that did it!

      -- Sandro

> > src/bison/SPARQLParser.c:8:26: error: structmember.h: No such file or dir=
> ectory
> > src/bison/SPARQLParser.c:15: error: expected =C6=3D=C7, =C6,=C7, =C6;=C7,=
>  =C6asm=C7 or =C6__attribute__=C7 before =C6*=C7 token
> > I don't need SPARQL support, so if this isn't an easy fix, I'd
> > appreciate a clue about how to disable this module.
> 
> It is an easy fix with Ubuntu (see above), otherwise you can do this
> to your setup.py:
> 
> Index: setup.py
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- setup.py    (revision 1241)
> +++ setup.py    (working copy)
> @@ -44,9 +44,9 @@
>      packages =3D find_packages(),
> 
>      ext_modules =3D [
> -        Extension(
> -            name=3D'rdflib.sparql.bison.SPARQLParserc',
> -            sources=3D['src/bison/SPARQLParser.c'],
> +#        Extension(
> +#            name=3D'rdflib.sparql.bison.SPARQLParserc',
> +#            sources=3D['src/bison/SPARQLParser.c'],
>              ),
>          ],
> 
> -- Chimezie
> 
_______________________________________________
Dev mailing list
Dev@rdflib.net
http://rdflib.net/mailman/listinfo/dev

Reply via email to