On Sun, 19 Feb 2006 18:34:53 +0200 (EET), condor@stz-bg.com ("Condor")
wrote:
>i have problem with module Crypt-OpenSSL-RSA 0.22. Unable to build module
>and can't found any documentation how to fix the problem.
>The Crypt::OpenSSL::RSA 0.22 version require: Crypt::OpenSSL::Random. I
>installed module Crypt::OpenSSL::Random but i unable to build
>Crypt::OpenSSL::RSA. The only one place i found that this error exist in
>network: http://www.nntp.perl.org/group/perl.cpan.testers/269106 but no
>solution how to fix the problem. Error code is:
>
>cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement
>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>-march=i486 -mtune=i686 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC
>"-I/usr/lib/perl5/5.8.8/i486-linux/CORE" -DPERL5 -DOPENSSL_NO_KRB5 RSA.c
>RSA.xs: In function `get_digest_length':
>RSA.xs:67: error: `MD5_DIGEST_LENGTH' undeclared (first use in this function)
>RSA.xs:67: error: (Each undeclared identifier is reported only once
Well I may not be solving your problem, but I will say that it builds
fine for me on linux.
That error
RSA.xs:67: error: `MD5_DIGEST_LENGTH' undeclared (first use in this
function)
seems to indicate that your openssl headers are not being found, or
you have an old version?
Quite often, it pays to get the very latest libraries, and install them
from source.
You didn't say which platform, distribution, openssl versions, Perl
version, etc, which you are using. That would help someone to analyze
your problem.
Did you build openssl yourself, or did you install the distro's
precompiled version? Many distro's have the libs split, into
runtime and devel packages. You may need to install the openssl-devel
package, or best is just to get the openssl source tarball, and install
it. Then retry.
Goodluck.
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
Thread Previous
|
Thread Next