Re: [Codestriker-user] Codestriker with Subversion on Windows 2003 using Apache 2.0.53
Brought to you by:
sits
|
From: David S. <si...@us...> - 2005-03-31 22:46:29
|
Hi Adam,
This is a bug on some Window deployments that somebody has recently found.
Go to bin/codestriker.pl.base where it has the following:
if ($windows == 0) {
$ENV{'PATH'} = '/bin:/usr/bin';
} else {
$ENV{'PATH'} = '';
}
Remove the else part, so that it now reads:
if ($windows == 0) {
$ENV{'PATH'} = '/bin:/usr/bin';
}
Run checksetup.pl again, restart apache, and try again.
This should fix CGI. For mod_perl, you'll need to explicitly set your PATH
in apache.conf, via SetPerlEnv PATH or some other directive to ensure
cmd.exe is in the webserver's path.
I'll make sure this is fixed in the next release of Codestriker, once I am
less snow-balled at work.
Cheers,
David
On Thu, 31 Mar 2005 00:42, Adam Snow wrote:
> Hello,
>
> I am trying to setup Codestriker on a Windows 2003 box using Apache
> 2.0.53, and talk with Subversion. I'm having a problem, and I could not
> find anything via google or your archived mailing list to help me, so
> I'm hoping you will.
>
> I've tried configuring Apache using CGI and mod_perl, and I get an error
> using each. When I create a new topic, if I upload a file it works fine.
> But if I instead enter a start tag, end tag, and module, I get an error.
> Here is the error using mod_perl:
>
> open3: Can't close: No such file or directory at
> C:/Apache/Apache2/websites/codestriker/bin/../lib/Codestriker/Repository
>/Subversion.pm line 111
>
>
> Using CGI, I get this error:
>
> open3: IO::Pipe: Can't spawn-NOWAIT: No such file or directory at
> C:/Apache/Apache2/websites/codestriker/bin/../lib/Codestriker/Repository
>/Subversion.pm line 111
>
> Any thoughts on what is causing this? I believe my Subversion repository
> is specified right in my codestriker.conf file:
>
> 'svn:http://server:8081/svn',
>
> When I type that URL into a browser, it shows me my repository. I do not
> need to login either, I have that turned off.
>
> Thanks.
>
> Adam Snow
> Systems Administrator
> Strategic Analysis, Inc.
> 2661 Commons Blvd
> Beavercreek, OH 45431
> 937.427.5480 phone
> 937.427.1242 fax
--
Cheers,
David
|