perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Ananiev" <anan...@thegdb.com>
Subject Re: Fix for "undefined value" warning in Makefile.PL
Date Wed, 24 Aug 2005 18:01:24 GMT
ok :)

"Philip M. Gollucci" <pgollucci@p6m7g8.com> wrote in message
news:430BF59B.1020201@p6m7g8.com...
> Nikolay Ananiev wrote:
> > +            "  LoadModule perl_module
modules/$build->{MODPERL_LIB_DSO}",
> > +
> > +            if($build->{MP_APXS}) {
> > +                warning "",
> > +                    "depending on your build, mod_perl might not live
in",
> > +                    "the modules/ directory - check the results of",
"",
> > +                    "  \$ $build->{MP_APXS} -q LIBEXECDIR",
"",
> > +                    "and adjust the LoadModule directive
accordingly.\n";
> > +            }
>
> Thanks Nick, but I think I'd move the if a bit:
> Index: Makefile.PL
> ===================================================================
> --- Makefile.PL (revision 234145)
> +++ Makefile.PL (working copy)
> @@ -393,9 +393,13 @@
>               "You'll need to add the following to httpd.conf:",
"",
>               "  LoadModule perl_module
modules/$build->{MODPERL_LIB_DSO}", "",
>               "depending on your build, mod_perl might not live in",
> -            "the modules/ directory - check the results of",
"",
> -            "  \$ $build->{MP_APXS} -q LIBEXECDIR",
"",
> -            "and adjust the LoadModule directive accordingly.\n";
> +            "the modules/ directory.\n";
> +        if ($build->{MP_APXS}) {
> +            warning
> +                "Check the results of",
"",
> +                "  \$ $build->{MP_APXS} -q LIBEXECDIR",
"",
> +                "and adjust the LoadModule directive accordingly.\n";
> +        }
>       }
>
>       $build->save;
>
>
> -- 
> END
> ------------------------------------------------------------
>      What doesn't kill us can only make us stronger.
>                  Nothing is impossible.
>
> Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
> Consultant / http://p6m7g8.net/Resume/
> Senior Developer / Liquidity Services, Inc.
>    http://www.liquidityservicesinc.com
>         http://www.liquidation.com
>         http://www.uksurplus.com
>         http://www.govliquidation.com
>         http://www.gowholesale.com




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message