- From: David Tibbe via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Mar 2007 07:12:33 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/docs In directory hutz:/tmp/cvs-serv7469 Modified Files: Tag: validator-0_7-branch install_win.html Log Message: sgml-lib path minor fixes Index: install_win.html =================================================================== RCS file: /sources/public/validator/htdocs/docs/install_win.html,v retrieving revision 1.3.2.3 retrieving revision 1.3.2.4 diff -u -d -r1.3.2.3 -r1.3.2.4 --- install_win.html 25 Sep 2006 16:58:39 -0000 1.3.2.3 +++ install_win.html 14 Mar 2007 07:12:31 -0000 1.3.2.4 @@ -54,12 +54,8 @@ <p>At the back-end of the validator is an <acronym title="Structured Generalized Markup Language">SGML</acronym>-parser, named OpenSP. The validator needs version 1.5 or above. Its source are available at SourceForge - (<a href="http://www.sourceforge.net/projects/opensp/">http://www.sourceforge.net/projects/opensp/</a>) - but compiling them on Windows can be problematic. Some time ago, - Björn Höhrmann succeeded in compiling them and made the - binaries available (<a href="http://bjoern.hoehrmann.de/ports/OpenSP-1.5.1-win32-bin.zip">http://bjoern.hoehrmann.de/ports/OpenSP-1.5.1-win32-bin.zip</a>, - ~600KB). You can use them, but it is recommended to have a look at the - OpenSP-Project page for newer binaries.</p> + (<a href="http://www.sourceforge.net/projects/openjade/">http://www.sourceforge.net/projects/openjade/</a>), + a binary version of OpenSP 1.5.2 is available, too.</p> <p>The validator relies on a number of Perl libraries, or "modules". At <a href="http://ppm.activestate.com/">Active State</a>, @@ -90,7 +86,7 @@ <p>One suggested method is to have a directory <code>C:\www</code> in which all programs concerning the Web server are located (in subfolders, obviously). For instance, Apache is installed in <code>C:\www\Apache2</code>, Perl in <code>C:\www\perl</code>, the perl modules unzipped in <code>C:\www\pmm</code>, OpenSP in <code>C:\www\opensp</code>, the validator itself -in <code>C:\www\validator</code> and finally the DTD-Collection in <code>C:\www\validator\htdocs\sgml-lib</code></p> +in <code>C:\www\validator</code> and finally the DTD-Collection in <code>C:\www\sgml-lib</code></p> <p>The rest of this guide will assume that these paths are being used. If you want to use another directory structure, you will have to adapt the instructions and sample configuration to your @@ -437,7 +433,14 @@ <p>This is the path to the Perl interpreter, up to now in Unix-style. So it has to be changed to Windows-style. The parameter <code>-T</code> is replaced by that, too.</p> -<p>In a next step, the script is told where to find the +<p>For some configurations, the check-skript needs to know where + its root directory is. It tries to read it from the environment + variable W3C_VALIDATOR_HOME and uses a default directory if it is + not set. That is done within the line:</p> +<pre> my $base_path = $ENV{W3C_VALIDATOR_HOME} || '/usr/local/validator';</pre> +<p>So we change that line fixed to our path:</p> +<pre>> my $base_path = 'C:/www/validator'</pre>. +<p>In the following lines the script is told where to find the configuration file. That is done after the comment in these lines</p> <pre> #
Received on Wednesday, 14 March 2007 07:12:48 UTC