This page describes 3 different methods:
The instructions on this page describe how you compile the frePPLe source code into binaries. After compilation you need to return to the installation and configuration steps outlined on the previous page.
This section describes the generic steps you need to build frePPLe from the source code. FrePPLe uses a very standard build process, based on the automake suite.
Download the source code from http://sourceforge.net/projects/frepple/files/
If you want to use source code directly from the github repository, you’ll need to replace this step with the instructions from the following section.
Update your system with the development software packages.
Configure the build with the following command:
./configure –sysconfdir=/etc
You can use the option ‘–help’ to see the list of available options.
The sysconfdir option is required to make sure the configuration files are always available under /etc, even when the package is compiled with a prefix such as /usr/local.
Compile the source code:
make all
Run the test suite:
make check
Not all tests are currently passing, so you shouldn’t be worried about a couple of failures.
Install the files:
make install
Free the disk space used during the build and test phases.
make clean
To work with the source code directly from the github repository you will need the following steps to replace the first point in the section above.
Update your machine with the following packages
Pick up the latest code from the repository with the command:
git clone https://github.com/frePPLe/frePPLe.git <project_directory>
Initialize the automake/autoconf/libtool scripts:
cd <project_directory>
make -f Makefile.dist prep
Now the configure script is up to date and you can follow the same steps as in the section above.
To sync your environment with the latest changes from the repository:
cd <project_directory>
git pull
The steps to work with such packages are standard:
Install the django package as described on the previous page.
Install the dpkg-dev package and all prerequisite packages for frepple:
apt-get install dpkg-dev debhelper cdbs autotools-dev python-dev libxerces-c-dev libtool python-sphinx
Build the source directory.
Expand all files listed in the .dsc file.
Build the package in the source directory.
dpkg-buildpackage -B
The steps to work with such packages are standard:
Install the django package as described on the previous page.
Install the rpmbuild package:
yum install rpmbuild
Create a build directory structure:
rpmdev-setuptree
Install the source RPM file:
This will create files in the SOURCES directory of your RPM building directory tree, and a .spec file in the SPECS directory.
rpm -i frepple-2.0-1.src.rpm
Build the RPM:
Go the SPECS directory and give the command to build the RPM:
cd /home/your_userid/rpm/SPECS
rpmbuild -bb frepple.spec