| 47 | |
| 48 | Here is the manual way to go: If you install Ariba locally and have the required libraries also installed locally, you can use a {{{config.site}}} script to make it easier. The {{{config.site}}} file must reside in a folder called {{{share}}}. If your install path is {{{/home/foo/local}}} and you do a {{{./configure --prefix=/home/foo/local}}}, ariba headers will be installed in {{{/home/foo/local/include}}}, and the ariba library in {{{/home/foo/local/lib}}}. To use a {{{config.site}}} script, create a folder {{{/home/foo/local/share}}} and create a file {{{config.site}}}. Such a file has paths towards required header files and libraries. |
| 49 | |
| 50 | {{{ |
| 51 | with_boost=/home/foo/Libraries/include |
| 52 | test -z "$CPPFLAGS" && CPPFLAGS='-I/home/foo/Libraries/include' |
| 53 | test -z "$LDFLAGS" && LDFLAGS='-L/home/foo/Libraries/lib' |
| 54 | }}} |
| 55 | |
| 56 | If you now do a {{{./configure --prefix=/home/foo/local}}}, the {{{config.site}}} will be found and the paths therein used for finding libraries. If you e.g. have multiple libraries distributed in their own include folders, you can also have multiple includes: |
| 57 | |
| 58 | {{{ |
| 59 | test -z "$CPPFLAGS" && CPPFLAGS='-I/home/foo/Libraries/include -I/home/foo/otherlibrary/include' |
| 60 | }}} |