<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Install from sources</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>Recent changes to Install from sources</description><atom:link href="https://sourceforge.net/p/libpniutils/wiki/Install%20from%20sources/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 06 Mar 2012 12:30:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libpniutils/wiki/Install%20from%20sources/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -36,7 +36,16 @@
 
     $&gt; scons PREFIX=/opt/pniutils install
 
-will install everything below `/opt/pniutils`. 
+will install everything below `/opt/pniutils` where the libraries go under `/opt/pniutils/lib`, the headers to `/opt/pniutils/include`, and the documentation to `/opt/pniutils/share/doc/libpniutils-doc`. Usually this should give you enough control over your installation. However, in some cases this is not enough and you want to tell scons the individual directories where to install the software. For this purpose three environment variables that can be passed to scons during build and/or installation
+
+* `LIBDIR` - tells scons where to install libraries
+* `DOCDIR` - where to install documentation
+* `INCDIR` - where to install header files
+
+If you use one of these build variables its value overrides the installation path that would be defined by prefix. So for instance if you use
+
+    $&gt; scons PREFIX=/usr/local LIBDIR=/usr/local/lib64 install
+Libraries will go to `/usr/local/lib64` and not `/usr/local/lib` as they would have done using only `PREFIX`.
 
 ## Building on Windows ##
 Not done yet.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Tue, 06 Mar 2012 12:30:05 -0000</pubDate><guid>https://sourceforge.nete05038b35bf55ce744438a6b2ba9d018fd11cbbd</guid></item><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -20,5 +20,23 @@
 
 ## Building on Linux ##
 
+Once all dependencies (see above) are satisfied one can start with the build. To simply build the code run 
+
+    $&gt;scons
+
+in the root directory of the source tree. If BOOST is not installed in one of the standard locations you can add the prefix of you BOOST installation with
+
+    $&gt;scons BOOSTPREFIX=/opt/boost
+
+To install the code use 
+
+    $&gt; scons install
+
+Which will try to install the library along with its development files and documentation below the default installation prefix which is `/usr` on Linux systems. Clearly you need administrative permissions to install software at this location (in other words: you must be root). If you want to install the library to a different location the `PREFIX` build variable can be used. For instance 
+
+    $&gt; scons PREFIX=/opt/pniutils install
+
+will install everything below `/opt/pniutils`. 
+
 ## Building on Windows ##
 Not done yet.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Thu, 15 Dec 2011 14:55:55 -0000</pubDate><guid>https://sourceforge.net3fb1655730655125e6ddfddfb97d553f4a712933</guid></item><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -16,8 +16,7 @@
 * [CPPUNIT]( https://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page)- a C++ unit test framework
 * python developement files - you need this to build the python code
 
-If you are a Linux user you are most probably on the lucky side since most of these programs are included in the package library of modern Linux distributions. 
-For Windows the situation is more difficult. Windows users may lookup the installation procedure for all of the required tools and libraries on the project sites of the software.
+If you are a Linux user you are most probably on the lucky side since most of these programs are included in the package library of modern Linux distributions. For Windows the situation is more difficult. Windows users may lookup the installation procedure for all of the required tools and libraries on the project sites of the software.
 
 ## Building on Linux ##
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Thu, 15 Dec 2011 14:46:14 -0000</pubDate><guid>https://sourceforge.net4a02225d224532485bc258096fcdcc9434fe4c1e</guid></item><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -5,14 +5,14 @@
 To build the source distribution some programs must be installed
 
 * [SCons](http://www.scons.org) - the primary build tool
-* [doxygen](www.doxygen.org) - used for generating the API documentation
+* [doxygen](http://www.doxygen.org) - used for generating the API documentation
 * pdflatex - use for generating the users and administrators guide (in most cases if should be enough if you have a working Latex distribution installed on your system)
-* [graphviz](www.graphviz.org) - required by doxygen
-* [python](www.python.org)   - required by SCons
+* [graphviz](http://www.graphviz.org) - required by doxygen
+* [python](http://www.python.org)   - required by SCons
 
 In addition to this programs a couple of libraries are needed
 
-* [BOOST](www.boost.org) - from which shared pointers, static asserts, and numeric conversion is taken
+* [BOOST](http://www.boost.org) - from which shared pointers, static asserts, and numeric conversion is taken
 * [CPPUNIT]( https://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page)- a C++ unit test framework
 * python developement files - you need this to build the python code
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Thu, 15 Dec 2011 14:42:44 -0000</pubDate><guid>https://sourceforge.net40b79c01b9d5817eb82ef2b309f8348d1b473319</guid></item><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -4,7 +4,7 @@
 
 To build the source distribution some programs must be installed
 
-* [SCons](www.scons.org) - the primary build tool
+* [SCons](http://www.scons.org) - the primary build tool
 * [doxygen](www.doxygen.org) - used for generating the API documentation
 * pdflatex - use for generating the users and administrators guide (in most cases if should be enough if you have a working Latex distribution installed on your system)
 * [graphviz](www.graphviz.org) - required by doxygen
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Thu, 15 Dec 2011 14:42:06 -0000</pubDate><guid>https://sourceforge.net7fd281241d09c64af25843aee0b3cc9a5ae3f6f9</guid></item><item><title>WikiPage Install from sources modified by Eugen Wintersberger</title><link>https://sourceforge.net/p/libpniutils/wiki/Install%2520from%2520sources/</link><description>Installing software from the plain source code can be a quite tedious job. So if you are a  normal user and have never compiled a program from its source code by yourself you are maybe on the wrong page. 

## Requirements ##

To build the source distribution some programs must be installed

* [SCons](www.scons.org) - the primary build tool
* [doxygen](www.doxygen.org) - used for generating the API documentation
* pdflatex - use for generating the users and administrators guide (in most cases if should be enough if you have a working Latex distribution installed on your system)
* [graphviz](www.graphviz.org) - required by doxygen
* [python](www.python.org)   - required by SCons

In addition to this programs a couple of libraries are needed

* [BOOST](www.boost.org) - from which shared pointers, static asserts, and numeric conversion is taken
* [CPPUNIT]( https://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page)- a C++ unit test framework
* python developement files - you need this to build the python code

If you are a Linux user you are most probably on the lucky side since most of these programs are included in the package library of modern Linux distributions. 
For Windows the situation is more difficult. Windows users may lookup the installation procedure for all of the required tools and libraries on the project sites of the software.

## Building on Linux ##

## Building on Windows ##
Not done yet.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eugen Wintersberger</dc:creator><pubDate>Thu, 15 Dec 2011 14:40:08 -0000</pubDate><guid>https://sourceforge.nete1219bb5844234bcf956fb0131fa230b2184bfdb</guid></item></channel></rss>