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