Building from sources

Standard instruction to use git and autotools to build netembryo, feng, libnemesi, felix.

Accessing the live sources

Our current scm is git, you may access it using the web interface or it's native client. A simple tutorial is available on the website. Every repository is named as the program with a “.git” postponed, e.g. the feng repository is feng.git To fetch the sources the first time is enough to issue

git clone git://git.lscube.org/feng.git

in order to create the repository with the already checked out source. To update the local cloned repository is sufficent to enter the directory and issue

git pull

Gitweb provides also useful autosnapshots in case git isn't available.

Using autotools

All our projects are using GNU autotools. You should install at least automake 1.8.x autoconf 2.5× and libtool 1.5.x (on Debian based distributions install autoconf, automake and libltdl3-dev packages). The following code will generate the correct Makefiles

cd ${project}
autoreconf -v -i

Install dependencies

Some of our projects have external dependencies/recommendations. Look at the INSTALL file provided with the source code.

Compiling

./configure ${options}
make
make install

Will build and install the project.

Summary

To sum up the operations the following lines will install any project from LScube, please refer to the README and INSTALL files to have informations about the project specific dependences.

git clone git://git.lscube.org/${projectname}.git
cd ${projectname}
autoreconf -v -i
./configure
make
su -c make install

Distribution specific instructions

Currently there are live git ebuild for gentoo available here