Re: [xml] build problem with libxslt-1.1.9 on mingw/win32

Hi Igor,

I'll try the configure.js outside msys tomorrow morning.

== extra libs ==
Now here are some more details. When compiling libxml2 under msys using
configure one needs to add -lwsock32, otherwise all the nannoftp stuff does not

When compiling libxslt more libs need to be added, because there are undefined
symbols and that disabled making a shared library out of it.

E:/msys/bin/sh.exe ../libtool --mode=link gcc  -I/gnuwin32/include
-I/opt/include -fno-builtin -mno-cygwin -mms-bitfields -Wall -L/mingw/lib
-L/gnuwin32/lib -L/opt/lib -lwsock32 -o -rpath /opt/lib
-version-info 8:7:8  exslt.lo common.lo crypto.lo math.lo sets.lo functions.lo
strings.lo date.lo saxon.lo dynamic.lo ../libxslt/ -L/opt/lib -lxml2

*** Warning: This system can not link to static lib archive ../libxslt/
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared
ar cru .libs/libexslt.a  exslt.o common.o crypto.o math.o sets.o functions.o
strings.o date.o saxon.o dynamic.o
ranlib .libs/libexslt.a

== mkdir in libxslt/security.c ==
defines the compatibillity wrapper for mkdir, but in
includes by 'security.c' the following statement disables the inclusion
#if defined(WIN32) && !defined (__CYGWIN__) && !defined (__MINGW32__)
#include <win32config.h>
#include "config.h"

Igor Zlatkovic wrote:
On 30/08/04 15:48, Stefan Kost wrote:

I don't get this working. It does not use the installed libxml2.

../libxslt-1.1.9/win32> cscript configure.js crypto='no' zlib='yes'
compiler='mingw' prefix='/opt' include='/opt/include/libxml2'

Those paths won't work. Use paths in Windows notation when you work with
win32\configure.js. For example, '/opt' won't work, 'c:/opt' should work.

The Mingw support in win32 subdirectory has been made to work without
MSYS and there were problems in the past when someone used MSYS or
Cygwin. Try to use the Windows Command Prompt, not bash.

With MSYS or Cygwin, you should use the GNU Autoconf script, as if you
were on Unix.


      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail
|           WWW
===-=-=--=---=---------------------------------- - - -  -    -

Attachment: kost.vcf
Description: Vcard

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