IRRToolSet Installation Guide
- Prerequisite Tools
The IRRToolSet requires a number of GNU tools to build, including make, gcc, flex, bison and libtool.
- Getting the Source
Releases can be found on the FTP site:
The latest IRRToolSet source can also be checked out from the Subversion repository:
svn co svn://irrtoolset.isc.org/
This will take several minutes to download. If you do not want all previous versions, you can download only the latest version by checking out the trunk:
svn co svn://irrtoolset.isc.org/trunk
- Building
The usual compilation steps should work:
./configure make make install
Platform Specific Notes
irrtoolset was developed using libtool 2.2.6. If your system has libtool 1.5.6, then irrtoolset will work fine with the following commands:
% svn co svn://irrtoolset.isc.org/trunk ... % cd trunk % libtoolize % mkdir m4 % cp /usr/local/share/aclocal/libtool.m4 m4/ % autoreconf -i % ./configure % make
Your local copy of libtool.m4 may not be in /usr/local/share/aclocal, so you might have to poke around your system with locate or find to figure out where it is.
Mac OS X
If you're developing on a Mac, then you need to use glibtoolize instead of libtoolize, assuming you have the macports tools installed.
Debian Lenny
You may want to install the libreadline5-dev package in order to get support for command-line editing.
Solaris
irrtoolset compiles correctly when using OpenCSW tools. You'll need to change your shell PATH variable to select the correct GCC version in /opt/csw; otherwise, both GCC and GNU ld will get very confused.
If you're using gcc4, then you will need to issue the following commands before running configure:
$ export CXXFLAGS=-R/opt/csw/gcc4/lib $ export CFLAGS=-R/opt/csw/gcc4/lib
