Closed bouktin closed 9 years ago
I think I will add to this issue rather than raising a new one. There is one other warning, and we are building under CentOS5 with perl 5.8.8.
The problem looks fairly obvious but I'll create a pull request for it.
Fetching file://data/hudson/CPAN/authors/id/D/DA/DANIEL/Crypt-OpenSSL-X509-1.804.tar.gz
-> OK
Unpacking Crypt-OpenSSL-X509-1.804.tar.gz
Entering Crypt-OpenSSL-X509-1.804
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.36 ... Yes (6.98)
Configuring Crypt-OpenSSL-X509-1.804
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Crypt::OpenSSL::X509
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 6.36 ... Yes (6.98)
Building Crypt-OpenSSL-X509-1.804
cp X509.pm blib/lib/Crypt/OpenSSL/X509.pm
Running Mkbootstrap for Crypt::OpenSSL::X509 ()
chmod 644 X509.bs
/usr/bin/perl "-Iinc" /data/hudson/int/app/jobs/bbc-pod-saml-trunk/workspace/data/vessel/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap X509.xs > X509.xsc && mv X509.xsc X509.c
gcc -c -I/usr/include/openssl -I/usr/local/include/ssl -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -Wall -Werror -DVERSION=\"1.804\" -DXS_VERSION=\"1.804\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" X509.c
cc1: warnings being treated as errors
X509.xs: In function ‘XS_Crypt__OpenSSL__X509_curve’:
X509.xs:579: warning: ISO C90 forbids mixed declarations and code
X509.xs:579: warning: unused variable ‘pkey’
make: *** [X509.o] Error 1
-> FAIL Installing Crypt::OpenSSL::X509 failed`
Can this be closed?
Hello Dan,
First, thanks for your work on this module, it is greatly appreciated.
I have attempted to install Crypt::OpenSSL::X509 on Centos6 (perl v5.10.1) and the XS module build fails despite working for version 1.803
the error is:
Find more details below. Please don't hesitate to contact me for more information.
OS information
CPAN installation
Manual installation of v1.803 (working)
Manual installation of v1.804 (failing)
Thanks Thomas