Brenda Washington wrote:
I'm getting this error message when I run a t/TEST. Does anyone know why I'm getting this error?
Starting program: /usr/local/apache2/bin/httpd -D ONE_PROCESS -d
/opt/apache/mod_perl-2.0.1/t -f /opt/apache/mod_perl-2.0.1/t/conf/httpd.conf -D
APACHE2
[Thu Nov 10 14:29:53 2005] [info] 6 Apache2:: modules loaded
[Thu Nov 10 14:29:53 2005] [info] 0 APR:: modules loaded
[Thu Nov 10 14:29:53 2005] [info] base server + 27 vhosts ready to run tests
[Thu Nov 10 14:30:02 2005] [error] Insecure directory in $ENV{PATH} while
running with -T switch at
/opt/apache/mod_perl-2.0.1/Apache-Test/lib/Apache/TestConfig.pm line
1059.\nCompilation failed in require at
/opt/apache/mod_perl-2.0.1/t/conf/modperl_startup.pl line 17.\n\t...propagated
at /opt/apache/mod_perl-2.0.1/t/conf/modperl_startup.pl line 18.\nBEGIN
failed--compilation aborted at
/opt/apache/mod_perl-2.0.1/t/conf/modperl_startup.pl line 20.\nCompilation
failed in require at (eval 2) line 1.\n
Brenda, can you please send the output of:
% perl -le 'print $ENV{PATH}'
most likely you have a . or .. in it, which would explain the problem.
Meanwhile try to explicitly set it:
env PATH=/bin:/usr/bin t/TEST
adjust PATH to include what you need. if you run under bash shell you
don't need the 'env' part.
--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/