https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7255
Bug ID: 7255
Summary: `dmake install` fails on windows
Product: Spamassassin
Version: 3.4 SVN branch
Hardware: PC
OS: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
Assignee: [email protected]
Reporter: [email protected]
Created attachment 5338
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5338&action=edit
dmake-compatible Makefile
Strawberry Perl comes with dmake, and MakeMaker emits dmake-style Makefiles.
`dmake install` fails with the following message:
```
"D:\Strawberry\perl\bin\perl.exe" -MFile::Copy -e "copy(qrules/local.cf,
qD:\Str
awberry\perl\site/etc/mail/spamassassin/local.cf) unless -f
qD:\Strawberry\perl\
site/etc/mail/spamassassin/local.cf"
Backslash found where operator expected at -e line 1, near "Strawberry\"
Backslash found where operator expected at -e line 1, near "perl\"
Backslash found where operator expected at -e line 1, near "Strawberry\"
Backslash found where operator expected at -e line 1, near "perl\"
syntax error at -e line 1, near "local."
Execution of -e aborted due to compilation errors.
dmake: Error code 255, while making 'conf__install'
```
The problem is that braces have significance for dmake. They need to be escaped
by doubling. Replacing them with brackets instead is probably more portable.
See attached patch.
--
You are receiving this mail because:
You are the assignee for the bug.