From 16241a7e785d7f94f6dcfd0c08ed87395a5df837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Mr=C3=A1zek?=
Date: Sat, 24 Dec 2011 14:44:14 +0100
Subject: [PATCH] Update compile doc with the perl and XML::LibXML dependency.
---
COMPILE.rst | 10 +++++++++-
Compile.html | 8 +++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/COMPILE.rst b/COMPILE.rst
index 68e6a2175..ab6debd78 100644
--- a/COMPILE.rst
+++ b/COMPILE.rst
@@ -19,6 +19,9 @@ a 64-bit distribution like Arch, you'll need the multilib development tools and
Before you can build anything, you'll also need ``cmake``. It is advisable to also get
``ccmake`` on distributions that split the cmake package into multiple parts.
+For the code generation parts, you need perl and the XML::LibXML perl package.
+You should be able to find them in your distro repositories (on Arch linux 'perl-xml-libxml').
+
Build
=====
Building is fairly straightforward. Enter the ``build`` folder and start the build like this::
@@ -51,9 +54,14 @@ site: http://www.cmake.org/cmake/resources/software.html
It has the usual installer wizard. Make sure you let it add its binary folder
to your binary search PATH so the tool can be later run from anywhere.
-You'll also need a copy of Microsoft Visual C++ 2010. The Express version is sufficient.
+You'll need a copy of Microsoft Visual C++ 2010. The Express version is sufficient.
Grab it from Microsoft's site.
+For the code generation parts, you'll need perl and XML::LibXML. You can install them like this:
+* download and install strawberry perl from http://strawberryperl.com/
+* reboot so that the system can pick up the new binary path
+* open a cmd.exe window and run "cpan XML::LibXML" (obviously without the quotes). This can take a while to complete.
+
Build
=====
Open the ``build`` folder and double click the batch script there. This will eventually open
diff --git a/Compile.html b/Compile.html
index ec01686eb..95847f4f4 100644
--- a/Compile.html
+++ b/Compile.html
@@ -351,6 +351,8 @@ ul.auto-toc {
a 64-bit distribution like Arch, you'll need the multilib development tools and libraries.
Before you can build anything, you'll also need cmake. It is advisable to also get
ccmake on distributions that split the cmake package into multiple parts.
+For the code generation parts, you need perl and the XML::LibXML perl package.
+You should be able to find them in your distro repositories (on Arch linux 'perl-xml-libxml').
@@ -380,8 +382,12 @@ program.
site:
http://www.cmake.org/cmake/resources/software.html
It has the usual installer wizard. Make sure you let it add its binary folder
to your binary search PATH so the tool can be later run from anywhere.
-
You'll also need a copy of Microsoft Visual C++ 2010. The Express version is sufficient.
+
You'll need a copy of Microsoft Visual C++ 2010. The Express version is sufficient.
Grab it from Microsoft's site.
+
For the code generation parts, you'll need perl and XML::LibXML. You can install them like this:
+* download and install strawberry perl from http://strawberryperl.com/
+* reboot so that the system can pick up the new binary path
+* open a cmd.exe window and run "cpan XML::LibXML" (obviously without the quotes). This can take a while to complete.
Open the build folder and double click the batch script there. This will eventually open