Install LEMUR on Unix

After downloading the Unix LEMUR package (lemur-unix.tar.gz), following the following steps to install it:
  1. Unpack the source

  2. On the command line, type in the following commands to unpack the package. This should create a directory called "lemur".

    >gunzip lemur-unix.tar.gz 
    > tar -xvf lemur-unix.tar
    
  3. Configure the makefiles
  4. Go to directory "lemur" and type in "./configure". This will generate a file named "MakeDefns", which has some customized definitions to be used in makefiles.

    lemur>./configure
    
  5. Compile LEMUR
  6. With directory "lemur" as the current working directory, type in "make" or "gmake". This will compile the whole LEMUR toolkit and link all the LEMUR applications.

    lemur> make 
    
  7. Installation
  8. First, set the environment variable LEMUR_INSTALL_PATH to where you would like to install LEMUR. The default directory for installation is the root "/".

    Then, with directory "lemur" as the current working directory, type in "make install" or "gmake install". This will install the LEMUR library and include files according to the directory specified by the environment variable "LEMUR_INSTALL_PATH". The library will be in LEMUR_INSTALL_PATH/lemur/lib/lemur.a and all the include files will be in LEMUR_INSTALL_PATH/lemur/include.

    For example, with C-shell,

    lemur> setenv LEMUR_INSTALL_PATH /usr0/mydir-for-lemur
    lemur> make install
    
    will create "/usr0/mydir-for-lemur/lemur/lib/lemur.a" and a bunch of ".hpp" (C++ header files) in "/usr0/mydir-for-lemur/lemur/include/".