This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id:
120264
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
vivek1717 [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



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 sure
there is only one version of this module installed and that it is the one
that comes with this perl version.

If you insist on using the ExtUtils::Embed as is set the environment
variable 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 error
modperl_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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.