MP2 - New Install - Make Test Errors

2003-03-22 Thread Chris Faust
I'm installing mod_perl for the 3rd time using pretty much the same config
(machine, OS etc) as before but this time around I'm getting a lot of
strange errors when I run make test.

Here is a bug report:

http://tagteam.prevare.com/mp2bug.txt


Here is the Error Log

http://tagteam.prevare.com/mp2error.txt

Here is a perl -V

http://tagteam.prevare.com/perlver.txt

At first I was getting a host of those errors that were Cannot Locate
TeshHooks/init... , echo etc. I edited t/hooks/TestHooks/init.pm and added:

PerlModule  TestHooks::init
PerlModule  TestProtocol::echo
PerlModule  TestProtocol::echo_filter

(Why almost all the init.pm errors went away but the one that is showing
up is beyond me, the init.pm and protocol modules are within @INCs)

As I saw in some other posts, after doing that those errors went away and I
was left with what is in the logs above.

I also saw some posts where there could be some permissions issues so I
killed the whole directory, extracted it all again as a normal user, made
the edits to init.pm, su'ed to root and tryed to install again - I got the
same results.

RH Linux 8
Apache 2.0.44
mod_perl 1.99.08
Perl 5.8.0
Building Via:
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 \ MP_INST_APACHE2=1

Any ideas?

Thanks
-Chris







RE: MP2 - New Install - Make Test Errors

2003-03-22 Thread Chris Faust
Thanks Stas, I tried getting it via CVS and all those other problems went
away but I have a new one..

Can't locate Apache/TestConfig.pm

This happens right at the end of the make and the module is within @INC.

I haven't seen any posts that relate to this problem, any idea?

Here is the bug report, I don't see any error_log in the CVS version.

Thanks
-Chris


-8-- Start Bug Report 8--
1. Problem Description:

During make

Can't locate Apache/TestConfig.pm in @INC (@INC contains: Apache-Test/lib
/home/chris/cvs/modperl-2.0/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/home/chris/cvs/modperl-2.0/lib/ModPerl/Code.pm line 9.

I assume the rest of these errors are the result of TestConfig not being
found.

BEGIN failed--compilation aborted at
/home/chris/cvs/modperl-2.0/lib/ModPerl/Code.pm line 9.
Compilation failed in require at
/home/chris/cvs/modperl-2.0/lib/Apache/Build.pm line 14.
BEGIN failed--compilation aborted at
/home/chris/cvs/modperl-2.0/lib/Apache/Build.pm line 14.
Compilation failed in require at
/home/chris/cvs/modperl-2.0/lib/ModPerl/MM.pm line 8.
BEGIN failed--compilation aborted at
/home/chris/cvs/modperl-2.0/lib/ModPerl/MM.pm line 8.
Compilation failed in require at
/home/chris/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm line 6.
BEGIN failed--compilation aborted at
/home/chris/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm line 6.
Compilation failed in require.
BEGIN failed--compilation aborted.
make[1]: *** [glue_pods] Error 2
make[1]: Leaving directory `/home/chris/cvs/modperl-2.0/ModPerl-Registry'
make: *** [subdirs] Error 2
## End of make

2. Used Components and their Configuration:

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_AP_PREFIX= /usr/local/apache2
  MP_GENERATE_XS  = 1
  MP_INST_APACHE2 = 1
  MP_LIBNAME  = mod_perl
  MP_USE_DSO  = 1
  MP_USE_STATIC   = 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.44
Server built:   Mar 20 2003 11:04:09
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with
 -D APACHE_MPM_DIR=server/mpm/prefork
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -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


*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
osname=linux, osvers=2.4.18-11smp, archname=i386-linux-thread-multi
uname='linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15
06:41:59 edt 2002 i686 i686 i386 gnulinux '




config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dmyhostname=localho
st [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix
=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefi
les -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_sysl
og -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversionon
ly -Dpager=/usr/bin/less -isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='gcc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -march=i386 -mcpu=i686',




cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdb
m'
ccversion='', gccversion='3.2 20020822 (Red Hat Linux Rawhide 3.2-5)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
  Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.2.92'
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,

Re: MP2 - New Install - Make Test Errors

2003-03-22 Thread Stas Bekman
Chris Faust wrote:
Thanks Stas, I tried getting it via CVS and all those other problems went
away but I have a new one..
Can't locate Apache/TestConfig.pm

This happens right at the end of the make and the module is within @INC.
Thanks Chris, this is now fixed in cvs. Please run 'cvs up' and try again.

I've missed the problem, since I had an installed Apache/Test. Once I've 
removed it, the problem was right there.

__
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