----- Original Message -----
From: LRN <firstname.lastname@example.org>
Sent: Wednesday, July 25, 2012 2:11 PM
Subject: Re: [Mingw-users] trouble building libxslt from xmlsoft
-----BEGIN PGP SIGNED MESSAGE-----
On 25.07.2012 23:47, Mark Mikofski wrote:
> Problem: libxslt always looks for libiconv in /usr/lib instead of
> Overview: I am trying to build libxslt for win32 with mingw (gcc
> 4.7) and using the native mingw libraries for libxml2, zlib and
> iconv. I can download precomiled binaries fro xmlsoft, but libxslt
> from xmlsoft doesn't find libiconv.dll on $PATH
> (.:/usr/local/bin:/mingw/bin:/bin) maybe because in /mingw/bin it's
> named libiconv-2.dll and in /bin it's named msys-iconv-2.dll. So
> you can download their iconv, xml2, xmlsec, zlib, etc, - that's
> what I
did as a workaround, and put it in /opt which I can add to
> $PATH. But I would rather just rebuild xslt.
> Methods: 1. edit configure to add -f to RM since it throws an
> error, "can't delete libtoolT" on lines containing "RM $(ofile)T"
> 2. from msys shell ./configure --without-python --without-crypto 3.
> make libtool: link: returns the error, "/usr/lib/libiconv.la is not
> I tried various ways of overriding the library
> --with-libxml-libs-prefix='-L/usr/lib -lxml2 -L/mingw/lib -liconv'
> LIBXML_LIBS='-L/usr/lib -lxml2 -L/mingw/lib -liconv' I also tried
> LDFLAGS, but no matter what it always looks for libiconv.la
Tried --with-iconv-prefix or --with-libiconv-prefix ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla -
-----END PGP SIGNATURE-----