[xmlsec] fail to compile xmlsec in Aix 5.2

Aleksey Sanin aleksey at aleksey.com
Thu Mar 31 14:22:47 PST 2005


Well, I am glad that you figured it out! I am pretty much
sure that problem was caused by xmlsec looking into old
openssl includes. Probably you can try to set path to openssl
manually when you run ./configure script for xmlsec (see
--with-openssl option).

Best,
Aleksey


Dario Villalon wrote:
> Aleksey,
> 
> I compile xmlsec sources successfuly in the Aix 5.2 box.
> The solucion was to copied the openssl source directory to the xmlsec source
> directory (../xmlsec1-1.2.7/src/openssl)
> 
> The exactly explanation I ignored, but this are ok.
> 
> the around of line 420 on evp.h is:
> 
>        struct evp_cipher_ctx_st
>         {
>         const EVP_CIPHER *cipher;
>         ENGINE *engine; /* functional reference if 'cipher' is
> ENGINE-provided *
> /
>         int encrypt;            /* encrypt or decrypt */
>         int buf_len;            /* number we have left */
> 
>         unsigned char  oiv[EVP_MAX_IV_LENGTH];  /* original iv */
>         unsigned char  iv[EVP_MAX_IV_LENGTH];   /* working iv */
>         unsigned char buf[EVP_MAX_BLOCK_LENGTH];/* saved partial block */
>         int num;                                /* used by cfb/ofb mode */
> 
>         void *app_data;         /* application stuff */
>         int key_len;            /* May change for variable length cipher */
>         unsigned long flags;    /* Various flags */
>         void *cipher_data; /* per EVP data */
>         int final_used;
>         int block_mask;
>         unsigned char final[EVP_MAX_BLOCK_LENGTH];/* possible final block */
>         } /* EVP_CIPHER_CTX */;
> 
> 
> 
> Thanks for your help.
> Regards
> Dario
> 
> -----Mensaje original-----
> De: Aleksey Sanin [mailto:aleksey at aleksey.com]
> Enviado el: Jueves, 31 de Marzo de 2005 18:01
> Para: Dario Villalon
> CC: xmlsec at aleksey.com
> Asunto: Re: [xmlsec] fail to compile xmlsec in Aix 5.2
> 
> 
> Hm... Can you take a look at evp.h file from openssl, please?
> There is a definition for EVP_CIPHER_CTX Aleksey,
> 
> I compile xmlsec sources successfuly in the Aix 5.2 box.
> The solucion was to copied the openssl source directorie to the xmlsec
> source directorie (../xmlsec1-1.2.7/src/openssl)
> 
> The exactly explanation I ignored, but this are ok.
> 
> Thanks for help.
> Regards
> Darioand
> in my version of this file both "final" and "final_used" fields
> are there.
> 
> BTW, can you check that you do not have OpenSSL 0.9.6 around?
> I believe that these fields were introduced in 0.9.7 and if
> xmlsec picks up include files from 0.9.6 then it might cause
> problems.
> 
> Aleksey
> 
> Dario Villalon wrote:
> 
>>The Openssl version is 0.9.7f and this was downloaded from
> 
> www.openssl.org.
> 
>>This version was succesfull compiled in the Aix box.
>>
>>cholguaco> pwd
>>/usr/local/ssl/bin
>>cholguaco> ./openssl
>>OpenSSL> version
>>OpenSSL 0.9.7f  22 Mar 2005
>>OpenSSL>
> 
> 



More information about the xmlsec mailing list