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 link. 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 libexslt.la -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/libxslt.la -L/opt/lib -lxml2 -liconv *** Warning: This system can not link to static lib archive ../libxslt/libxslt.la. *** 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 libraries 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 creating libexslt.la == mkdir in libxslt/security.c == 'libxslt-1.1.9/libxslt/win32config.h' defines the compatibillity wrapper for mkdir, but in 'libxslt-1.1.9/libxslt/libxslt.h' includes by 'security.c' the following statement disables the inclusion #if defined(WIN32) && !defined (__CYGWIN__) && !defined (__MINGW32__) #include <win32config.h> #else #include "config.h" #endif 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' lib='/opt/lib'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. Ciao, Igor
-- \|/ 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 st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de | WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html ===-=-=--=---=---------------------------------- - - - - -
Attachment:
kost.vcf
Description: Vcard