INSTALL
author alpar
Fri, 14 Jul 2006 10:50:05 +0000
changeset 2138 a683f63b54e2
parent 730 af375858f17c
child 2139 582c8c28aa01
permissions -rw-r--r--
glemon is in a separate repository.
ladanyi@2131
     1
Installation Instructions
ladanyi@2131
     2
=========================
alpar@730
     3
ladanyi@2131
     4
   Since you are reading this I assume you already obtained one of the release
ladanyi@2131
     5
tarballs and successfully extracted it. The latest version of LEMON is
ladanyi@2131
     6
available at our webpage (http://lemon.cs.elte.hu/).
alpar@730
     7
ladanyi@2131
     8
   In order to install LEMON from the extracted source tarball you have to
ladanyi@2131
     9
issue the following commands:
alpar@730
    10
ladanyi@2131
    11
  1. `cd lemon-x.y.z'
alpar@730
    12
ladanyi@2131
    13
     This changes to the directory which was created when you extracted the
ladanyi@2131
    14
     sources. The x.y.z part is a version number.
alpar@730
    15
ladanyi@2131
    16
  2. `./configure'
alpar@730
    17
ladanyi@2131
    18
     This runs the configure shell script, which does some checks and
ladanyi@2131
    19
     configuration (creates makefiles etc).
alpar@730
    20
ladanyi@2131
    21
  3. `make'
alpar@730
    22
ladanyi@2131
    23
     This command compiles the non-template part of LEMON into libemon.a file.
ladanyi@2131
    24
     It also compiles the benchmark and demo programs when enabled.
alpar@730
    25
ladanyi@2131
    26
  4. `make check'
alpar@730
    27
ladanyi@2131
    28
     This step is optional, but recommended. It runs the test programs that we
ladanyi@2131
    29
     developed for LEMON to check whether the library works properly on your
ladanyi@2131
    30
     platform.
alpar@730
    31
ladanyi@2131
    32
  5. `make install'
alpar@730
    33
ladanyi@2131
    34
     This command installs LEMON under /usr/local (you will need root
ladanyi@2131
    35
     privileges to be able to do that). If you want to install it to some
ladanyi@2131
    36
     other location, then pass the --prefix=DIRECTORY flag to configure in
ladanyi@2131
    37
     step 1. For example: `./configure --prefix=/home/username/lemon'
alpar@730
    38
alpar@730
    39
ladanyi@2131
    40
Configure Flags
ladanyi@2131
    41
===============
alpar@730
    42
ladanyi@2131
    43
   You can pass the following flags to configure in step 1 (see ./configure
ladanyi@2131
    44
--help for more):
alpar@730
    45
ladanyi@2131
    46
   --with-glpk[=PREFIX]
alpar@730
    47
ladanyi@2131
    48
   Enable GLPK support (default). You should specify the prefix too if you
ladanyi@2131
    49
installed GLPK to some non-standard location (e.g. your home directory). If it
ladanyi@2131
    50
is not found, GLPK support will be disabled.
alpar@730
    51
ladanyi@2131
    52
   --with-glpk-includedir=DIR
alpar@730
    53
ladanyi@2131
    54
   The directory where the GLPK header files are located. This is only useful
ladanyi@2131
    55
when the GLPK headers and libraries are not under the same prefix (which is
ladanyi@2131
    56
unlikely).
alpar@730
    57
ladanyi@2131
    58
   --with-glpk-libdir=DIR
alpar@730
    59
ladanyi@2131
    60
   The directory where the GLPK libraries are located. This is only useful
ladanyi@2131
    61
when the GLPK headers and libraries are not under the same prefix (which is
ladanyi@2131
    62
unlikely).
alpar@730
    63
ladanyi@2131
    64
   --without-glpk
alpar@730
    65
ladanyi@2131
    66
   Disable GLPK support.
alpar@730
    67
ladanyi@2131
    68
   --with-cplex[=PREFIX]
alpar@730
    69
ladanyi@2131
    70
   Enable CPLEX support (default). You should specify the prefix too if you
ladanyi@2131
    71
installed CPLEX to some non-standard location (e.g. /opt/ilog/cplex75). If it
ladanyi@2131
    72
is not found, CPLEX support will be disabled.
alpar@730
    73
ladanyi@2131
    74
   --with-cplex-includedir=DIR
alpar@730
    75
ladanyi@2131
    76
   The directory where the CPLEX header files are located. This is only useful
ladanyi@2131
    77
when the CPLEX headers and libraries are not under the same prefix (e.g.
ladanyi@2131
    78
/usr/local/cplex/cplex75/include).
alpar@730
    79
ladanyi@2131
    80
   --with-cplex-libdir=DIR
alpar@730
    81
ladanyi@2131
    82
   The directory where the CPLEX libraries are located. This is only useful
ladanyi@2131
    83
when the CPLEX headers and libraries are not under the same prefix (e.g.
ladanyi@2131
    84
/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt).
alpar@730
    85
ladanyi@2131
    86
   --without-cplex
alpar@730
    87
ladanyi@2131
    88
   Disable CPLEX support.
alpar@730
    89
ladanyi@2131
    90
   --enable-demo
alpar@730
    91
ladanyi@2131
    92
   Build the demo programs too.
alpar@730
    93
ladanyi@2131
    94
   --disable-demo
alpar@730
    95
ladanyi@2131
    96
   Do not build the demo programs (default).
alpar@730
    97
ladanyi@2131
    98
   --enable-benchmark
alpar@730
    99
ladanyi@2131
   100
   Build the benchmark programs too.
alpar@730
   101
ladanyi@2131
   102
   --disable-benchmark
alpar@730
   103
ladanyi@2131
   104
   Do not build the benchmark programs (default).