Subject: | Reg. Mod Perl Error |
Date: | Wed, 15 Feb 2017 23:32:43 +0530 |
To: | bug-mod_perl [...] rt.cpan.org |
From: | Vivek Katakam <vivek1717 [...] gmail.com> |
Hi All
I am using Perl 5.16.8 version on RHEL 7.3 OS.
I tried to mod_perl using CPAN which has dependency on Extutils::embed
When I tried to install Extutils::embed usin CPAN I got the below error:
*This is probably not the right one for this perl version. Please make
surethere is only one version of this module installed and that it is the
onethat comes with this perl version.If you insist on using the
ExtUtils::Embed as is set the environmentvariable
MP_USE_MY_EXTUTILS_EMBED=1 and try again.Details: expecting ExtUtils::Embed
at /usr/share/perl5/ExtUtils/Embed.pm*
*I tried to install mod_perl by downloading the mod_perl source using the
lib path for Extutils::embed, but this time I got the below
error:installation of Apache2/RequestRec.pm is giving
errormodperl_xsinit.c:30:2: warning: passing argument 3 of ‘Perl_newXS’
from incompatible pointer type [enabled by default]In file included from
/usr/lib64/perl5/CORE/perl.h:5030:0, from
modperl_xsinit.c:6:/usr/lib64/perl5/CORE/proto.h:2811:19: note: expected
‘XSUBADDR_t’ but argument is of type ‘void ()(struct CV )’ PERL_CALLCONV CV
Perl_newXS(pTHX_ const char name, XSUBADDR_t subaddr, const char
*filename) ^*
*Can you please help on resolving the above errors.*
*Thanks and Regards,*
*Vivek*