Re: [xslt] building libxslt on windows
- From: Manish Marathe <mmarathe spikesource com>
- To: Tim Van Holder <tim vanholder anubex com>
- Cc: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] building libxslt on windows
- Date: Thu, 09 Feb 2006 10:33:14 -0800
On Thu, 2006-02-09 at 09:04 +0100, Tim Van Holder wrote:
> >>>> P.S: Following are the errors
> >>>>
> >>>> <!--------------------------------------------------------------->
> >>>>
> >>>> Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
> >>>> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> >>>>
> >>>> cl.exe /I..\libexslt /nologo /D "WIN32" /D "_WINDOWS" /D
> >>>> "_MBCS" /W3 /MD /D "_REENTRANT" /I.. /I..\libxslt /IC:\dev\libxslt
> >>>> \include /D "NDEBUG"
> >>>> /O2 /Foint.exslt.msvc\ /c ..\libexslt\crypto.c
> >>>> crypto.c
> >>>> ..\libexslt\crypto.c(144) : error C2061: syntax error : identifier
> >>>> 'exsltCryptoCryptoApiCreateHash'
> >>>>
> >>
> >>
> >> This suggests your wincrypt.h doesn't define HCRYPTHASH. Either the
> >> code assumes a newer version of the platform sdk, or there is something
> >> wrong on your end. The other errors seem to come from the same problem:
> >> a bad wincrypt.h.
> >>
> >>
> >
> > Well, if at all the wincrypt.h is corrupt, what could be the possible
> > solution?
> >
> > Appreciate your input, Tim.
>
> I'd say go to the MS MSDN website and download the latest Platform SDK
> (http://msdn.microsoft.com/platformsdk/); the wincrypt.h that comes with
> it will probably work. You'll probably have to edit vcvars.bat so that
> the platform sdk's lib and include paths are first in your INC and LIB
> envvars.
> Alternatively, if you don't need crypto support, you can edit
> exsltconfig.h and disable it (change the #if 1 above the definition of
> EXSLT_CRYPTO_ENABLED to #if 0). That should allow you to get past
> crypto.c at least.
>
Oh! I just disabled it at the configure step itself, so that I didn't
had to touch the source-code;
$ cscript configure.js crypto=no prefix='C:\dev\libxslt' include='C:\dev
\libxml\include' lib='C:\dev\libxml\lib'
By the way, just for the information, how dis-advantageous would it be
to not having a crypto support?
Thanks a turn!!
-Manish
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]