Hi Monks,

I have problem installing the module Crypt::OpenSSL::AES. I didn't understand anything, what the problem is. Can someone actually tell, where is the problem ?I am just pasting, what is displayed in the Command line.

In file included from AES.xs:2: C:/Perl/lib/CORE/perl.h:310:1: warning: this is the location of the pr +evious definition AES.xs:18: error: syntax error before "AES_KEY" AES.xs:18: warning: no semicolon at end of struct or union AES.xs:19: warning: data definition has no type or storage class AES.xs:20: warning: data definition has no type or storage class AES.c: In function `XS_Crypt__OpenSSL__AES_new': AES.c:98: error: syntax error before "RETVAL" AES.xs:50: error: `RETVAL' undeclared (first use in this function) AES.xs:50: error: (Each undeclared identifier is reported only once AES.xs:50: error: for each function it appears in.) AES.xs:50: error: invalid application of `sizeof' to incomplete type ` +state' AES.xs:50: error: invalid application of `sizeof' to incomplete type ` +state' AES.xs:50: error: invalid application of `sizeof' to incomplete type ` +state' AES.c: In function `XS_Crypt__OpenSSL__AES_encrypt': AES.c:135: error: syntax error before "self" AES.c:141: error: `self' undeclared (first use in this function) AES.c:141: error: called object is not a function AES.xs:70: error: `AES_BLOCK_SIZE' undeclared (first use in this funct +ion) AES.xs:76: error: `AES_decrypt' undeclared (first use in this function +) AES.xs:76: error: `AES_encrypt' undeclared (first use in this function +) AES.c: In function `XS_Crypt__OpenSSL__AES_DESTROY': AES.c:186: error: syntax error before "self" AES.c:190: error: `self' undeclared (first use in this function) AES.c:190: error: called object is not a function AES.xs: In function `boot_Crypt__OpenSSL__AES': AES.xs:31: error: `AES_BLOCK_SIZE' undeclared (first use in this funct +ion) dmake.exe: Error code 129, while making 'AES.o' TTAR/Crypt-OpenSSL-AES-0.02.tar.gz C:\Perl\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: TTAR/Crypt-OpenSSL-AES-0.02.tar.gz : make NO cpan>

Thanks in advance


In reply to cpan>install Crypt::OpenSSL::AES by sundeep

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.