| 44 | | To install the library you need to do the following: |
|---|
| 45 | | |
|---|
| 46 | | 1. Install the Tools library (download from |
|---|
| 47 | | http://cs-people.bu.edu/marioh/tools). |
|---|
| 48 | | |
|---|
| 49 | | 2. If the Tools library is not installed in |
|---|
| 50 | | the default path, then use the LDFLAGS and |
|---|
| 51 | | CPPFLAGS environment variables to direct |
|---|
| 52 | | the configure script to the right path, e.g.: |
|---|
| 53 | | export LDFLAGS="-L/home/marioh/usr/lib" |
|---|
| 54 | | export CPPFLAGS="-I/home/marioh/usr/include" |
|---|
| 55 | | |
|---|
| 56 | | 3. Set the CXXFLAGS environment variable to |
|---|
| 57 | | your preferred settings, for example: |
|---|
| 58 | | export CXXFLAGS="-O2" |
|---|
| 59 | | export CXXFLAGS="-Wall -g" |
|---|
| 60 | | The default flags are "-g -O2" or "-g", depending |
|---|
| 61 | | on your system. |
|---|
| 62 | | |
|---|
| 63 | | 4. Run: |
|---|
| 64 | | ./configure |
|---|
| 65 | | By default include files and library files |
|---|
| 66 | | will be installed in /usr/local. If you would |
|---|
| 67 | | like to use a different installation directory |
|---|
| 68 | | (e.g., in case that you do not have root access) |
|---|
| 69 | | run the configure script with the --prefix option: |
|---|
| | 44 | By default include files and library files will be installed in /usr/local. If |
|---|
| | 45 | you would like to use a different installation directory (e.g., in case |
|---|
| | 46 | that you do not have root access) run the configure script with |
|---|
| | 47 | the --prefix option:: |
|---|
| | 48 | |
|---|