[MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot

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.pmUnrecognized switch: --section=3 (-h 
will show valid options).make: *** [glue_pods] Error 29

So I ran it with the -h[EMAIL PROTECTED] 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 -hexpecting 3 arguments: pm, pod, dst at 
blib/lib/ModPerl/BuildMM.pm line 282.

Any suggestions?

RH Linux
Apache 2.0.54

Thanks
-Chris

2. Used Components and their Configuration:
*** mod_perl version 1.999022
*** using 
/home/zerobrokerfees/mod_perl-2.0.0-RC5/lib/Apache2/BuildConfig.pm
*** Makefile.PL options: MP_APR_LIB = 
aprext MP_APXS = 
/usr/local/apache2/bin/apxs MP_COMPAT_1X = 1 
MP_GENERATE_XS = 1 MP_LIBNAME = 
mod_perl MP_USE_DSO = 1
*** /usr/local/apache2/bin/httpd -VServer version: 
Apache/2.0.54Server built: Apr 18 2005 12:19:15Server's 
Module Magic Number: 20020903:9Architecture: 32-bitServer 
compiled with-D APACHE_MPM_DIR="server/mpm/prefork"-D 
APR_HAS_SENDFILE-D APR_HAS_MMAP-D APR_HAVE_IPV6 (IPv4-mapped 
addresses enabled)-D APR_USE_SYSVSEM_SERIALIZE-D 
APR_USE_PTHREAD_SERIALIZE-D 
SINGLE_LISTEN_UNSERIALIZED_ACCEPT-D APR_HAS_OTHER_CHILD-D 
AP_HAVE_RELIABLE_PIPED_LOGS-D 
HTTPD_ROOT="/usr/local/apache2"-D 
SUEXEC_BIN="/usr/local/apache2/bin/suexec"-D 
DEFAULT_PIDLOG="logs/httpd.pid"-D 
DEFAULT_SCOREBOARD="logs/apache_runtime_status"-D 
DEFAULT_LOCKFILE="logs/accept.lock"-D 
DEFAULT_ERRORLOG="logs/error_log"-D 
AP_TYPES_CONFIG_FILE="conf/mime.types"-D 
SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/usr/local/apache2/lib -lapr-0 -lrt -lm -lcrypt -lnsl 
-lpthread -ldl-L/usr/local/apache2/lib -laprutil-0 -lexpat

*** /usr/bin/perl -VSummary of my perl5 (revision 5.0 version 8 
subversion 0) configuration: Platform: 
osname=linux, osvers=2.4.21-14.elsmp, 
archname=i386-linux-thread-multi uname='linux 
twe' config_args='-des -Doptimize=-O2 -g -pipe -march=i386 
-mcpu=i686 -Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc 
-Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux 
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 
-Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid 
-Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm 
-Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly 
-Dpager=/usr/bin/less -isr' hint=recommended, 
useposix=true, d_sigaction=define usethreads=define 
use5005threads=undef'useithreads=define 
usemultiplicity= useperlio= d_sfio=undef 
uselargefiles=define usesocks=undef use64bitint=undef 
use64bitall=un uselongdouble= usemymalloc=, 
bincompat5005=undef Compiler: cc='gcc', ccflags 
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', 
optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE 
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-I/usr/include/gdbm' ccversion='', gccversion='3.2.3 
20030502 (Red Hat Linux 3.2.3-42)', gccosandvers=''gccversion='3.2.3 
200305' intsize=o, longsize=s, ptrsize=l, doublesize=8, 
byteorder=1234 d_longlong=define, longlongsize=8, 
d_longdbl=define, longdblsize=12 ivtype='long'k', 
ivsize=4'ivtype='long'known_extensi, nvtype='double', nvsize=, Off_t='', 
lseeksize=8 alignbytes=4, prototype=define 
Linker and Libraries: ld='gcc'l', ldflags 
='' libpth=/usr/local/lib /lib 
/usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc 
-lcrypt -lutil perllibs= 
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, 
libperl=libper gnulibc_version='2.3.2' Dynamic 
Linking: dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, 
ccdlflags='-rdynamic 
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' 
cccdlflags='-fPIC'ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', 
lddlflags='s Unicode/Normalize XS/A'
Characteristics of this binary (from libperl): Compile-time 
options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT Locally applied 
patches: MAINT18379 
Built under linux Compiled at Oct 5 2004 13:02:53 
%ENV: 

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install






Thanks Philip, I'll do that 
right now...

-Chris


From: Philip M. Gollucci 
[mailto:[EMAIL PROTECTED]Sent: Mon 4/18/2005 1:39 
PMTo: cfaust-dougotCc: 
modperl@perl.apache.orgSubject: Re: [MP2] - Failure on Make 
Install

cfaust-dougot wrote: *** Packages of interest 
status: Apache2 : 
- Apache2::Request: - 
CGI : 
2.89 
LWP : 
5.65 mod_perl : 1.9909 
mod_perl2 : -This isn't related to 
you make install error, but you'll want to upgradeCGI.pmto version 3.07 
and apply the patches to get version 3.08 because onceyou fix the make 
install error this _will_ become an issue if you try touse CGI.pm under 
modperl2.http://marc.theaimsgroup.com/?l=apache-modperl-devm=111289411808089w=2HTH--END-Philip 
M. GollucciSenior Developer - Liquidity Services Inc.Phone: 
202.558.6268 (Direct)E-Mail: 
[EMAIL PROTECTED]Web: http://www.liquidation.com




Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
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=3  (-h will show valid options).
make: *** [glue_pods] Error 29
 
So I ran it with the -h
[EMAIL PROTECTED] 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?
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 
/home/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.pod 
blib/lib/Apache2/Const.pm
	$(NOECHO) $(POD2MAN) --section=3 
/home/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
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install





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=3 (-h will show valid options). make: *** [glue_pods] 
Error 29 So I ran it with the -h [EMAIL PROTECTED] 
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 -eModPerl::BuildMM::glue_pod 
xs/./Apache2/Const/Const.pmome/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.podib/lib/Apache2/Const.pm 
$(NOECHO) $(POD2MAN) 
--section=3e/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.podINST_MAN3DIR)/Apache2::Const.$(MAN3EXT)I 
can see that on my machine the second command is not even run, 
sincePOD2MAN is not defined. Please take a look at your Makefile, 
what's thevalue of POD2MAN? e.g.:grep POD2MAN 
Makefile | grep -v NOECHO

Thanks for taking a look Stas, I'm not really sure I 
understand what you are saying, but below is what you asked for ..


[EMAIL PROTECTED] mod_perl-2.0.0-RC5]# grep POD2MAN 
Makefile | grep -v NOECHOPOD2MAN_EXE = /usr/bin/pod2man --release 
mod_perl-2.0.0-RC5POD2MAN = $(PERL) -we '[EMAIL PROTECTED];for (keys %m){' \-e 
'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_$$m{$$_}])==0 or warn 
"Couldn\047t install $$m{$$_}\n";' 
\ @$(POD2MAN) \
___

