Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [mp2] recent 5.6.x breakage: msg#00183

apache.mod-perl.devel

Subject: Re: [mp2] recent 5.6.x breakage

On Wed, 30 Jun 2004, Stas Bekman wrote:

> Randy Kobes wrote:
[ .. ]
> > I think the difference is is that I installed
> > ExtUtils::Embed from the perl-5.8.4 distribution, and it's
> > marked as version 1.2506_01, which being a development
> > version, doesn't show up on CPAN.pm.
>
> It's not about us, but users who won't have that version in any case.

That's true - I was just wondering if it was a problem
(that's been fixed) with the older ExtUtils::Embed, or
something else.

> >>Though I can't quite figure out how that objects becomes
> >>an argument to catdir.
> >
> >
> > Another thing that occurred to me - with the recent
> > APR/mod_perl.so decoupling, a warning comes up at the 'perl
> > Makefile.PL' stage concerning MY::postamble being redefined
> > from xs/APR/APR/Makefile.PL and xs/APR/aprext/Makefile.PL.
> > Might this be at all related?
>
> Yes, I've mentioned that issue when I posted my original
> patch. I've spent some time trying to get rid of it, but
> in vain. I'll try again today. It might be releated.

Although this doesn't solve the basic problem of getting rid
of the warnings in general, does the following help? It just
copies the relevant files via File::Copy, rather than doing
so via Makefile - it would at least show if the problem
arises because of the MY::postamble redefinitions.
==========================================================
Index: xs/APR/APR/Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/APR/Makefile.PL,v
retrieving revision 1.23
diff -u -r1.23 Makefile.PL
--- xs/APR/APR/Makefile.PL 28 Jun 2004 02:10:02 -0000 1.23
+++ xs/APR/APR/Makefile.PL 30 Jun 2004 18:17:46 -0000
@@ -7,6 +7,7 @@
use Apache::Build ();
use Config;
use File::Spec::Functions;
+use File::Copy;

use constant WIN32 => Apache::Build::WIN32;
use constant SOLARIS => $^O eq 'solaris';
@@ -72,19 +73,11 @@
push @clean, $cfile;
$src{$cfile} = "$srcdir/$cfile";
}
+for (keys %src) {
+ copy($src{$_}, '.') or die "Cannot copy $_: $!";
+}

$args{OBJECT} = WIN32 ? "APR.o" : "APR.o @obj";
$args{clean} = { FILES => "@clean" };

ModPerl::BuildMM::WriteMakefile(%args);
-
-sub MY::postamble {
- my $self = shift;
- my $string = $self->ModPerl::BuildMM::MY::postamble;
-
- $string .= join '', map {
- "$_: $src{$_}\n\t\$(CP) $src{$_} .\n";
- } keys %src;
-
- return $string;
-}
Index: xs/APR/aprext/Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/aprext/Makefile.PL,v
retrieving revision 1.2
diff -u -r1.2 Makefile.PL
--- xs/APR/aprext/Makefile.PL 28 Jun 2004 02:10:02 -0000 1.2
+++ xs/APR/aprext/Makefile.PL 30 Jun 2004 18:17:46 -0000
@@ -16,6 +16,12 @@
push @clean, $cfile;
$src{$cfile} = "$srcdir/$cfile";
}
+if(Apache::Build::WIN32) {
+ require File::Copy;
+ for (keys %src) {
+ File::Copy::copy($src{$_}, '.') or die "Cannot copy $_: $!";
+ }
+}

my @skip = qw(dynamic test);
push @skip, q{static} unless Apache::Build::WIN32;
@@ -29,13 +35,3 @@
);

ModPerl::BuildMM::WriteMakefile(%args);
-
-sub MY::postamble {
- my $self = shift;
- my $string = $self->ModPerl::BuildMM::MY::postamble;
-
- $string .= join '', map {
- "$_: $src{$_}\n\t\$(CP) $src{$_} .\n";
- } keys %src;
- return $string;
-}

============================================================

--
best regards,
randy


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation