lmi
[Top][All Lists]
Advanced

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

Re: [lmi] error building libxml using install_msw.sh


From: Vadim Zeitlin
Subject: Re: [lmi] error building libxml using install_msw.sh
Date: Thu, 16 Jun 2011 23:26:54 +0200

On Thu, 16 Jun 2011 17:30:35 +0200 I wrote:

VZ>  So to fix this problem I had to explicitly add this path to LDFLAGS:
VZ> 
VZ> Index: install_libxml2_libxslt.make
VZ> ===================================================================
VZ> --- install_libxml2_libxslt.make        (revision 5209)
VZ> +++ install_libxml2_libxslt.make        (working copy)
VZ> @@ -61,7 +61,7 @@
VZ>    --enable-shared \
VZ>    --with-debug \
VZ>    --without-python \
VZ> -  LDFLAGS='-lws2_32' \
VZ> +  LDFLAGS='-L/MinGW_/lib' \

 Sorry, this was wrong (as I only realized after waiting for another hour
for another rebuild to fail...). I had manually tested with 

        LDFLAGS='-L/opt/lmi/MinGW-20090203/lib'

which did work but then I decided to shorten it when writing my post and
broke it while doing because /MinGW_/lib is not a valid path for MinGW
tools, it's only valid for Cygwin, but Cygwin libtool uses MinGW objdump to
check the libraries format and so the path to libws2_32.a must be in MinGW
format, i.e. like above.

 I'm still waiting for another rebuild to fail^H^H^H^H finish but I wanted
to correct this error quickly before anybody else could be misled by it.

 Sorry again,
VZ

reply via email to

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