Skip to content
sdressler edited this page Jul 9, 2012 · 4 revisions

You are here: Home -> Installation


EPerF uses configure and make for installation process. make install is currently available but not fully supported by configure.

Prerequisites

Please ensure, that

  • A C++ compiler exists on your system
  • You have current versions of Berkeley DB with db_cxx.h header and OpenSSL
  • A C compiler exists if you want to build the C API
  • A C and a FORTRAN compiler exists if you want to build the FORTRAN API (which uses the C interface)

Step 1: Configuration

By typing configure one is able to decide how EPerF is built. Currently configure allows to disable the C as well as the FORTRAN interface. Please note, that the C interface is required to build to FORTRAN interface. Thus, disabling the FORTRAN API without disabling the C API produces an error message. Both, the C and the FORTRAN API, are enabled by default, if an appropriate compiler exists (otherwise you'll get an error message).

The following options can be provided to configure:

--disable-c-api
--disable-fortran-api

Please note that all other options like setting the prefix path are currently not supported by the build / installation process (but it will be supported within the near future).

Step 2: Build process

After the configure step is done you can build EPerF by simply typing make. Without further options make builds the library and the examples. To build the documentation cd to the doc directory and type make. Doxygen is required to build the API documentation.

Step 3: Installation to destination

You can type make install to copy the library as well as the header files to /usr/lib and /usr/include/EPerF respectively. Note again, that any prefix set by configure is currently not supported.

Clone this wiki locally