Item10883: Windows-safe paths
Current State: Closed
Released In: 1.1.4
Target Release: patch
Configure, Documentation, PlatformWindows
As described in http://foswiki.org/Support/Question873
, configure can fail. The cause was ...
$foswikiLibPath = "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\wiki\lib";
.cfg caused TemplateParser
Changing the Windows backslashes to forward slashes got rid of the error when running configure. Might be nice if that condition was detected and an error message was given (or detect and be compatible with Windows paths). I suspect my mistake would be quite common in Windows installations!
- 15 Jun 2011
Babar pointed out that use of single quotes prevents the backslash from being interpreted as an escape. So using single quotes in the example might also avoid the issue.
- 25 Aug 2011