Depending on how you get libease, there are two diferent installation methods. With the version checked out from the subversion repository, you will need to have the automake tools installed. With the tar.gz file from sourceforge or from freashmeat, this has already been done for you.
As most people that are less savvy tend to stick to Ubuntu, I will describe the installation methods for Ubuntu. Please bare this in mind and change commands to match your environment.
- If you downloaded the tar.gz version, skip to section 2.
sudo apt-get install automake libtool build-essentialgit clone https://github.com/garysb/libease.git- Change into the root directory of libease (contains configure.ac)
libtoolize(glibtoolize in OSX) This generates the lt-main.sh script for libtool.aclocalThis generates your aclocal.m4 file.autoheaderThis generates the src/config.h.in template file.automake --add-missingThis generates all the scripts for autoconf.autoconfThis generates your configure script to compile libease.
- If you downloaded the subversion version, skip to section 3.
sudo apt-get install build-essentialcd /tmpChange to temp directory. (Should be /usr/src but need to be root for that)wget http://downloads.sourceforge.net/project/libease/libease/libease-0.0.6/libease-0.0.6.tar.bz2tar -jxf libease-0.0.6.tar.bz2Extract the contents (-j: bzip2 -x: extract -f: file)cd libease-0.0.6Change into the libease source directory.
./configure --helpCheck which options you need. I use --prefix=/usr./configure <OPTIONS>configure libease with your options.makeBuilds libease source into a binary file.sudo make installInstalls libease, the header, and the man file.sudo ldconfigUpdates the dynamic library listing in your computer.