Unable to build Crypt::SSLeay.

Unable to build Crypt::SSLeay.

am 01.02.2005 15:14:46 von Khalil-ur.Rahman

Can someone please assist with this error.
I do have sol_8.openssl 0.9.7e installed.

thanks.

root> make
gcc -c -I/usr/ssl/bin/include -I/usr/kerberos/include =
-fno-strict-aliasing -I/usr/local/include -I/opt/local/include =
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O -DVERSION=3D\"0.51\" =
-DXS_VERSION=3D\"0.51\" -fPIC =
-I/usr/local/perl/5.6.1/lib/5.6.1/sun4-solaris/CORE SSLeay.c
In file included from SSLeay.xs:25:
crypt_ssleay_version.h:1:17: ssl.h: No such file or directory
crypt_ssleay_version.h:2:20: crypto.h: No such file or directory
crypt_ssleay_version.h:3:17: err.h: No such file or directory
crypt_ssleay_version.h:4:18: rand.h: No such file or directory
crypt_ssleay_version.h:5:20: pkcs12.h: No such file or directory
SSLeay.xs:43: parse error before '*' token
SSLeay.xs: In function `InfoCallback':
SSLeay.xs:48: `where' undeclared (first use in this function)
SSLeay.xs:48: (Each undeclared identifier is reported only once
SSLeay.xs:48: for each function it appears in.)
SSLeay.xs:48: `SSL_ST_MASK' undeclared (first use in this function)
SSLeay.xs:50: `SSL_ST_CONNECT' undeclared (first use in this function)
SSLeay.xs:52: `SSL_ST_ACCEPT' undeclared (first use in this function)
SSLeay.xs:57: `SSL_CB_LOOP' undeclared (first use in this function)
SSLeay.xs:58: `s' undeclared (first use in this function)
SSLeay.xs:59: `SSL_CB_ALERT' undeclared (first use in this function)
SSLeay.xs:61: `SSL_CB_READ' undeclared (first use in this function)
SSLeay.xs:63: `ret' undeclared (first use in this function)
SSLeay.xs:66: `SSL_CB_EXIT' undeclared (first use in this function)
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_new':
SSLeay.c:118: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:118: `RETVAL' undeclared (first use in this function)
SSLeay.xs:104: `ctx' undeclared (first use in this function)
SSLeay.xs:133: `SSL_OP_ALL' undeclared (first use in this function)
SSLeay.xs:136: `SSL_VERIFY_NONE' undeclared (first use in this function)
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_free':
SSLeay.c:170: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:170: `ctx' undeclared (first use in this function)
SSLeay.c:174: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_set_cipher_list':
SSLeay.c:190: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:190: `ctx' undeclared (first use in this function)
SSLeay.c:197: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_certificate_file':
SSLeay.c:214: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:214: `ctx' undeclared (first use in this function)
SSLeay.c:222: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_PrivateKey_file':
SSLeay.c:239: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:239: `ctx' undeclared (first use in this function)
SSLeay.c:247: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_use_pkcs12_file':
SSLeay.c:264: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:264: `ctx' undeclared (first use in this function)
SSLeay.xs:172: `EVP_PKEY' undeclared (first use in this function)
SSLeay.xs:172: `pkey' undeclared (first use in this function)
SSLeay.xs:173: `X509' undeclared (first use in this function)
SSLeay.xs:173: `cert' undeclared (first use in this function)
SSLeay.xs:174: `ca' undeclared (first use in this function)
SSLeay.xs:175: `PKCS12' undeclared (first use in this function)
SSLeay.xs:175: `p12' undeclared (first use in this function)
SSLeay.c:279: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_check_private_key':
SSLeay.c:317: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:317: `ctx' undeclared (first use in this function)
SSLeay.c:323: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__CTX_set_verify':
SSLeay.c:340: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:340: `ctx' undeclared (first use in this function)
SSLeay.c:349: parse error before ')' token
SSLeay.xs:217: `SSL_VERIFY_NONE' undeclared (first use in this function)
SSLeay.xs:221: `SSL_VERIFY_PEER' undeclared (first use in this function)
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_new':
SSLeay.c:379: `SSL_CTX' undeclared (first use in this function)
SSLeay.c:379: `ctx' undeclared (first use in this function)
SSLeay.xs:235: `SSL' undeclared (first use in this function)
SSLeay.xs:235: `ssl' undeclared (first use in this function)
SSLeay.c:384: `RETVAL' undeclared (first use in this function)
SSLeay.c:388: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_free':
SSLeay.c:432: `SSL' undeclared (first use in this function)
SSLeay.c:432: `ssl' undeclared (first use in this function)
SSLeay.c:436: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_set_fd':
SSLeay.c:452: `SSL' undeclared (first use in this function)
SSLeay.c:452: `ssl' undeclared (first use in this function)
SSLeay.c:459: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_connect':
SSLeay.c:476: `SSL' undeclared (first use in this function)
SSLeay.c:476: `ssl' undeclared (first use in this function)
SSLeay.c:482: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_accept':
SSLeay.c:499: `SSL' undeclared (first use in this function)
SSLeay.c:499: `ssl' undeclared (first use in this function)
SSLeay.c:505: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_write':
SSLeay.c:522: `SSL' undeclared (first use in this function)
SSLeay.c:522: `ssl' undeclared (first use in this function)
SSLeay.c:534: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_read':
SSLeay.c:574: `SSL' undeclared (first use in this function)
SSLeay.c:574: `ssl' undeclared (first use in this function)
SSLeay.c:587: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_peer_certificate':
SSLeay.c:638: `SSL' undeclared (first use in this function)
SSLeay.c:638: `ssl' undeclared (first use in this function)
SSLeay.c:639: `X509' undeclared (first use in this function)
SSLeay.c:639: `RETVAL' undeclared (first use in this function)
SSLeay.c:643: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_verify_result':
SSLeay.c:661: `SSL' undeclared (first use in this function)
SSLeay.c:661: `ssl' undeclared (first use in this function)
SSLeay.c:666: parse error before ')' token
SSLeay.xs:377: `X509_V_OK' undeclared (first use in this function)
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_shared_ciphers':
SSLeay.c:685: `SSL' undeclared (first use in this function)
SSLeay.c:685: `ssl' undeclared (first use in this function)
SSLeay.c:694: parse error before ')' token
SSLeay.xs:388: warning: assignment makes pointer from integer without a =
cast
SSLeay.c: In function `XS_Crypt__SSLeay__Conn_get_cipher':
SSLeay.c:712: `SSL' undeclared (first use in this function)
SSLeay.c:712: `ssl' undeclared (first use in this function)
SSLeay.c:718: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__X509_free':
SSLeay.c:736: `X509' undeclared (first use in this function)
SSLeay.c:736: `cert' undeclared (first use in this function)
SSLeay.c:740: parse error before ')' token
SSLeay.c: In function `XS_Crypt__SSLeay__X509_subject_name':
SSLeay.c:756: `X509' undeclared (first use in this function)
SSLeay.c:756: `cert' undeclared (first use in this function)
SSLeay.c:764: parse error before ')' token
SSLeay.xs:412: warning: assignment makes pointer from integer without a =
cast
SSLeay.c: In function `XS_Crypt__SSLeay__X509_issuer_name':
SSLeay.c:785: `X509' undeclared (first use in this function)
SSLeay.c:785: `cert' undeclared (first use in this function)
SSLeay.c:793: parse error before ')' token
SSLeay.xs:424: warning: assignment makes pointer from integer without a =
cast
SSLeay.c: In function `XS_Crypt__SSLeay__X509_get_notBeforeString':
SSLeay.c:814: `X509' undeclared (first use in this function)
SSLeay.c:814: `cert' undeclared (first use in this function)
SSLeay.c:820: parse error before ')' token
SSLeay.xs:434: invalid type argument of `->'
SSLeay.c: In function `XS_Crypt__SSLeay__X509_get_notAfterString':
SSLeay.c:838: `X509' undeclared (first use in this function)
SSLeay.c:838: `cert' undeclared (first use in this function)
SSLeay.c:844: parse error before ')' token
SSLeay.xs:442: invalid type argument of `->'
*** Error code 1
make: Fatal error: Command failed for target `SSLeay.o'