Same section as your example from my 
Makefile
 $(FULLPERL) 
-I$(INST_LIB) -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib 
-MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod xs/ModPerl/Const/Const.pm 
/home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/Const.pod 
blib/lib/ModPerl/Const.pm 
$(NOECHO) $(POD2MAN) --section=3 
/home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api/ModPerl/Const.pod 
$(INST_MAN3DIR)/ModPerl::Const.$(MAN3EXT)

Thanks Again
-Chris





Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote:
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=3  (-h will show valid options).
make: *** [glue_pods] Error 29
So I ran it with the -h
[EMAIL PROTECTED] 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=3
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

 
Thanks for taking a look Stas, I'm not really sure I understand what you are saying, but below is what you asked for ..
 
 
[EMAIL PROTECTED] mod_perl-2.0.0-RC5]# grep POD2MAN Makefile | grep -v NOECHO
POD2MAN_EXE = /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 = $(PERL) -we '[EMAIL PROTECTED];for (keys %m){' \
-e 'system(q[$(PERLRUN) $(POD2MAN_EXE) ].qq[$$_$$m{$$_}])==0 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
===
--- lib/ModPerl/BuildMM.pm  (revision 161771)
+++ lib/ModPerl/BuildMM.pm  (working copy)
@@ -255,7 +255,7 @@
 $man =~ s!/!::!g;
 push @target,
-'$(NOECHO) $(POD2MAN) --section=3 ' .
+'$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
 $podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)
 }
 }
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install





 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/2005Configured 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 followingmake[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.pmUnrecognized switch: 
--section=3 (-h will show valid options).make: *** [glue_pods] 
Error 29So I ran it with the -h[EMAIL PROTECTED] 
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 -hexpecting 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 -eModPerl::BuildMM::glue_pod 
xs/./Apache2/Const/Const.pmome/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.podib/lib/Apache2/Const.pm 
$(NOECHO) $(POD2MAN) 
--section=3e/stas/apache.org/modperl-2.0/docs/api/Apache2/Const.podINST_MAN3DIR)/Apache2::Const.$(MAN3EXT)I 
can see that on my machine the second command is not even run, 
sincePOD2MAN is not defined. Please take a look at your 
Makefile, what's thevalue of POD2MAN? 
e.g.:grep POD2MAN Makefile | grep -v 
NOECHO Thanks for taking a look Stas, I'm 
not really sure I understand what you are saying, but below is what you asked 
for .. [EMAIL PROTECTED] mod_perl-2.0.0-RC5]# 
grep POD2MAN Makefile | grep -v NOECHO POD2MAN_EXE = /usr/bin/pod2man 
--release mod_perl-2.0.0-RC5if you look at the Makefile 
manually, POD2MAN_EXE is all you have, or isthere some line 
continuation? (though I see no \)
 POD2MAN = $(PERL) -we 
