Hello, I'm trying to build SSL Layer for webmin usage. What I found from the Page is that it user the same compliter to build from source include, perl, openssl. Can anyone please help me that? Thank You
[root@xxxxxxxxx Net_SSLeay.pm-1.21]# perl Makefile.PL Checking for OpenSSL-0.9.6g or newer... You have OpenSSL-0.9.7a installed in /usr That's is newer than what this module was tested with (0.9.6g). You should consider checking if there is a newer release of this module available. Everything will probably work OK, though. *** Could not figure out which C compiler was used to compile /usr/bin/openssl. It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with the same compiler and flags. Mixing and matching compilers is not supported. at Makefile.PL line 132. Writing Makefile for Net::SSLeay::Handle Writing Makefile for Net::SSLeay [root@xxxxxxxxx Net_SSLeay.pm-1.21]# make install make[1]: Entering directory `/soft/users/Net_SSLeay.pm-1.21/Net-SSLeay-Handle-0.50' Manifying ../blib/man3/Net::SSLeay::Handle.3pm make[1]: Leaving directory `/soft/users/Net_SSLeay.pm-1.21/Net-SSLeay-Handle-0.50' gcc -c -I/usr/include -I/usr/inc32 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DPERL5 SSLeay.c In file included from /usr/include/openssl/ssl.h:179, from SSLeay.xs:87: /usr/include/openssl/kssl.h:72:18: krb5.h: æ²?æ??æ¤ä¸?æª?æ¡?æ??ç?®é?? In file included from /usr/include/openssl/ssl.h:179, from SSLeay.xs:87: /usr/include/openssl/kssl.h:132: parse error before "krb5_enctype" /usr/include/openssl/kssl.h:134: parse error before "FAR" /usr/include/openssl/kssl.h:135: parse error before '}' token /usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring" /usr/include/openssl/kssl.h:147: parse error before '*' token /usr/include/openssl/kssl.h:148: parse error before '*' token /usr/include/openssl/kssl.h:149: parse error before '*' token /usr/include/openssl/kssl.h:149: parse error before '*' token /usr/include/openssl/kssl.h:150: parse error before '*' token /usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc" /usr/include/openssl/kssl.h:151: parse error before '*' token /usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt" /usr/include/openssl/kssl.h:153: parse error before '*' token /usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt" /usr/include/openssl/kssl.h:155: parse error before '*' token /usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey" /usr/include/openssl/kssl.h:157: parse error before '*' token /usr/include/openssl/kssl.h:159: parse error before "context" /usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2" /usr/include/openssl/kssl.h:160: parse error before "context" /usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times" /usr/include/openssl/kssl.h:163: parse error before "atime" /usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent" /usr/include/openssl/kssl.h:165: parse error before '*' token /usr/include/openssl/kssl.h:167: parse error before "enctype" In file included from SSLeay.xs:87: /usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX" /usr/include/openssl/ssl.h:931: parse error before '}' token SSLeay.c: In function `XS_Net__SSLeay_state_string': SSLeay.c:2597: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_rstate_string': SSLeay.c:2614: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_state_string_long': SSLeay.c:2631: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_rstate_string_long': SSLeay.c:2648: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_alert_desc_string': SSLeay.c:4565: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_alert_desc_string_long': SSLeay.c:4582: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_alert_type_string': SSLeay.c:4599: warning: assignment discards qualifiers from pointer target type SSLeay.c: In function `XS_Net__SSLeay_alert_type_string_long': SSLeay.c:4616: warning: assignment discards qualifiers from pointer target type SSLeay.xs: In function `XS_Net__SSLeay_get_client_random': SSLeay.xs:3339: dereferencing pointer to incomplete type SSLeay.xs: In function `XS_Net__SSLeay_get_server_random': SSLeay.xs:3346: dereferencing pointer to incomplete type make: *** [SSLeay.o] Error 1
Attachment:
pgp00089.pgp
Description: PGP signature