>
> cool! Jim, does the cvs version works for you?
I pulled down latest cvs and ran tests - with same failure of
unlocatable modules but it's different now since the addition of the
<join ":" "$PWD/lib" $ENV{PERL5LIB}> code to Makefile.PL.
Now, in the error from httpd startup, I'm seeing a directory in @INC
that doesn't exist, and I'm not sure how it's getting there...
/appl/perl/lib/site_perl/5.6.1/sun4-solaris. My /appl/perl/lib has no
site_perl branch. Any clues how that one in particular is getting
there? I think in part it's because without an explicit $(PERL5LIB) on
the start_httpd and test rules, the PERL5LIB macro is getting passed
implicilty by make (I'm using gmake, not the standard solaris make) as
an environment variable as
PERL5LIB="PERL5LIB=/v01/data/build/WEB/modperl/lib:/appl/perl/lib". As
to why it's showing /appl/perl/lib/site_perl/5.6.1/sun4-solaris, but
neither of /appl/perl/lib and /appl/perl/lib/sun4-solaris, I'm stumped
and a little too tired to research further tonight.
I have been building all my modules from CPAN with makepl_arg set to
"PREFIX=/appl/perl LIB=/appl/perl/lib"
and have PERL5LIB=/appl/perl/lib in my env, and normal perl scripts work
fine.
Thanks,
Jim
# perl -V
...
Compiled at Mar 26 2002 12:31:47
%ENV:
PERL5LIB="/appl/perl/lib"
@INC:
/appl/perl/lib/sun4-solaris
/appl/perl/lib
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
# make test
...
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...[Fri Apr 5 22:14:28 2002] [error] Can't locate
CGI.pm in @INC (@INC contains: /v01/data/build/WEB/modperl/blib/lib
/v01/data/build/WEB/modperl/blib/arch /v01/data/build/WEB/modperl/t/docs
blib/arch blib/lib /appl/perl/lib/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/v01/data/build/WEB/modperl/t/ /v01/data/build/WEB/modperl/t/lib/perl)
at /v01/data/build/WEB/modperl/t/net/perl/qredirect.pl line 2. BEGIN
failed--compilation aborted at
/v01/data/build/WEB/modperl/t/net/perl/qredirect.pl line 2. Compilation
failed in require at /v01/data/build/WEB/modperl/t//docs/startup.pl line
101. Compilation failed in require at (eval 1) line 1.
Syntax error on line 62 of
/v01/data/build/WEB/modperl/t/conf/httpd.conf:
Can't locate CGI.pm in @INC (@INC contains:
/v01/data/build/WEB/modperl/blib/lib
/v01/data/build/WEB/modperl/blib/arch /v01/data/build/WEB/modperl/t/docs
blib/arch blib/lib /appl/perl/lib/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/v01/data/build/WEB/modperl/t/ /v01/data/build/WEB/modperl/t/lib/perl)
at /v01/data/build/WEB/modperl/t/net/perl/qredirect.pl line 2. BEGIN
failed--compilation aborted at
/v01/data/build/WEB/modperl/t/net/perl/qredirect.pl line 2. Compilation
failed in require at /v01/data/build/WEB/modperl/t//docs/startup.pl line
101. Compilation failed in require at (eval 1) line 1.
> -----Original Message-----
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 5:39 AM
> To: Geoffrey Young
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Fwd: install test fails]
>
>
> Geoffrey Young wrote:
> > Stas Bekman wrote:
> >
> >>This problem should be addressed before 1.27 is released. There are
> >>too many recurrent reports about it.
> >
> >
> > this should be fixed in current cvs
> >
> > from cvs log lib/Apache/test.pm:
> >
> > revision 1.23
> > date: 2001/08/26 18:29:55; author: dougm; state: Exp;
> lines: +1 -0
> > require URI::URL to work with newer libwww-perl
>
> cool! Jim, does the cvs version works for you?
>
> --
>
>
> __________________________________________________________________
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]