develooper Front page | perl.crypto | Postings from February 2006

Re: Crypt-OpenSSL-RSA unable to build

Thread Previous
From:
zentara
Date:
February 20, 2006 06:35
Subject:
Re: Crypt-OpenSSL-RSA unable to build
Message ID:
jbkjv1hpheflv9qfq7c0t79pm56ojp6ql9@4ax.com
On Sun, 19 Feb 2006 18:34:53 +0200 (EET), condor@stz-bg.com ("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

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About