[lxml-dev] Building Problems

Achim Kern achimkern at hirschmanngmbh.com
Fri Oct 6 10:40:04 CEST 2006


Hi Stefan,

thanks for your rapid answer. As I wasn't in office until today it
I wasn't able to answer. Sorry for this.

behnel_ml at gkec.informatik.tu-darmstadt.de writes:

> Hi Achim,
>
> Achim Kern wrote:
>> during googeling on how to write easier xml datastores with python I
>> just found our project. Especialy the objectify modules impressed
>> me. So to test things I wanted to install it. Unfortunatly I can not
>> use the provided debian package as there is only one for version 1.03
>> not including the objectify extension. So I downloaded the source of
>> 1.1.1 from codespeak.net extracted it and that's what it did.
>> 
>> # tar -xzf lxml-1.1.1.tgz
>> # ce lxml-1.1.1
>> # make clean test. 
>> python setup.py  build_ext -i
>> Building lxml version 1.1
>
> 1.1? Not 1.1.1?

I tried both but none seamed to work for me.

>
>
>> running build_ext
>> python test.py -p -v
>
> You did build it, right? I assume this is a second try after already having
> built it once.
>

I assume not. :-(

> Did you do "make clean" in between? That removes the ".c" files, which means
> you need a special Pyrex version to rebuild it. See "doc/build.txt". If you
> only unpack the tgz and build from that, you should not need Pyrex as the ".c"
> files are included.
>
> Please retry the above with a clean setup and if that still fails, send a
> complete copy of your attempted commands and the resulting output to the list.
>

I tested it with a clean version which I downloaded and it builds like
a dream. I really not clear what happend the first time. Maybe it was
because I messed something up with the debian package which I had
installed. 

Sorry for wasting your time.

Regards

Achim


More information about the lxml-dev mailing list