[WM] Invalid argument
Warren Post
munisrc.softhome.net
Thu Dec 26 14:18:02 GMT 2002
I am new to WebMake and need some help correcting an error. When I
invoke WebMake from the command line ("webmake" with no arguments, no
options) while in my working directory I get:
mkdir //.webmake: Invalid argument at
C:/Perl/site/lib/HTML/WebMake/Main.pm line 325
Main.pm line 325 happens to read "(-d $dir) or mkpath ($dir);", but I
don't for a minute believe that the code is buggy. Surely I'm doing
something wrong.
In my working directory I have one file, index.wmk, which is taken more
or less literally from the "How to Migrate to WebMake" section of the
documentation. The full text of index.wmk follows:
<webmake>
<content name=page_template>
<html>
<head>
<title>$[this.title]</title>
</head>
<body>
<h1>$[this.title]</h1>
<hr />
${page_text}
<hr />
</body>
</html>
</content>
<content name="document1.txt">
<wmmeta name="title">Your title here</wmmeta>
<p>
Your content here.
</p>
</content>
<content name=out_helper>
<{set page_text="${${WebMake.OutName}.txt}" }>
${page_template}
</content>
<out name="document1" file="document1.html">${out_helper}</out>
</webmake>
(index.wmk ends)
If I understand correctly, the above should produce one file,
document1.html, output to the working directory.
I am using WebMake 2.3 from the Windows ppm downloaded from the WebMake
site. My perl is ActivePerl 5.6, but don't think I know anything about
perl: I installed it specifically for WebMake. All is running on Windows
2000 (a management decision, not my preference.) I have invoked WebMake
as both normal user and from the administrative account with identical
results, so it's not a permissions problem.
What things should I be looking at to correct this problem?
--
Warren Post, Voluntario Naciones Unidas
Departamento de Informática
Municipalidad de Santa Rosa de Copán, Honduras
http://santarosahistorica.net/
More information about the Webmake-talk
mailing list