Kent, Mr. John (Contractor) wrote:
> Greetings,
> 
> When installing the latest mod_perl with Apache 2.0.55
> make test produced the following error:
> 
> [...]
> [Wed Nov 16 10:41:50 2005] [error] Insecure directory in $ENV{PATH} while 
> running with -T switch at 
> /users/webuser/src/mod_perl-2.0.0/Apache-Test/lib/Apache/TestConfig.pm line 
> 1059.\nCompilation failed in require at 
> /users/webuser/src/mod_perl-2.0.0/t/conf/modperl_startup.pl line 
> 17.\n\t...propagated at 
> /users/webuser/src/mod_perl-2.0.0/t/conf/modperl_startup.pl line 18.\nBEGIN 
> failed--compilation aborted at 
> /users/webuser/src/mod_perl-2.0.0/t/conf/modperl_startup.pl line 
> 20.\nCompilation failed in require at (eval 2) line 1.\n
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Probably means you have something funny in your $PATH env variable.

From perldiag:
 "You can’t use system(), exec(), or a piped open in a setuid or setgid script 
if $ENV{PATH} contains a
 directory that is writable by the world.  Also, the PATH must not contain any 
relative directory.  See
 perlsec."

From perlsec:
 "each directory in the path must be absolute and non-writable by others than 
its owner and group."

So you probably have something in your PATH that's either relative 
('../../bin') or
world writable (a bad idea in general).

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to