Hello All,
I am running into an issue when installing openca-openssl module during
the make phase of openca-base-1.1.1 installation.
System Details:
Linux rcmxapp7d.maximus.com 2.6.18-308.1.1.el5xen #1 SMP Fri Feb 17
17:11:09 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Perl verison: 5.14.2
Openssl version: 1.0.0g
There are no issues when running the "perl Makefile.PL". It runs smoothly
with no issues. But the issue occurs when running "make".
Note: we have installed openssl-devel package as it is one of the
pre-reqs.
I didn't run into issues when installalling any other pre-requisite perl
modules: (the below modules were installed after initial attempts at
openca-openssl module installation failed)
cpan[1]> install "OpenCA::X509"
Reading '/home/appadmin/.cpan/Metadata'
Database was generated on Sun, 11 Mar 2012 20:11:20 GMT
OpenCA::X509 is up to date (0.9.47).
cpan[2]> install "OpenCA::CRL"
OpenCA::CRL is up to date (0.9.17).
cpan[3]> install "OpenCA::REQ"
OpenCA::REQ is up to date (0.9.52).
cpan[4]> install "OpenCA::TRIStateCGI"
OpenCA::TRIStateCGI is up to date (1.5.5).
cpan[5]> install "OpenCA::Configuration"
OpenCA::Configuration is up to date (1.5.3).
But the errors come up when installing the openca-openssl module.
User#@host#>make
Skip blib/lib/OpenCA/OpenSSL/SMIME.pm (unchanged)
Skip blib/lib/OpenCA/OpenSSL.pm (unchanged)
Skip blib/lib/OpenCA/OpenSSL.pod (unchanged)
cc -c -I/u01/app/appadmin/product/offline2-openca/openssl1g/include
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.0.29\"
-DXS_VERSION=\"2.0.29\" -fPIC
"-I/u01/app/appadmin/product/perl/perl-5.14.2/lib/5.14.2/x86_64-linux/CORE"
OpenSSL.c
In file included from OpenSSL.xs:5:
ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from OpenSSL.xs:2:
/u01/app/appadmin/product/perl/perl-5.14.2/lib/5.14.2/x86_64-linux/CORE/perl.h:328:1:
warning: this is the location of the previous definition
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__X509__new_from_derâ:
OpenSSL.xs:150: warning: passing argument 2 of âd2i_X509â from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__X509__new_from_pemâ:
OpenSSL.xs:183: warning: passing argument 2 of âd2i_X509â from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__X509_emailaddressâ:
OpenSSL.xs:424: warning: assignment from incompatible pointer type
OpenSSL.xs:431: warning: passing argument 1 of âX509_email_freeâ from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__CRL__new_from_derâ:
OpenSSL.xs:757: warning: passing argument 2 of âd2i_X509_CRLâ from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__CRL__new_from_pemâ:
OpenSSL.xs:791: warning: passing argument 2 of âd2i_X509_CRLâ from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__PKCS10__new_from_derâ:
OpenSSL.xs:1243: warning: passing argument 2 of âd2i_X509_REQâ from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__PKCS10__new_from_pemâ:
OpenSSL.xs:1276: warning: passing argument 2 of âd2i_X509_REQâ from
incompatible pointer type
OpenSSL.xs: In function âXS_OpenCA__OpenSSL__PKCS10_emailaddressâ:
OpenSSL.xs:1385: warning: assignment from incompatible pointer type
OpenSSL.xs:1392: warning: passing argument 1 of âX509_email_freeâ from
incompatible pointer type
Running Mkbootstrap for OpenCA::OpenSSL ()
chmod 644 OpenSSL.bs
rm -f blib/arch/auto/OpenCA/OpenSSL/OpenSSL.so
cc -shared -O2 -L/usr/local/lib -fstack-protector OpenSSL.o -o
blib/arch/auto/OpenCA/OpenSSL/OpenSSL.so \
-L/u01/app/appadmin/product/offline2-openca/openssl1g/lib -lssl
-lcrypto \
Your input is appreciated.
Thanks,
Arun Yenumula
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users