RE: [MP2] - Failure on Make Install

[prev] [thread] [next] [Date index for 2005/04/18]

From: cfaust-dougot
Subject: RE: [MP2] - Failure on Make Install
Date: 19:17 on 18 Apr 2005
This is a multi-part message in MIME format.

------_=_NextPart_001_01C5444B.35E44899
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

> cfaust-dougot wrote:
>
>>Folks, have what I hope is a little problem during the install of =
mod_perl.
>>
>>1. Problem Description:
>>
>>I just downloaded the current mod_perl from the site.
>>mod_perl-2.0-current.tar.gz 4/18/2005
>>
>>Configured and built as outlined in the docs - everything went fine, =
test showed all testes being successful (3 tests skipped).
>>
>>When I went to "Make Install", it ended with the following
>>
>>make[1]: Leaving directory `/home/xxx/mod_perl-2.0.0-RC5/xs'
>>/usr/bin/perl -Iblib/lib =
-I/home/xxx/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e =
ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =
/home/xxx/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod =
blib/lib/ModPerl/RegistryLoader.pm
>>Unrecognized switch: --section=3D3  (-h will show valid options).
>>make: *** [glue_pods] Error 29
>>
>>So I ran it with the -h
>>[root@zbweb1 mod_perl-2.0.0-RC5]# /usr/bin/perl -Iblib/lib =
-I/home/x/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e =
ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =
/home/x/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod =
blib/lib/ModPerl/RegistryLoader.pm -h
>>expecting 3 arguments: pm, pod, dst at blib/lib/ModPerl/BuildMM.pm =
line 282.
>>
>>Any suggestions?
>
>
> Stas Said -
>
>>>The error is coming from pod2man, not the last command that you see:
>
>
>>>In Makefile you can see:
>
>
>>>       $(FULLPERL) -I$(INST_LIB)
>>>-I/home/stas/apache.org/modperl-2.0/Apache-Test/lib =
-MModPerl::BuildMM -e
>>>ModPerl::BuildMM::glue_pod xs/./Apache2/Const/Const.pm
>>>ome/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod
>>>ib/lib/Apache2/Const.pm
>>>     $(NOECHO) $(POD2MAN) --section=3D3
>>>e/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod
>>>INST_MAN3DIR)/Apache2::Const.$(MAN3EXT)
>
>
>>>I can see that on my machine the second command is not even run, =
since
>>>POD2MAN is not defined. Please take a look at your Makefile, what's =
the
>>>value of POD2MAN? e.g.:
>
>
>>>grep POD2MAN Makefile | grep -v NOECHO
>
>
>=20
> Thanks for taking a look Stas, I'm not really sure I understand what =
you are saying, but below is what you asked for ..
>=20
>=20
> [root@zbweb1 mod_perl-2.0.0-RC5]# grep POD2MAN Makefile | grep -v =
NOECHO
> POD2MAN_EXE =3D /usr/bin/pod2man --release mod_perl-2.0.0-RC5

>>if you look at the Makefile manually, POD2MAN_EXE is all you have, or =
is
>>there some line continuation? (though I see no \)


>>> POD2MAN =3D $(PERL) -we '%m=3D@ARGV;for (keys %m){' \
>>> -e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])=3D=3D0 or =
warn "Couldn\047t install $$m{$$_}\n";' \
>>>         @$(POD2MAN) \

>>that's why it gets things messed up.


>>Please try this patch:

>>Index: lib/ModPerl/BuildMM.pm
>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>--- lib/ModPerl/BuildMM.pm      (revision 161771)
>>+++ lib/ModPerl/BuildMM.pm      (working copy)
>>@@ -255,7 +255,7 @@
>>                  $man =3D~ s!/!::!g;
>>
>>                  push @target,
>>-                    '$(NOECHO) $(POD2MAN) --section=3D3 ' .
>>+                    '$(NOECHO) $(POD2MAN_EXE) --section=3D3 ' .
>>                      "$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)"
>>              }
 >>         }

It tried the patch and got the same error:
=20
/usr/bin/perl -Iblib/lib =
-I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib =
-MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =
/home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.p=
od blib/lib/ModPerl/RegistryLoader.pm
Unrecognized switch: --section=3D3  (-h will show valid options).
=20
The "/lib/ModPerl/BuildMM.pm section is now
=20
                push @target,
                    '$(NOECHO) $(POD2MAN_EXE) --section=3D3 ' .
                     "$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)"
            }
        }
=20
Stupid question, do I need to build it all again? I just did "make =
install".
=20
Thanks
-Chris
=20
=20

------_=_NextPart_001_01C5444B.35E44899
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">=0A=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0A=
<HTML>=0A=
<HEAD>=0A=
=0A=
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">=0A=
<TITLE>Re: [MP2] - Failure on Make Install</TITLE>=0A=
</HEAD>=0A=
<BODY>=0A=
<DIV dir=3Dltr><FONT size=3D2>&gt; cfaust-dougot =
wrote:<BR>&gt;<BR>&gt;&gt;Folks, =0A=
have what I hope is a little problem during the install of =0A=
mod_perl.<BR>&gt;&gt;<BR>&gt;&gt;1. Problem =0A=
Description:<BR>&gt;&gt;<BR>&gt;&gt;I just downloaded the current =
mod_perl from =0A=
the site.<BR>&gt;&gt;mod_perl-2.0-current.tar.gz =0A=
4/18/2005<BR>&gt;&gt;<BR>&gt;&gt;Configured and built as outlined in the =
docs - =0A=
everything went fine, test showed all testes being successful (3 tests =0A=
skipped).<BR>&gt;&gt;<BR>&gt;&gt;When I went to "Make Install", it ended =
with =0A=
the following<BR>&gt;&gt;<BR>&gt;&gt;make[1]: Leaving directory =0A=
`/home/xxx/mod_perl-2.0.0-RC5/xs'<BR>&gt;&gt;/usr/bin/perl -Iblib/lib =0A=
-I/home/xxx/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e =0A=
ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =0A=
/home/xxx/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod =0A=
blib/lib/ModPerl/RegistryLoader.pm<BR>&gt;&gt;Unrecognized switch: =0A=
--section=3D3&nbsp; (-h will show valid options).<BR>&gt;&gt;make: *** =
[glue_pods] =0A=
Error 29<BR>&gt;&gt;<BR>&gt;&gt;So I ran it with the =
-h<BR>&gt;&gt;[root@zbweb1 =0A=
mod_perl-2.0.0-RC5]# /usr/bin/perl -Iblib/lib =0A=
-I/home/x/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e =0A=
ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =0A=
/home/x/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.pod =0A=
blib/lib/ModPerl/RegistryLoader.pm -h<BR>&gt;&gt;expecting 3 arguments: =
pm, pod, =0A=
dst at blib/lib/ModPerl/BuildMM.pm line 282.<BR>&gt;&gt;<BR>&gt;&gt;Any =0A=
suggestions?<BR>&gt;<BR>&gt;<BR>&gt; Stas Said =
-<BR>&gt;<BR>&gt;&gt;&gt;The =0A=
error is coming from pod2man, not the last command that you =0A=
see:<BR>&gt;<BR>&gt;<BR>&gt;&gt;&gt;In Makefile you can =0A=
see:<BR>&gt;<BR>&gt;<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
$(FULLPERL) =0A=
-I$(INST_LIB)<BR>&gt;&gt;&gt;-I/home/stas/apache.org/modperl-2.0/Apache-T=
est/lib =0A=
-MModPerl::BuildMM -e<BR>&gt;&gt;&gt;ModPerl::BuildMM::glue_pod =0A=
xs/./Apache2/Const/Const.pm<BR>&gt;&gt;&gt;ome/stas/apache.org/modperl-2.=
0/docs/api/Apache2/Const.pod<BR>&gt;&gt;&gt;ib/lib/Apache2/Const.pm<BR>&g=
t;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
$(NOECHO) $(POD2MAN) =0A=
--section=3D3<BR>&gt;&gt;&gt;e/stas/apache.org/modperl-2.0/docs/api/Apach=
e2/Const.pod<BR>&gt;&gt;&gt;INST_MAN3DIR)/Apache2::Const.$(MAN3EXT)<BR>&g=
t;<BR>&gt;<BR>&gt;&gt;&gt;I =0A=
can see that on my machine the second command is not even run, =0A=
since<BR>&gt;&gt;&gt;POD2MAN is not defined. Please take a look at your =0A=
Makefile, what's the<BR>&gt;&gt;&gt;value of POD2MAN? =0A=
e.g.:<BR>&gt;<BR>&gt;<BR>&gt;&gt;&gt;grep POD2MAN Makefile | grep -v =0A=
NOECHO<BR>&gt;<BR>&gt;<BR>&gt;&nbsp;<BR>&gt; Thanks for taking a look =
Stas, I'm =0A=
not really sure I understand what you are saying, but below is what you =
asked =0A=
for ..<BR>&gt;&nbsp;<BR>&gt;&nbsp;<BR>&gt; [root@zbweb1 =
mod_perl-2.0.0-RC5]# =0A=
grep POD2MAN Makefile | grep -v NOECHO<BR>&gt; POD2MAN_EXE =3D =
/usr/bin/pod2man =0A=
--release mod_perl-2.0.0-RC5<BR><BR>&gt;&gt;if you look at the Makefile =0A=
manually, POD2MAN_EXE is all you have, or is<BR>&gt;&gt;there some line =0A=
continuation? (though I see no \)</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2><BR><BR>&gt;&gt;&gt; POD2MAN =3D $(PERL) =
-we =0A=
'%m=3D@ARGV;for (keys %m){' \<BR>&gt;&gt;&gt; -e 'system(q[$(PERLRUN) =0A=
$(POD2MAN_EXE) ].qq[$$_&gt;$$m{$$_}])=3D=3D0 or warn "Couldn\047t =
install =0A=
$$m{$$_}\n";' =
\<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
@$(POD2MAN) \<BR><BR>&gt;&gt;that's why it gets things messed =0A=
up.<BR><BR><BR>&gt;&gt;Please try this patch:<BR><BR>&gt;&gt;Index: =0A=
lib/ModPerl/BuildMM.pm<BR>&gt;&gt;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<BR>&gt;&gt;--- =0A=
lib/ModPerl/BuildMM.pm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (revision =0A=
161771)<BR>&gt;&gt;+++ =
lib/ModPerl/BuildMM.pm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
(working copy)<BR>&gt;&gt;@@ -255,7 +255,7 =0A=
@@<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
$man =3D~ =0A=
s!/!::!g;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
push =0A=
@target,<BR>&gt;&gt;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
'$(NOECHO) $(POD2MAN) --section=3D3 ' =0A=
.<BR>&gt;&gt;+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
'$(NOECHO) $(POD2MAN_EXE) --section=3D3 ' =0A=
.<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
"$podpath =0A=
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)"<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
}<BR>&nbsp;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
}<BR><BR>It =0A=
tried the patch and got the same error:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2>/usr/bin/perl -Iblib/lib =0A=
-I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib =
-MModPerl::BuildMM -e =0A=
ModPerl::BuildMM::glue_pod =
ModPerl-Registry/lib/ModPerl/RegistryLoader.pm =0A=
/home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/RegistryLoader.p=
od =0A=
blib/lib/ModPerl/RegistryLoader.pm<BR>Unrecognized switch: =
--section=3D3&nbsp; (-h =0A=
will show valid options).</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2>The "/lib/ModPerl/BuildMM.pm section is =0A=
now</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV =0A=
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
push =0A=
@target,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
'$(NOECHO) $(POD2MAN_EXE) --section=3D3 ' =0A=
.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
"$podpath =0A=
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Stupid question, do I need to build it all again? I just =
did "make =0A=
install".</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Thanks</DIV>=0A=
<DIV dir=3Dltr>-Chris</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2>&nbsp;</DIV></FONT>=0A=
=0A=
</BODY>=0A=
</HTML>
------_=_NextPart_001_01C5444B.35E44899--

[MP2] - Failure on Make Install
cfaust-dougot 17:33 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Philip M. Gollucci 17:39 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 17:42 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 18:07 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 18:23 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 18:44 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 19:17 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 19:26 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 19:57 on 18 Apr 2005

Re: [MP2] - Failure on Make Install
Stas Bekman 20:06 on 18 Apr 2005

RE: [MP2] - Failure on Make Install
cfaust-dougot 20:07 on 18 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52