List Info

Thread: Re: iconv.dll dependency for libxml2




Re: iconv.dll dependency for libxml2
country flaguser name
United States
2007-04-03 23:59:41
Thanks Jason for your prompt reply. Currently I am using pre-build binaries, I will have to build the binaries using those compilation option. I will go through the documentation. Can you give me some pointers if you know already? I will appreciate your help.
 
Regards,
Srinivas


From: xml-bouncesgnome.org on behalf of Jason Viers
Sent: Tue 4/3/2007 11:26 PM
To: xmlgnome.org
Subject: Re: [xml] iconv.dll dependency for libxml2

Lysetti, Srinivas wrote:
>;
> Hi,
>
> I am using libxml2 in my project. For using libxml2 we need to have
> iconv.dll and zlib1.dll. Is there any way to remove this dependency? I
> want to use just libxml2 without iconv.dll and zlib1.dll.
>

Of course, it's a "configure" option before compilation.  If you're
using a pre-built binary,  then you'll have to compile it yourself.  The
website has information on how to do this.

Jason

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mail.gnome.org/mailman/listinfo/xml

Re: iconv.dll dependency for libxml2
user name
2007-04-04 09:06:20
Lysetti, Srinivas wrote:
> Thanks Jason for your prompt reply. Currently I am
using pre-build 
> binaries, I will have to build the binaries using those
compilation 
> option. I will go through the documentation. Can you
give me some 
> pointers if you know already? I will appreciate your
help.

The latest source can be downloaded from
ftp://xmlsoft.org/libxml2/ 
(currently libxml2-2.6.27.tar.gz 
<ftp://xmlsoft.org/libxml2/libxml2-2.6.27.tar.gz>). 
I'm guessing you're 
on Windows, if so check out the win32 directory, namely the
"Readme.txt" 
file has info on running the configure script &
compiling.

Jason

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

Re: iconv.dll dependency for libxml2
country flaguser name
United States
2007-04-04 15:21:11
Lysetti, Srinivas wrote:
> Thanks Jason for your prompt reply. Currently I am
using pre-build binaries, I will have to build the binaries
using those compilation option. I will go through the
documentation. Can you give me some pointers if you know
already? I will appreciate your help.
>  
> Regards,
> Srinivas
> 
> ________________________________
> 
> From: xml-bouncesgnome.org on behalf of Jason Viers
> Sent: Tue 4/3/2007 11:26 PM
> To: xmlgnome.org
> Subject: Re: [xml] iconv.dll dependency for libxml2
> 
> 
> 
> Lysetti, Srinivas wrote:
> 
>>Hi,
>>
>>I am using libxml2 in my project. For using libxml2
we need to have
>>iconv.dll and zlib1.dll. Is there any way to remove
this dependency? I
>>want to use just libxml2 without iconv.dll and
zlib1.dll.
>>
> 
> 
> Of course, it's a "configure" option before
compilation.  If you're
> using a pre-built binary,  then you'll have to compile
it yourself.  The
> website has information on how to do this.
> 
> Jason
> 

Hi Srinivas,

I build libxml for the Mac and for Windows without iconv or
zlib. From 
looking at my build logs, I see the following.

If you're using configure on a *nix system (including Mac OS
X), the 
configure command line flags are:

--without-iconv --without-zlib

but be sure to read the docs, because there are many other
choices to make.

On Windows, when you run configure.js, the command line
options are:

iconv=no

and I do not see anywhere that I specified no zlib support,
but the 
script file displays what it's doing and it shows "zlib
support: no", so 
maybe that's the default? Again, you need to read through
the docs, 
because there are quite a few choices to make.

- Rush

P.S. Here's my configure command to create a multithreaded
debug static 
lib version without zlib or iconv on Windows using VS 2005:

cscript configure.js compiler=msvc prefix=myprefixpath
iconv=no 
cruntime=/MTd threads=native dynruntime=no static=yes
debug=yes

and here is the equivalent on the Mac:

./configure --prefix=/my/prefix/path --with-gnu-ld
--without-iconv 
--without-zlib --disable-shared --with-debug
--with-mem-debug
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )