[PATCH v2][WEB] Build Instructions: Move information about environment to beginning

cdahlin at redhat.com cdahlin at redhat.com
Wed Feb 2 00:59:50 PST 2011

From: Casey Dahlin <cdahlin at redhat.com>

The build instructions don't mention that setting various environment variables
is necessary for Wayland and its dependencies to link properly until the very
end of the document, after all of the actual instructions. This is a bit
confusing to anyone who doesn't build into strange paths regularly.

 As mentioned, there was a typo in the previous version.

 building.html |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/building.html b/building.html
index c41e01e..12f2de0 100644
--- a/building.html
+++ b/building.html
@@ -21,6 +21,20 @@ below, but you can use your favorite directory of course or install
 over your system copy (pass --prefix=/usr --sysconfdir=/etc,
+<h2>Setting up the environment</h2>
+<p>If you want to install in $HOME/install (or another location that won't
+interfere with the rest of your system) you'll need to set the following
+environment variables to get various libraries to link appropriately:</p>
+ACLOCAL="aclocal -I $HOME/install/share/aclocal"
+<p>Do not set that LD_LIBRARY_PATH as your default, it will break things.</p>
 <p>At this point, kernel modesetting is upstream for Intel, AMD and
@@ -164,18 +178,6 @@ protocol: </p>
-<p>To get various libraries to link appropriately while they're
-installed in $HOME/install you will need the following environment
-variables set:</p>
-ACLOCAL="aclocal -I $HOME/install/share/aclocal"
-<p>Do not set that LD_LIBRARY_PATH as your default, it will break things.</p>
 <p>Environment variables which will get you more debugging output:</p>

More information about the wayland-devel mailing list