Stas,
The output of  perl -V:ld -V:cc is:
 ld='ld'
 cc='cc' the cc is the IBM Visual Age C (vac.C  4.4.0.3)

I grabbed the CVS last night after reading msg: 50776 (regarding the
TestHooks::init::first) to see if the errors would disappear. When I ran
make I remembered there was a small edit for the make to work. In the
Makefile and ModPerl-Registry/Makefile there was an undefined FULLPERLRUN.
When I changed the FULLPERLRUN to FULLPERL it was fine. 
Didn't know where that would be in the a Makefile.PL, or elsewhere. 
Details below:
##################################################################
>From Makefile - changed FULLPERLRUN to FULLPERL
# --- MakeMaker postamble section:
glue_pods:
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/MethodLookup.pm
/sto
re/modperl-2.0/docs/api/ModPerl/MethodLookup.pod
$(INST_LIB)/ModPerl/MethodLooku
p.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/Apache/Status.pm
/store/modp
erl-2.0/docs/api/Apache/Status.pod $(INST_LIB)/Apache/Status.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/Apache/compat.pm
/store/modp
erl-2.0/docs/api/Apache/compat.pod $(INST_LIB)/Apache/compat.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/BuildMM.pm
/store/mo
dperl-2.0/docs/api/ModPerl/BuildMM.pod $(INST_LIB)/ModPerl/BuildMM.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/MM.pm
/store/modperl
-2.0/docs/api/ModPerl/MM.pod $(INST_LIB)/ModPerl/MM.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/Apache/Reload.pm
/store/modp
erl-2.0/docs/api/Apache/Reload.pod $(INST_LIB)/Apache/Reload.pm
  @$(TOUCH) $@
######################################################################
>From ModPerl-Registry/Makefile - changed FULLPERLRUN to FULLPERL
# --- MakeMaker postamble section:
glue_pods:
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod
lib/ModPerl/RegistryLoader.pm /s
tore/modperl-2.0/docs/api/ModPerl/RegistryLoader.pod
$(INST_LIB)/ModPerl/Registr
yLoader.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/PerlRun.pm
/store/mo
dperl-2.0/docs/api/ModPerl/PerlRun.pod $(INST_LIB)/ModPerl/PerlRun.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod
lib/ModPerl/RegistryCooker.pm /s
tore/modperl-2.0/docs/api/ModPerl/RegistryCooker.pod
$(INST_LIB)/ModPerl/Registr
yCooker.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/RegistryBB.pm
/store
/modperl-2.0/docs/api/ModPerl/RegistryBB.pod
$(INST_LIB)/ModPerl/RegistryBB.pm
  $(FULLPERLRUN) -I/store/modperl-2.0/lib
-I/store/modperl-2.0/Apache-Test/lib -
MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/ModPerl/Registry.pm
/store/m
odperl-2.0/docs/api/ModPerl/Registry.pod $(INST_LIB)/ModPerl/Registry.pm
  @$(TOUCH) $@
#################################

After that edit I make test shows this in the t/logs/error_log:
END in modperl_extra.pl, pid=43520
[Wed Mar 26 11:59:17 2003] [notice] Apache/2.0.44 (Unix)
mod_perl/1.99_09-dev Perl/v5.6.1 PHP/4.3.1 configured -- resuming normal
operations
[Wed Mar 26 11:59:17 2003] [info] Server built: Mar  4 2003 21:18:40
[Wed Mar 26 11:59:17 2003] [debug] prefork.c(1039): AcceptMutex: pthread
(default: pthread)
[Wed Mar 26 11:59:18 2003] [error] failed to resolve handler
`TestHooks::init::first'
[Wed Mar 26 11:59:18 2003] [error] [client 127.0.0.1] Can't locate
TestHooks/init/first.pm in @INC (@INC contains: /store/modperl-2.0/t
/store/modperl-2.0/blib/lib/Apache2 /store/modperl-2.0/blib/arch/Apache2
/usr/opt/perl5/lib/site_perl/5.6.1/aix/Apache2
/store/modperl-2.0/Apache-Test/lib /store/modperl-2.0/lib
/store/modperl-2.0/blib/lib /store/modperl-2.0/blib/arch
/store/modperl-2.0/t/response /store/modperl-2.0/t/protocol
/store/modperl-2.0/t/preconnection /store/modperl-2.0/t/hooks
/store/modperl-2.0/t/filter /store/modperl-2.0/t/htdocs/testdirective/main
/store/modperl-2.0/t/htdocs/testdirective/perlmodule-vh
/usr/opt/perl5/lib/5.6.1/aix /usr/opt/perl5/lib/5.6.1
/usr/opt/perl5/lib/site_perl/5.6.1/aix /usr/opt/perl5/lib/site_perl/5.6.1
/usr/opt/perl5/lib/site_perl) at (eval 41) line 3.

I can see a first sub in the init.pm but not init/first.pm. 

Thanks!!!
Todd

-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 5:10 PM
To: ODELL, TODD E (SWBT)
Cc: '[EMAIL PROTECTED]'
Subject: Re: Mod_perl 1.99_09dev on AIX4.3.3


ODELL, TODD E (SWBT) wrote:
> On Mar 24 Stas Bekman Wrote:
> 
>>I've applied some fixes for mod_perl to build on aix.
>>I could only test with aix 5.1 on powerpc. Please test that things work on

>>other configurations.
> 
> 
> I got 1.99_09dev working on AIX4.3.3/apache 2.0.44 on powerpc_power3. I
had
> trouble with make test, but I'm reviewing the recent messages on that.
> I decided to see what it would do after make install and it does seem to
> work. It's shows Apache/2.0.44 (Unix) mod_perl/1.99_09-dev Perl/v5.6.1
> PHP/4.3.1.

Fantastic! What compiler/loader were you using? on the machine I was testing

it was cc_r and ld. What's the output of:

% perl -V:ld -V:cc

If you provide more details on the 'make test' problems we will try to solve

these as well.

__________________________________________________________________
Stas Bekman            JAm_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

Reply via email to