You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2003/02/20 00:29:31 UTC

Re: Building mod-perl 2 for cygwin: taint cleanup

[splitting the thread in two]

Stas Bekman wrote:
> Steve Baldwin wrote:
> 
>> I've got Apache2 installed and as far as I can tell, it is functional.
>> I'm trying to build mod-perl from source (as I couldn't find any
>> binaries for cygwin).  When I initially ran the command :
>>
>> perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2
>>
>> I got errors telling me it couldn't find "cygdb-3.1.dll", which I
>> eventually tracked down to Apache::TextConfig::open_cmd.  I commented
>> out the line :
>>
>> local @ENV{ qw(PATH IFS CDPATH ENV BASH_ENV) };
>>
>> and the errors went away (it was clearing $ENV{PATH} which I think was
>> causing the error).  
> 
> 
> We need to explicitly set $ENV{PATH} to be able to start a process under 
> -T (see perlsec). We could hardcode the path of the value, but that 
> would be different for each platform. What the normal value of PATH on 
> your system? Is this something standard that other cygwin users can rely 
> on?

this issue needs to be resolved as well. can you follow up on this?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com