Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

perl 5.14 ExtUtils::MakeMaker bug affecting libapreq?

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


aubreyja at gmail

Mar 1, 2012, 8:38 AM

Post #1 of 2 (473 views)
Permalink
perl 5.14 ExtUtils::MakeMaker bug affecting libapreq?

Hi All,

I recently used perlbrew to install perl 5.14.2, and then I compiled apache
2.2.22, mod_perl-2.0.5, and libapreq2-2.13. But then I think I'm getting a
binary incompatibility problem:

jason [at] plat:~$ perl -MAPR::Request -e 1
Not a CODE reference at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/i686-linux-thread-multi/DynaLoader.pm
line 213.
END failed--call queue aborted at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/i686-linux-thread-multi/APR.pm
line 213.
Compilation failed in require at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/i686-linux-thread-multi/APR/Pool.pm
line 23.
BEGIN failed--compilation aborted at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/i686-linux-thread-multi/APR/Pool.pm
line 23.
Compilation failed in require at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/i686-linux-thread-multi/APR/Request.pm
line 26.
BEGIN failed--compilation aborted at
/home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/i686-linux-thread-multi/APR/Request.pm
line 26.
Compilation failed in require.
BEGIN failed--compilation aborted.

I found this describing a possible bug in ExtUtils::MakeMaker that gives a
similar error for other modules:

http://lists.fedoraproject.org/pipermail/perl-devel/2011-June/037523.html

However, I could find no bug report about this on cpan (against libapreq2,
there are unattended bug reports about the general issue for
ExtUtils::MakeMaker). Also, I tried adding CCFLAGS =>
"$Config::Config{ccflags}", to the Makefile.PL in glue/perl, but maybe
that's not the right way to do it because I get the same error. Do you
think this is the cause of the error? If so, any suggestions for making it
work?

Thanks for any help...
Jason


ntyni at debian

Mar 1, 2012, 10:43 PM

Post #2 of 2 (435 views)
Permalink
Re: perl 5.14 ExtUtils::MakeMaker bug affecting libapreq? [In reply to]

On Thu, Mar 01, 2012 at 10:38:49AM -0600, Jason Aubrey wrote:

> I recently used perlbrew to install perl 5.14.2, and then I compiled apache
> 2.2.22, mod_perl-2.0.5, and libapreq2-2.13. But then I think I'm getting a
> binary incompatibility problem:
>
> jason [at] plat:~$ perl -MAPR::Request -e 1
> Not a CODE reference at
> /home/jason/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/i686-linux-thread-multi/DynaLoader.pm
> line 213.

> I found this describing a possible bug in ExtUtils::MakeMaker that gives a
> similar error for other modules:
>
> http://lists.fedoraproject.org/pipermail/perl-devel/2011-June/037523.html
>
> However, I could find no bug report about this on cpan (against libapreq2,
> there are unattended bug reports about the general issue for
> ExtUtils::MakeMaker). Also, I tried adding CCFLAGS =>
> "$Config::Config{ccflags}", to the Makefile.PL in glue/perl, but maybe
> that's not the right way to do it because I get the same error. Do you
> think this is the cause of the error? If so, any suggestions for making it
> work?

I doubt libapreq2 needs fixing, your call trace looks like it's loading
APR.so which is built from mod_perl2 itself.

See the thread around
http://www.mail-archive.com/modperl [at] perl/msg26248.html
for some past discussion on that.

The patch we're currently applying in Debian is
http://patch-tracker.debian.org/patch/series/view/libapache2-mod-perl2/2.0.5-5/250-lfs-perl-5.14.patch

HTH,
--
Niko Tyni ntyni [at] debian

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.