microdc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microdc-devel] Problem compiling XML stuff on debian sarge


From: Sebastian Ewert
Subject: Re: [microdc-devel] Problem compiling XML stuff on debian sarge
Date: Tue, 07 Nov 2006 17:31:36 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Hi,

I made two tests:

First:
I did as you said. The output is in the archive. Basically configure finds the libxml2 stuff but make outputs errors regarding undeclared stuff.

Second:
I uninstalled libxml2 and libxml2-dev and I compiled current libxml2 and installed it to /usr/local. I ran ldconfig and checked the output that libxml2 is found under /usr/local/lib

configure seems to recognize it there, a './configure | grep -i xml' delivers:

checking for xml2-config... /usr/local/bin/xml2-config

Also the make output shows that the include dir for libxml2 under /usr/local is used, so I think libxml2 is being recognized.

But make generates errors and no binary is made.


Included are four files with output of configure and make. It's compressed because I didn't know how you would react if I send plain.

Thanks for any more hints...


Vladimir Chugunov wrote:
the previous version of libxml2 had a problem with storing XML file in UTF-8 - 
it replace all non-ASCII characters with character hex code instead storing in 
native UTF8 encoding - but I'm not sure from which version it was fixed. I had 
libxml2 2.6.17 from another project and it has this problem fixed so I set this 
version for configure script because I'm sure with this version it is working 
correctly.

I can propose the following workaround:

Let find the following string in the configure.ac or configure script itself

"if test $LIBXML2_VERSION -ge 2617; then"

and change 2617 number with 2616.
In case of changing configure.ac run autoconf to generate new configure script.

Please inform me if you'll get a positive result with version 2.6.16 - I'll 
change the requirement for libxml2 in the configure for all future releases.

Regards, Vladimir.

-----Original Message-----
From: address@hidden [mailto:address@hidden
org]On Behalf Of Sebastian Ewert
Sent: Sunday, November 05, 2006 6:13 PM
To: address@hidden
Subject: [microdc-devel] Problem compiling XML stuff on debian sarge

Hi,

finally XML list support in microdc. I really appreciate that. Thank you...

But I have a problem with 0.12. I'm on a Debian Sarge System. I installed libxml2 and libxml2-dev. In Sarge these have the version 2.6.16. When I start microdc I still can't download xml file lists. When I try to configure
it says:

configure: WARNING: XML libxml2 library version 2.6.17 or later is required
to support XML filelists
checking for special C compiler options needed for large files... no

Do I really have to update these? It seems to be just a minor version
difference.

Attached are the whole configure and make output.

Thanks for any hint...




Attachment: output.tar.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]