'[EMAIL PROTECTED];for (keys %m){' \ -e 'system(q[$(PERLRUN) 
$(POD2MAN_EXE) ].qq[$$_$$m{$$_}])==0 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===--- 
lib/ModPerl/BuildMM.pm (revision 
161771)+++ lib/ModPerl/BuildMM.pm 
(working copy)@@ -255,7 +255,7 
@@ 
$man =~ 
s!/!::!g; 
push 
@target,- 
'$(NOECHO) $(POD2MAN) --section=3 ' 
.+ 
'$(NOECHO) $(POD2MAN_EXE) --section=3 ' 
. 
"$podpath 
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)" 
} }It 
tried the patch and got the same error:

/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.pod 
blib/lib/ModPerl/RegistryLoader.pmUnrecognized switch: --section=3 (-h 
will show valid options).

The "/lib/ModPerl/BuildMM.pm section is 
now

 
push 
@target, 
'$(NOECHO) $(POD2MAN_EXE) --section=3 ' 
. 
"$podpath 
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)" 
} }

Stupid question, do I need to build it all again? I just did "make 
install".

Thanks
-Chris






Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote:
[...]
It tried the patch and got the same error:
 
/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.pod blib/lib/ModPerl/RegistryLoader.pm
Unrecognized switch: --section=3  (-h will show valid options).
 
The /lib/ModPerl/BuildMM.pm section is now
 
push @target,
'$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
 $podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)
}
}
 
Stupid question, do I need to build it all again? I just did make install.
Yes, you do.
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install





cfaust-dougot wrote:[...] It tried the 
patch and got the same error: /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.pod 
blib/lib/ModPerl/RegistryLoader.pm Unrecognized switch: 
--section=3 (-h will show valid options). The 
"/lib/ModPerl/BuildMM.pm section is 
now 
push 
@target, 
'$(NOECHO) $(POD2MAN_EXE) --section=3 ' 
. 
"$podpath 
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)" 
} 
} Stupid question, do I need to build it all again? I just 
did "make install".Yes, you do.DOH, Sorry!!I did 
rebuild and everything has seemed to go fine for the install.. But I'm getting 
the following from Apache::Reload and all my scripts..

[Mon Apr 18 15:47:29 2005] [error] Bareword "Apache::OK" not 
allowed while "strict subs" in use at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Reload.pm line 
151.\nCompilation failed in require at (eval 16) line 3.\n[Mon Apr 18 
15:47:29 2005] [error] Can't load Perl module Apache::Reload for server 
zbweb1.zerobrokerfees.com:0, exiting...

Do I need to be doing something different code wise with this 
latest version? Even if I comment out Apache:Reload I get the same problems with 
my scripts as I always return either "Apache::OK" or "Apache::REDIRECT" from my 
scripts hander sub.

Thanks Stas
-Chris




RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install






[...] It tried the patch and got the same 
error: /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.pod 
blib/lib/ModPerl/RegistryLoader.pm Unrecognized switch: 
--section=3 (-h will show valid options). The 
"/lib/ModPerl/BuildMM.pm section is 
now 
push 
@target, 
'$(NOECHO) $(POD2MAN_EXE) --section=3 ' 
. 
"$podpath 
\$(INST_MAN3DIR)/$man.\$(MAN3EXT)" 
} 
} Stupid question, do I need to build it all again? I just 
did "make install".Yes, you do.Stas, never mind my last 
note... I found it http://perl.apache.org/docs/2.0/rename.html#Changes, 
Right?

Sorry, I should have looked harder before I replyed..

Thanks
-Chris





Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote:
cfaust-dougot wrote:
[...]
It tried the patch and got the same error:
/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.pod 
blib/lib/ModPerl/RegistryLoader.pm
Unrecognized switch: --section=3  (-h will show valid options).
The /lib/ModPerl/BuildMM.pm section is now
   push @target,
   '$(NOECHO) $(POD2MAN_EXE) --section=3 ' .
$podpath \$(INST_MAN3DIR)/$man.\$(MAN3EXT)
   }
   }
Stupid question, do I need to build it all again? I just did make install.

Yes, you do.

DOH, Sorry!! I did rebuild and everything has seemed to go fine for the install.. 
Cool, I'll commit it then.
But I'm getting the following from Apache::Reload and all my scripts..
 
[Mon Apr 18 15:47:29 2005] [error] Bareword Apache::OK not allowed while strict subs in use at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Reload.pm line 151.\nCompilation failed in require at (eval 16) line 3.\n
[Mon Apr 18 15:47:29 2005] [error] Can't load Perl module Apache::Reload for server zbweb1.zerobrokerfees.com:0, exiting...
 
Do I need to be doing something different code wise with this latest version? Even if I comment out Apache:Reload I get the same problems with my scripts as I always return either Apache::OK or Apache::REDIRECT from my scripts hander sub.
No, you must not use Apache::Reload, but Apache2::Reload starting from 
mp2-rc5. Change your setup and it'll work. See the Changes file for details.

--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com