Re: Crypt-OpenSSL-RSA unable to build

[email protected] (zentara) Mon, 20 Feb 2006 09:30:46 -0500
Newsgroups perl.crypto
Message-ID <[email protected]>
On Sun, 19 Feb 2006 18:34:53 +0200 (EET), [email protected] ("Condor")
wrote:

>MD5_DIGEST_LENGTH' undeclared

I looked on groups.google.com and it seems that this has been 
seen before. The reason was the openssl headers were not
in the right place( probably the distribution moved them )

From the post
##################################################
After changing the line
    CFLAGS = -c -O -pipe  -I/usr/local/include -I/usr/include -Iinclude/
-Wall -g
to
    CFLAGS = -c -O -pipe  -I/usr/local/include/openssl -I/usr/include
-Iinclude/ -Wall -g
in files
    /usr/ports/security/libssh2/work/libssh2-0.11/Makefile and
/usr/ports/security/libssh2/work/libssh2-0.11/src/Makefile

it works fine. 
###################################################

I know it's not your platform, but it is probably your problem.
Find where your openssl headers are, and make sure you specify
their correct location. Or you can just cheat and move them out
of their <openssl> directory, into /usr/local/include

But like I said in my first post, installing openssl from source,
usually sets it up right.    



-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html